Data Trace Import Dialog Box

The Data Trace Import dialog box allows you to import an external format of trace which is different from the trace format of CodeWarrior Software Analysis. This trace format is generated from an external trace collection tool and can be saved in an input file in a text format. The trace data contained in this input file is converted into a format compatible with CodeWarrior. A sample input file, dsc8257_Data_Visualization_1.txt, is located at <CWInstallDirectory>\MCU\morpho_sa\sasdk\data\fsl.testdata.sa.trace\ and <CWInstallDirectory>\eclipse\plugins\com.freescale.morpho.sa.arm_*\data\fsl.testdata.sa.trace.

Note: The Data Trace Import dialog box is used to import only data trace.

To import external trace format into your project:

  1. Click the Import Data Trace from text file button in the Software Analysis view to display the Data Trace Import dialog box.
  2. Locate the Input File.
  3. From the Output Project drop-down list, select the project where you want to import the trace format.
  4. Select the architecture for which the trace was collected from the Select Platform drop-down list.
    Figure 1. Data Trace Import Dialog Box
    Data Trace Import Dialog Box
  5. Click OK.

    The results of the input file get displayed in the Software Analysis view. Two hyperlinks appear, Trace and Data Visualization.

    Figure 2. Software Analysis View After Importing Data Trace Format
    Software Analysis View After Importing Data Trace Format
  6. Click the Trace hyperlink to view the imported trace results in CodeWarrior Software Analysis format.
  7. Click the Data Visualization hyperlink to view the graphical representation of the imported trace results.
    Figure 3. Data Visualization
    Data Visualization

The Data Visualization graph allows you to monitor variables of your application. You can identify and chart variables of the application against time. The chart displays tooltips when you place mouse cursor over the circular data dots.

The symbols have different sizes, so that multiple series points which coincide (ox/oy values) are visible. You can change the values displayed on the ox (time) axis between time and any of the series.

Figure 4. Changing Values Displayed on Time Axis
Changing Values Displayed on Time Axis

You can zoom-in and zoom-out the information in the graph using mouse scroll up and down. You can also select a particular area on the graph to zoom-in the information. Right-click in the graph to open a context menu, which allows you to:

For more information, refer Data Visualization.