Chapter 13. Debug Features
Software Development and Debug Features
During software development, we often need to examine the operation of program execution in detail to understand why a program does not work as expected or to ensure correct operation. In some cases, we can output a small amount of program operation detail using various interfaces such as a UART. Often this does not provide sufficient data to debug the program. We often need to add breakpoints, add data watchpoints, view memory and registers, and so on. These debug architectural features are now part of modern processor design.
In this chapter we will cover a number of debug terms. Note that these terms are not standardized across all microcontroller architectures, so the terms used ...