cancel
Showing results for 
Search instead for 
Did you mean: 

Flashing STM32G0 over USB does not run after programming

jgbkhs
Associate

I'm jumping to the bootloader from my application so that I can flash via USB in the end product.

The end product has a permanently connected battery, and other means of hardware reset are not accessible.

I'm trying to use STM32CubeProgrammer for this and can successfully connect and flash via USB under the "Erasing and Programming" tab. I have Verify and Run after Programming checked.

However after successfully flashing, the MCU hangs and does not jump back to the application.
At this point I can't reconnect via USB either in the tool. 

I do not think a hard reset is done after flashing.

CLI is not an option based on the internal users I plan to give this to as a tool.

What is the correct approach to make sure I actually get a clean reset and run of my application after flashing with the GUI?

0 REPLIES 0