PDATS Trace

From Texas Instruments Embedded Processors Wiki

Jump to: navigation, search
Translate this page to   

Contents

PDATS Trace

PDATS Trace captures all the read/write access from CPU to memory. DMA access is not captured as part of this trace.

What is PDATS

PDATS (Packed Differential Address and Time Stamp) is a information-lossless trace compression scheme that can reduce both storage space and access time by an order of magnitude or more, compared to ASCII-format traces, without discarding either references or inter-reference timing from the original trace.

Supported Configuration

Usage

Enabling PDATS Trace

PDATS Trace is enabled through the simulator configuration . Trace collection should be started, halted & resumed during simulation through GEL commands. This is important to note. We enable it via the configuration file, but the actual starting, and stopping trace collection is done after the simulator has been initialized, and an executable file loaded on it.

Configuration File Changes

Follow the steps to enable PDATS trace in simulator configuration file.

MODULE PDATS_TRACE;
ACCESS_SIZE_TRACE ON;
TIMESTAMP_WITH_MEMSTALLS OFF;
END PDATS_TRACE;

Note


For C6416 Cycle Accurate simulator - add the following line to enable PDATS trace.

PDATS_TRACE ON;


Dynamic Start-Stop

PDATS Traces are started, halted & resumed during simulation. This support is enabled via GEL commands

On Code Composer Studio V4 (CCSv4), the GEL_DriverString commands could be provided to the simualtor through the scripting console(View->scripting console). In the console window, enter eval("GEL_DriverString(\"START_PDATS_COLLECTION\")") to feed in pdats start command for eg..

There could be multiple start-stop points throughout the simulation run. The trace file has a .pdats extension and will be generated in the COFF file path, with <coff_file_name>.pdats

PDATS to Text Converter

Leave a Comment
Personal tools
Namespaces
Variants
Actions
Navigation
Print/export
Toolbox