EasyManua.ls Logo

Microchip Technology MPLAB ICD 5 - SAM (ARM) - Trace and Profiling

Microchip Technology MPLAB ICD 5
100 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Debugger Features
User Guide
© 2023 Microchip Technology Inc. and its subsidiaries
DS-50003529B - 56
5.5 SAM (ARM) - Trace and Proling
The SAM D5x/E5x Cortex-M4 processors implements a complete hardware debug solution. This
provides high system visibility of the processor and memory through a 2-pin Serial Wire Debug
(SWD) port that is ideal for microcontrollers and other small package devices.
5.5.1 ARM Cortex-M4 Processor - Trace and Proling
For system trace the processor integrates an Instrumentation Trace Macrocell (ITM) alongside data
watchpoints and a proling unit.
To enable simple and cost-eective proling of the system events these generate, a stream of
software-generated messages, data trace, and proling information is exported over two dierent
ways:
Output o chip using the TPIU - through a single pin, called Serial Wire Viewer (SWV). Limited to
ITM system trace.
Internally stored in RAM - using the CoreSight ETB. Bandwidth is then optimal but capacity is
limited.
Figure 5-6. Block Diagram
SWV trace data are output on the Serial Wire Output (SWO).
5.5.2 SAM D5x/E5x - ETB Connecon
When enabled, the bottom 32 KB system memory space is reserved for CoreSight ETB debug usage.
The gure below shows an example where both error correction codes (ECC) and CoreSight ETB are
enabled.

Table of Contents

Related product manuals