Setting Triggers in Profile-Only Mode

The Profile-Only mode does not collect the trace data; it only profiles the data. Trace is empty in this mode; you can only see the profiling information in the Critical Code Data viewer. To set a trigger in Profile-Only mode:

  1. Set trigger A in the source code following the steps 1- 8 described in the topic Trace From Trigger A Onward.
  2. Open the Debug Configurations dialog box, and click the Trace and Profile tab.
  3. Select the Profile-Only. Sample PC every 512 cycles option from the Select Trace Mode group.
  4. Select the Trace from Trigger A Onward trace condition.
  5. Click Apply to save the settings.
  6. Click Debug to debug the application.
  7. Click Resume and after a short while, click Suspend . The application halts and data is collected.
  8. Open the Critical Code Data viewer following the steps explained in the topic Viewing Data to view the critical code data results.
    Figure 1. Critical Code Data - Profile-Only Mode of ColdFire V1
    Critical Code Data - Profile-Only Mode of ColdFire V1

This is how you collect trace data in the Profile-Only mode of the ColdFire V1 target.