| ||||||||
Cortex-M3 Debug and TraceCortex-M3 processor-based devices use the ARM CoreSight™ technology which introduces powerful new debug and trace capabilities. Debug features:
Trace features:
The CoreSight features are available via JTAG and new Serial Wire interfaces using standard low-cost target connectors. Cortex-M3 JTAG and Serial Wire Debug Modes JTAGJTAG is the industry-standard interface used to download and debug progams on a target processor, as well as many other functions. It offers a convenient and easy way to connect to devices and is available on all ARM processor-based devices. The JTAG interface can be used with Cortex-M3 devices to access all of the CoreSight debug capabilities. Serial Wire Debug (SWD)The Serial Wire Debug mode is an alternative to the standard JTAG interface. SWD uses 2-pins to provide the same debug functionality as JTAG with no performance penalty, and introduces data trace capabilities with the Serial Wire Viewer (SWV). The SWD interface pins can be overlayed with the JTAG signals, allowing the standard target connectors to be used.
JTAG and SWD modes are fully supported by ULINK2, ULINK-ME, and ULINKPro. Serial Wire Viewer (SWV)Cortex-M3 based devices are able to provide high-speed data trace information in a number of ways depending on the type of information or analysis you require. The Serial Wire Viewer (SWV) provides real-time data trace information from various sources within the Cortex-M3 device. This is output via the single SWO pin while your system processor continues running at full speed. Information is available from the ITM (Instrumentation Trace Macrocell) and DWT (Data Watchpoint and Trace) units, providing:
SWV Data trace is available via the SWO pin in two output formats:
Note
Embedded Trace Macrocell (ETM) Cortex-M3 Embedded Trace Macrocell The Embedded Trace Macrocell provides high bandwidth Instruction Trace via four dedicated trace pins accessible on the 20-pin Cortex debug connector. This enhanced trace capability records instruction by instruction program execution which can be used for:
Note
µVisionThe Keil µVision IDE and Debugger supports Cortex-M3 devices with dedicated windows which display debug information, trace records, state changes, and instruction trace.
Trace Records windows display the trace information in real-time ConnectorsThere are several target connectors available for connecting to an ARM target system:
| ||||||||
| ||||||||