Login

Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.

Real-Time Trace and Analysis

MDK-ARM, together with a ULINK adapter, uses the ARM CoreSight™ technology in ARM Cortex™-M series processor-based devices to provide advanced real-time debug, trace, and analysis capabilities.

Data and Event Trace

All Cortex-M3 and Cortex-M4 devices provide data and event trace. MDK-ARM provides a number of ways to analyze this information while your system is running:

  • Trace Window - Displays program flow by capturing timestamps, PC samples, exceptions, and Read/Write accesses
  • Debug Viewer - Displays the printf-style output of the Instrumented Trace (ITM) in a terminal window
  • Exceptions window - Displays statistical information about program exceptions and interrupts
  • Event Counters - Display real-time values of specific event counters providing performance indications
  • Logic Analyzer - Graphically displays variable changes in captured data trace
  • RTX Event Viewer - display RTX Kernel task switching events and statistics on a time scale.

Data and Event Trace Windows provide information from the running target for program data, exceptions, variables, and printf-style outputs

Instruction Trace

Cortex-M series processor-based devices with ETM provide instruction trace. The Keil ULINKpro streams instruction trace directly to your PC, enabling debugging of historical sequences, execution profiling, performance optimization, and code coverage analysis.

Note:

  • Real-Time Trace features are only available in MDK 4.02 or higher and are not support by ULINK1.
  • Data and Event Trace is available with ULINKpro, ULINK2, or ULINK-ME.
  • Instruction Trace is only available with ULINKpro.
 
Maximise