To view trace data:
- 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.
- Click the Trace hyperlink.
The Trace Data
viewer appears.
Figure 1. 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:
- Click the navigation buttons available to move between the trace data.
- Click the Go to Start of Trace button to go to the beginning of trace data
- Click the Go to Previous Trace Entry button to go to the previous trace entry
- Click the Go to Next Trace Entry button to go to the next trace entry
- Click the Go to End of Trace button to go to the end of trace data
- Click the Expand All button to display the source as well as assembly code of the instructions in the trace viewer.
- Click the Collapse All button to display the assembly code only.
- Click the Search button to find and filter trace data.
- Click the Export to CSV button to export trace data to a CSV file.
- Click the Configure Table button to configure time unit and time format.
This topic contains the following sub-topics: