Chapter 8

Debugging with CoreSight

This chapter details the CoreSight debug architecture and in particular its real-time debug features.

Introduction

Going back to the dawn of microcontrollers, development tools were quite primitive. The application code was written in assembler and tested on an erasable programmable read-only memory (EPROM) version of the target microcontroller.

image

Figure 8.1 The electrical EPROM was the forerunner of today’s flash memory.

To help debugging, the code was “instrumented” by adding additional lines of code to write debug information out of the UART or to toggle an IO pin. Monitor debugger programs were developed to run ...

Get The Designer's Guide to the Cortex-M Processor Family now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.