cancel
Showing results for 
Search instead for 
Did you mean: 

Debug not stating correctly

Brother Theo
Associate II

When I start a debug session, the program start immediately instead of pausing, and the cursor is not at main() but at an odd spot in assembly. Using system workbench and a nucleo as a programmer. this is a custom target board running an STM32f091. What can cause this?

2 REPLIES 2

Code has not be downloaded properly. Break-points not set properly.

Try using pro-tools like Keil, should be a free license for STM32 CM0 parts.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Brother Theo
Associate II

So after much messing it is now mostly starting okay but I zm not getting timer interrupts. They work in run mode but not in debug. i checked the timer and it seems to be counting. wierd.