Collecting Trace in Expert Mode

The Expert mode gives you an access to most of the on-chip DBG module registers. This mode contains the newest comparator C controls and lets you set trigger types directly. To collect trace using the Expert mode:

  1. Open the Debug Configurations dialog box.
  2. Click the Trace and Profile tab, and check the Enable Trace and Profile checkbox.
  3. Select the Expert option from the Trace Mode Options group.
  4. Click the Configure Expert Settings button.

    The Configure Expert Settings dialog box appears.

    Figure 1. Configure Expert Settings Dialog Box
    Configure Expert Settings Dialog Box
  5. Specify the settings according to requirements.
    Note: The register layout in the Configure Expert Settings dialog box may vary depending on the debug version target. For example, the register layout of the DbgVer 3 target might be different from the register layout of the DbgVer 2 target.
  6. Click OK to save the settings.
  7. Click Apply in the Debug Configurations dialog box.
  8. Click Debug and collect trace.
    Note: In Expert mode, only Trace and Timeline data is collected.

This is how you collect trace data in the Expert mode of the HCS08 target.

Note: For HCS08 PT16 and PA4 families (PT/PL/PA16, PT/PL/PA8, PA4, PA2), the trace triggers set on the Variables or Memory views, with Memory Access set to “Write” or “Read/Write”, will not work correctly due to a hardware issue of the DBG module when writing to SRAM memory. When using these type of triggers:

This is applicable for some early revisions of the PT60 family (PT/PL/PA60 and PT/PL/PA32) also.