2022-02-06 11:57 PM
I've flash erase problem after reset.
My source code routine like this:
1) Boot code start at address 0x08000000
2) Than read eeprom value if eeprom value is User value
3) And jump user application. ( To 0x080A0000)
4) After the successfuly jumping, I get new firmware updte request and write to eeprom value to BOOT and reset the device
5) Than Boot Code start again at 0x08000000 address and if eeprom value BOOT than erase the User App Area address( 0x080A0000).
But in the 5th step, 0x080A0000 address couldnt erase although any erase fault flag return.
I tried without jump the User code, I try to erase 0x080A0000 area in 1st step I could erase successfuly. But If I jump User App and reset the device I coudnt erase 0x080A0000 address. What is the reason for this problem and how can I solve this ?
(stm32f429)
2022-02-07 06:18 AM
Look at the error flags returned and debug accordingly. The chip doesn’t care which part of the code you’re erasing from, must be another explanation. Show the code you’re using to erase.
2022-02-07 06:37 AM
RAM retains content across a reset... just saying
2022-02-08 10:08 PM
When I use the NVIC_SystemReset() function Is ram retains content ?
2022-02-08 11:22 PM
2022-02-08 11:31 PM
Hi. What program do you use to slice?