cancel
Showing results for 
Search instead for 
Did you mean: 

STM32Discovery project halts due to breakpoint

Bneely
Visitor

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.

2 REPLIES 2
Pavel A.
Evangelist III

> 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.

 

Sorry,

 

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