Skip to main content
Brother Theo
Associate III
October 24, 2018
Question

Debug not stating correctly

  • October 24, 2018
  • 2 replies
  • 631 views

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?

    This topic has been closed for replies.

    2 replies

    Tesla DeLorean
    Guru
    October 24, 2018

    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 (See Profile) Up vote any posts that you find helpful, it shows what's working..
    Brother Theo
    Associate III
    October 25, 2018

    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.