Loading...
 
Skip to main content

System Workbench for STM32


How to reset target MCU during debugging

To get debugging to work for me, I need to do the following:

Step 1: Click the debug button. This starts thread #1, but it never stops on the main() breakpoint.
Step 2: Suspend (pause) debugging.
Step 3: Execute "monitor reset halt" in the console.
Step 4: Resume debugging. Thread #1 now halts at the main() breakpoint.

I haven't read anyone else needing to do this. This threads seems to be specific to resetting the target while already debugging. Can anyone suggest why I might be seeing what I'm seeing? Thanks.