STM32H743 runs in debug mode only
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-01-27 7:40 AM
Hi, I have several boards with same issue. After weeks of tests when flashing boards using STLink suddenly the micro is not running except in SWD debug mode. Flash is properly programmed but the micro is not running. A complete flash erase (all sectors) is not able to recover the board. Even If I program microcontroller with same fw of a running board it doesn't work. once "stoned" the micro runs in debug mode only. I use internal HSI as clock source.
Hany suggestion to solve the matter? Thanks Denis
- Labels:
-
DEBUG
-
STM32H7 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-01-27 7:49 PM
Is boot0 pulled low?
What happens if you run the board, then start a debug session without resetting it? Where is the code execution?
How do you know it’s not running?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-02-04 7:15 AM
Hi, I fixed the issue!
I don't know why but during fw update using UART the "BOOT ADDRESS OPTION BYTE" area has been changed, I put the original configuration (see picture) and board started working.
2 questions:
A) How is it possible to change this area? Can it be corrupted during option byte writing operation or flash writing operation? I want to understand how it could have happened in order to fix the issue and avoid problems on the field.
B) Why a a "flash erase" (using ST-Link) is not able to solve the problem?
Thanks a lot Denis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-02-04 8:01 AM
You can change option bytes in stm32cubeprogrammer among other options.
