Either cant erase external flash or can but then fails when programming
- May 2, 2023
- 3 replies
- 3448 views
I am using 70STM32H7 board and STM32H_IPS_QSPI_Loader_CM7 external loader.
I can program from the IDE but that doesnt affect images in external memory. So I tried programming from the programmer and it fails to write to external memory. Then I tried to delete the sectors manually and I can't understand how or why but that sometimes works and sometimes doesn't. Even when it does work, trying to program it afterwards results in an error again, even if I uncheck the option to erase sectors before writing.
nwrp0 -15 are all checked which sounds like they are not write protected but I have no idea if that is the correct thing to check.
btw when we did the initial test we managed to program ext flash correctly as all images were displayed nicely. I then started working on the actual project and when it was time to try it I saw this problem. I went back to the test project and could not make that one work either so I have no idea what could have changed in meantime or what I did differently.
