Trace Data

To view trace data:

  1. In the Software Analysis view, expand the project name.

    The data source is listed under the project name.

    Note: If the Software Analysis view is not open already, select Window > Show View > Software Analysis from the menu bar.
  2. Click the Trace hyperlink.

    The Trace Data viewer appears.

    Figure 1. Trace Data Viewer
    Trace Data Viewer

The Trace Data viewer displays the trace data collected by the Kinetis target in a tabular form. You can move the columns to the left or right of another column by dragging and dropping.

Note: Depending on the application and runtime conditions, the last few instructions are missed in the trace results.

The table below describes the fields of the Trace Data viewer.

Table 1. Trace Data - Description of Fields
Name Description
Index Displays the order number of the instructions.
Event Source Displays program trace messages from ETM (Merlin) or special messages from ITM.
Description Displays detailed information about the trace line.
Source Displays the source function of the trace line if it is a call or a branch.
Target Displays the target function of the trace line if it is a call or a branch.
Type Displays the type of the trace line, which can either be a linear instruction, a branch, a call, or a custom message.
Timestamp Displays the absolute clock cycles that the instruction takes to execute.

You can perform the following actions from the Trace Data viewer:

This topic contains the following sub-topics: