2025-01-22 05:03 PM - last edited on 2025-01-22 11:30 PM by Imen.D
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?
Edit: This post has been translated from Chinese to comply with the ST Community guidelines.
2025-01-23 02:11 AM - edited 2025-01-23 02:15 AM
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!
2025-01-23 04:58 PM
Thank you very much for your reply. Could you please explain "amoc" to me?
2025-01-23 06:07 PM
2025-01-23 06:10 PM
@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?
2025-01-23 06:29 PM
Sorry, I didn't make myself clear. When I say no operation on FLASH, I mean no operation after the code works properly.
2025-01-23 06:29 PM
Thanks for answering.
2025-01-24 02:21 AM - edited 2025-01-24 02:21 AM
Have you disabled download in your debug configuration?
If you start a debug session the debugger will reflash the target unless you uncheck download.