Setting up a CoreSight trace association file

CoreSight systems can contain many trace sources and sinks. To enable your debugger to capture trace correctly from a system, and to associate the trace information with the source that generated it, you must use a CoreSight trace association file.

To set up a CoreSight trace association file:

  1. Open the Debug Hardware Config utility.

  2. Either:

    • connect to and configure a debug hardware connection to create a new debug hardware configuration file

    • open an existing debug hardware configuration file.

  3. Click the Trace Associations... button to display the Trace Association Editor dialog box. The following figure shows an example:

    Figure 40. Trace Association Editor dialog box

    Trace Association Editor dialog box

    The devices shown reflect the order of those in the scan chain.

  4. To expand the details for a device, double-click on the device name.

  5. To add a new association for a device, double-click on <add association...> for that device to display the Edit Association dialog box.

  6. Set the required associations from each of the available drop-down menus. The following figure shows an example:

    Figure 41. Edit Association dialog box

    Edit Association dialog box

  7. Click OK to return to the Trace Association Editor dialog box.

  8. Assign associations for other devices as required:

    • To change any associations listed under the Association column, double-click on that association to display the Edit Association dialog box, and make the required changes.

      Click OK to return to the Trace Association Editor dialog box.

    • To delete a single association, select the association and click Delete.

      You are not asked to confirm the deletion.

    • To delete all the associations in the system, click Delete All.

      You are not asked to confirm the deletion.

  9. Save your trace associations file:

    1. Click Save... to display the Save RealView Associations File... dialog box.

    2. Locate the directory where you want to save the file.

    3. Click Save.

    You might want to save a Trace Association file if you want to provide the associations with other users using a similar development platform.

  10. Click OK to return to the Debug Hardware Config utility main window.

    An asterisk in a device box of the schematic diagram indicates that the device is associated with another device. The following figure shows that the CSETM and the Cortex-A8 devices have associations:

    Figure 42. Devices with associations

    Devices with associations

Show/hideSee also

Copyright © 2010-2012 ARM. All rights reserved.ARM DUI 0498G
Non-ConfidentialID071612