Code doesn't execute after upload
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-05-10 7:44 AM
I am using stm32G031K8 nucleo board. The board was working well, it started to reset itself continuously for some time, I could only see my uart message that says started, every time I erased the code and upload previously working versions. Then it started to not execute code, now I upload led blink project but still doesnt work. I can erase the flash then upload new code.
When I try to debug it, run button is passive at the beginning.
When I press the reset button registers filled with 0xffff.
It cant go to reset handler at the beginning, how can I fix it? Thanks.
Solved! Go to Solution.
- Labels:
-
STM32G0 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-05-10 8:49 AM
PC suggests running from ROM
Make sure BOOT0 pin (or options) are LOW to run user code.
If flash was previously empty you'll probably need to cycle the power.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-05-10 8:49 AM
PC suggests running from ROM
Make sure BOOT0 pin (or options) are LOW to run user code.
If flash was previously empty you'll probably need to cycle the power.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-05-10 11:00 AM
Thank you.
