NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.

TraceDeviceFeatures

From Texas Instruments Wiki
Jump to: navigation, search

What's in the device to facilitate trace[edit]

- PC and SPLOOP addresses(C64+ cores only)
- Timing data correlated to all other streams
- Memory read (core only - address, data & access size)
- Memory write (core only - address, data & access size)
- Events (replaces Memory read/write streams when enabled)
- PC, Timing and Memory read/write streams can be active simultaneously or PC, Timing and Event streams can be active simultaneously
  • Trace data types - mutually exclusive of each other
- Standard Trace
=> PC, memory read and writes, and timing
- Event Trace
=> Stall events(CPU, L1P & L1D), Memory system events(L1D, L2 & External), or device specific external events (interrupts, exceptions, error detection, ...)
=> PC and Timing
  • Advance Event Triggering(AET) is used to select the Trace Trigger actions, type and what to trace:
- Trace types (Standard or Event)
- Trigger actions (on, start, end, range, end all ...) - See Trace Jobs for details on trigger types.
- Trigger types (PC, Memory or Event)
- For Standard Trace select what to trace (PC, Timing, and Memory access)
- For Event trace what to trace is automatically selected (PC, Timing and Event selected)
- See Advanced Event Triggering (AET) Logic for details on how the silicon trigger builders work.
- With unprotected pipelines (c6x) memory accesses occur in parallel with subsequent instructions.
- The Pipeline Flattener aligns the memory access address and data with the PC of the originating instruction.
- See Timing Stream Limitations section for stall timing details.
  • Trace data compression
- High trace compression rates (~5 million samples/1MByte of trace data)
  • Trace data export
- Off-chip export collected by an XDS560 Trace Pod
- On-chip export to Embedded Trace Buffer(ETB)
=> Any XDS may be used
=> ETB provides a very limited trace buffer size
=> Once a c64x+ core's ETB is selected to receive trace data, it's trace export to the pins is disabled
=> In multi-core c64x+ devices (where each mega-module contains a dedicated ETB) multiple cores can export trace to the ETBs simultaneously, while only a single core can export trace data to the pins (for collection by an XDS).
=> ETBLib and DSPTraceLib projects available for application configuration at CtoolsLib

Data Flow Diagram of the Trace System

  • Abbreviation Key
AET - Advance Event Trace
DTF - DSP Trace Formatter
ETB - Embedded Trace Buffer
PF - Pipeline Flattener
E2e.jpg {{
  1. switchcategory:MultiCore=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article TraceDeviceFeatures here.

Keystone=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article TraceDeviceFeatures here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article TraceDeviceFeatures here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article TraceDeviceFeatures here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article TraceDeviceFeatures here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article TraceDeviceFeatures here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article TraceDeviceFeatures here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article TraceDeviceFeatures here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article TraceDeviceFeatures here.

}}

Hyperlink blue.png Links

Amplifiers & Linear
Audio
Broadband RF/IF & Digital Radio
Clocks & Timers
Data Converters

DLP & MEMS
High-Reliability
Interface
Logic
Power Management

Processors

Switches & Multiplexers
Temperature Sensors & Control ICs
Wireless Connectivity