Loading...
 
Skip to main content

System Workbench for STM32


MP1 cannot set production mode breakpoints...

on MP1 using Production mode, we cannot reliably set breakpoint in interrupt handlers.

for example, once image is loaded, we try to set a breakpoint in the SysTick handler but it never gets hit. Same behavior for other ISRs.

We've tried different combinations:

  • set breakpoints before launching debug
  • add an infinite loop to force firmware to wait after launch then click on Suspend and add breakpoints
  • step through init they set breakpoints
  • etc...


We sometimes get it to work, like 1/20. But if breakpoint works in interrupt, then we cannot set a breakpoint in main()

is there any limitations to Production mode breakpoints?