In the "ARMv6-M Architecture Reference Manual" section C1.3 "Overview of the ARMv6-M debug features" indicates that the debug system includes the ability to "Step, with or without interrupt masking." Does the Kinetis IDE have a way to step through a program with interrupt masking OFF (so that interrupts will be entered single-stepping as they occur)? If so, how do I make that setting change in the Kinetis IDE?
Thanks in advance for help with this.
Hi Thomas,
I did some research on this topic, and I have found this:
https://www.sourceware.org/gdb/onlinedocs/gdb.html#Hooks
Basically that would allow you to create your own hook were you could enable interrupts even while stepping.
I hope this helps,
Erich
Thanks for looking into it. I think that route is probably beyond my skill level at this point.
-Thomas
Hi Thomas,
P&E and Segger settings do not have something to turn this on. Maybe it could be done with some custom gdb scripts (writing that value to the register) while doing stepping, but unfortunately we don't have any example.
Sorry for the inconvenience.
Best regards,
Carlos