-
Book Overview & Buying
-
Table Of Contents
Practical Debugging for Embedded ARM Systems
By :
In this section, we will explore the so-called monitor mode debugging that is available on Arm Cortex-M microcontrollers, and you will learn why and when this is necessary to gain better system insight.
Monitor mode is a special mode that a microcontroller can enter so a debugger can inspect the system state while the target device is running.
This is atypical for debugging, as typically you would halt a target device to inspect its system state.
When monitor mode is active on an Arm Cortex-M device and a halt command is issued by the debugger, instead of halting the core, the device will enter a special monitor mode interrupt, which will execute the corresponding interrupt handler.
This monitor mode handler must fulfill mainly two tasks:
Monitor mode is mostly needed in scenarios where you either have communication interfaces that must regularly...