We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello,
I try to debug my program in cortex m3 MCU but seems is impossible to get external interrupt when I'm in single steps using jtag/swd so long as I use single steps the external interrupts are in pending state but not executed only when I make a run or run to cursor line in debugger then external interrupt is executed. I think debug and stepping have more big priority in interrupts but how to solve this ?
I try to debug my program running on this cortex but is very hard when I'm dealing with USB/USART and others external interrupts when can happen many of them to see what going on on my program because external interrupts I can only see as pending bits and in this case I must set breakpoint on every of them and I cannot use stepping mode then a lot of code executting is a black hole for me and I cannot fully debug my system.
Is exist any way to prevent this as - I use single step mode with SWD connection interrupt incoming I make next single step and then I'm on PC = external interrupt if this interrupt happens.