Nothing has been done with the flash content of the stm32f407, but its content has changed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-01-22 5: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.
- Labels:
-
STM32F4 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-01-23 2:11 AM - edited ‎2025-01-23 2: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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-01-23 4:58 PM
Thank you very much for your reply. Could you please explain "amoc" to me?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-01-23 6:07 PM
https://dictionary.cambridge.org/dictionary/english/run-amok
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-01-23 6: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?
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-01-23 6: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-01-23 6:29 PM
Thanks for answering.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-01-24 2:21 AM - edited ‎2025-01-24 2: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.
Click "Accept as Solution" if a reply solved your problem. If no solution was posted please answer with your own.
