Program Trace Macrocell (PTM), Fabric Trace Macrocell (FTM) support on Zynq-7000

In depth real-time debugging requires close interaction with the processor. Tracing shall provide a chronological picture of a system's inner workings - before or after a critical event - mainly to help analyzing a faulty program.

Zynq-7000 Trace Features

The Universal Debug Engine provides support for all Zynq-7000 specific trace features:

Zynq-7000 Trace
Zynq-7000 Trace

  • Instrumentation Trace Macrocell (ITM)
  • Program Trace Macrocell (PTM)
  • Fabric Trace Macrocell (FTM)
  • Tracing of both Cortex-A9 cores in parallel.

UDE reconstructs the time aligned program flow from captured trace data and presents it in the multicore aware trace window. For higher system analysis code coverage as well as function profiling is available.

CoreSight™ Trace support

The UAD3+ allows the recording of real-time trace information via parallel trace. The trace memory is extendable up to 4 GBytes.

  • CoreSight Mictor connector, external trigger pins
  • Time-endless trace for continuous tracing and observation
  • Trace with up to 16 bit @ 180 MHz, Wide range I/O voltage on the target hardware, 0.8V — 3.3V
  • Separate trace pod is connected to the UAD3+ by a gigabit serial multi-lane cable, length up to 5 meters (1m is default, others on request).
  • ETB trace is also supported and might be used instead of the external trace via TPIU, e.g. if there is no connector or no UAD3+ available.

Trace Profiling
Zynq-7000 Trace Profiling
Zynq-7000 Trace Profiling

UDEs trace analysis calculates profiling information for each function for which trace data was captured. The results are visualized by the trace profiling window as a bar chart. That allows easily identifying the most time consuming functions of the application.

Export Functions

In the trace window shown trace information can be exported also as further output formats:

  • TAB/SPACE separated Format - Columns from trace window as TAB/SPACE-separated text
  • XML Format - Columns from trace window saved in XML style.