7.9. Configuring embedded cross-triggering

An Embedded Cross Trigger (ECT) unit provides a mechanism for passing debug events between multiple processors, and allows synchronized debug and trace of an entire system on chip. If your target hardware supports an ECT unit, then you can use the ECT.bcd file provided with RealView Debugger to configure this logic for each target on your development platform. The following procedure describes how to set up the ECT for processor cross-triggering. For tracing, triggers are set up using tracepoints.

Note

If your target hardware supports CoreSight™ ECT, see Configuring CoreSight embedded cross-triggering.

Note

Be aware that using synchronized stepping with cross-triggering is not recommended, because the results can be unpredictable.

To configure an ECT unit:

  1. Select Connect to Target from the Target menu. The Connect to Target window is displayed.

  2. Select Configuration from the Grouped By drop-down list.

  3. Expand the Debug Interface containing the Debug Configuration to be customized.

  4. Make sure that there are no targets connected on the Debug Configuration.

    Note

    You cannot customize a Debug Configuration when the debugger is connected to a target in that Debug Configuration.

  5. Right-click on the required Debug Configuration to display the context menu.

  6. Select Properties... from the context menu. The Connection Properties dialog box is displayed.

  7. Click the BCD files tab to display the available definitions and assignments.

  8. To assign an ECT board/chip definition to this configuration:

    1. Select ECT in the Available Definitions list.

    2. Click the Add button.

      The ECT definiton is moved from the Available Definitions list to the Assigned Definitions list.

  9. Select OK to save your changes.

    When you connect to the target, an ECT tab is provided in the Registers view. Figure 7.15 shows an example.

Figure 7.15. ECT tab

ECT tab

See also

Copyright © 2002-2009 ARM Limited. All rights reserved.ARM DUI 0153K
Non-Confidential