Hi,
I experienced that debugging STM32 interrupts is not an easy job. I have set up 3 timer interrupts with different priorities and different timings, and set breakpoints to the beginning of each IT subroutine.
As the program reaches the BKPT in the highest prio IT handler, I saw that the other Timer IT handlers are also waiting for execution, because the timers don't stop during debug, so they trigger their respective Update interrupt. Despite this, when I let the program run, it stops at the same - highest prio - IT subroutine again, as if the lower prio ITs weren't waiting for execution.
The BKPTs in the lower prio IT handlers are only reached when I disable the BKPT in the higher prio IT handler.
Why will only the breakpoint in the highest priority IT handler be reached?
Thanks, Peter