Loading...
 
Skip to main content

System Workbench for STM32


Debug stays at Reset_Handler, step into/over buttons are disabled

Hi Yuantu,

Did you resolve your issue? I'm trying to work out if i'm see the same issue.

When I start debugging, the application never halts at main(). To get it to halt I need to suspend the thread, run "monitor reset halt" in the console, then resume the thread. This works most of the time.

Then when I step through the code, the instruction pointer appears to jump around the code. Then it gets stuck in SystemClock_Config().

But if i then disconnect the debugger, and reset the board, the application (simple LED blinker) appears to run correctly.

Did you resolve your issue? Can elaborate on what it actually was and what you did to resolve it?

Regards, Matt.