6.10.3. Procedure

To set up cross-triggering for multiple processors:

  1. Select Target ? Synchronization Control... to display the Synchronization Control window, shown in Figure 6.14.

    Figure 6.14. Synchronization Control window

    Synchronization Control window
  2. Expand the connections for the processors that are to take part in cross-triggering, shown in Figure 6.15. This shows the cross-triggering controls for each processor (see Cross-triggering controls).

    Figure 6.15. Cross-triggering controls

    Cross-triggering controls
  3. Decide which processors are to take part in cross-triggering. Also, decide which processor is to have the Out trigger set, that is, the one that is to have control over the other processors. The remaining processors that you want to use for cross-triggering have the In trigger set.

    Note

    More than one processor can have the Out trigger set, or both the Out and In triggers set.

  4. Click the check box to set up the Out-In trigger relationships:

    In

    The processor is to respond to the stop request of a processor that has the Out check box enabled.

    Out

    When the processor stops, it is to broadcast a stop request to processors that have the In check box enabled.

    If a processor does not have either In or Out selected, that processor does not participate in cross-triggering.

    In the example shown in Figure 6.15, when the ARM920T™ processor stops, then the ARM940T processor stops. The simulated processor, Simarm_0, is not affected by the cross-triggering of the other processors.

  5. Load the required images, and set up the debugging conditions for your targets. For example, set any breakpoints.

  6. If the processors are not synchronized, as in this example, then start the processors as follows:

    1. Start each processor that has only the In trigger set (for example, the ARM940T).

    2. Start each processor that has the Out trigger set (for example, the ARM920T).

      Note

      If more than one processor has the Out trigger set, then perform a synchronized start for these processors.

    You can start unsynchronized processors using one of the following methods:

    Alternatively, set up a synchronized start, so that all the synchronized processors start together when you start one of the processors (see Synchronizing multiple processors). Also, make sure that the synchronized stop operation is disabled.

Note

If your hardware supports more complex cross-triggering controls, you must set these manually. Alternatively, you can create a script to set the appropriate configuration. For example, if your hardware supports the Embedded Cross Trigger unit, see Configuring embedded cross-triggering for a connection.

Copyright © 2002-2006 ARM Limited. All rights reserved.ARM DUI 0153H
Non-Confidential