Skip to main content
Associate
November 20, 2024
Question

STM32Discovery project halts due to breakpoint

  • November 20, 2024
  • 1 reply
  • 725 views

I'm using the onboard ST-Link to debug and flash code onto the board. When I use OpenOCD it halts the program at the first line of main. Even when I have the program skip all breakpoints in still halts. I'm very confused on what to do. 

Bneely_0-1732141614203.png

Bneely_1-1732141650091.png

Please let me know what to do.

1 reply

Pavel A.
Super User
November 20, 2024

> I'm very confused on what to do. 

If you want to let the program execute, click the "Resume" button or F8.

Try the ST own debugger. Select it in the debug configuration instead of OpenOCD.

 

BneelyAuthor
Associate
November 20, 2024

Sorry,

 

I have it connected to a Bluetooth module that was not displaying anything and assumed the program wasn't flashing to the board.