Collecting Data

After setting the debugger launch configuration, you need to run the application on the target hardware to collect data.

To collect data on any target such as HCS08, ColdFire V1, Kinetis, MPC56xx, or DSC:

  1. In the Debug Configurations dialog box, click Debug to launch the project.

    The application halts at the beginning of main().

    Figure 1. Debug Perspective Page
    Debug Perspective Page
  2. Click the Resume button to resume the execution and begin measurement. Let the application run for several seconds before performing the next step. If you want to stop the execution of the application while it is running, click the Suspend button. Click the Terminate button to stop the measurement.

If you are collecting trace on MPC5668G/E targets with both cores (e200z6 and e200z0), click the Multicore Resume button to start trace collection and click Multicore Suspend to suspend it.

Note: To switch to a different perspective, click the Show List button on the upper right corner of the window.
Note: The e200z6 and e200z0 cores are not running the same code; Core 0 (e200z6) runs code from Sources/main.c and Core 1 (e200z0) runs from PRC1_Sources/main_p1.c. Therefore, the two cores do not stop at same entry point at first suspend after starting the debug session.