cancel
Showing results for 
Search instead for 
Did you mean: 

Nothing has been done with the flash content of the stm32f407, but its content has changed.

LucyLiu
Associate II

Hi, I'm Lucy. I've come across a difficulty that I can't solve. I was hoping you could help me see what the problem is.

One of my programs uses IAP. The APP program starts at 0x8020000. After the APP program worked properly for a while, the APP program would not run. So I read the content of the non-running FLASH and compared it with the content of the normal running FLASH. I checked the code and there is no operation of FLSH, what else could cause this?

 

LucyLiu_1-1737594100507.png

Edit: This post has been translated from Chinese to comply with the ST Community guidelines.

7 REPLIES 7
Uwe Bonnes
Principal III

Change happened from some bits still unprogramm to all bits programmed(0x00). The only reason I can think of is some part of the program running amoc. Radiation, extrem high temperature and similar will make the bit cells loose charge ans return to the unprogrammed state (0xff).
Look first for the probable cause!

Thank you very much for your reply. Could you please explain "amoc" to me?


@LucyLiu wrote:

I checked the code and there is no operation of FLSH, .


But you said the code does IAP - how can it do that without any Flash operations?

Also, does it emulate EEPROM in Flash?

Sorry, I didn't make myself clear. When I say no operation on FLASH, I mean no operation after the code works properly.

Thanks for answering.

Have you disabled download in your debug configuration?
If you start a debug session the debugger will reflash the target unless you uncheck download.

Kudo posts if you have the same problem and kudo replies if the solution works.
Click "Accept as Solution" if a reply solved your problem. If no solution was posted please answer with your own.