7.7.1. Cross-triggering controls

The cross-triggering controls are available on the Cross Triggering tab of the Synchronization Control window, shown in Figure 7.7. These controls describe the communications between two or more processors.

Figure 7.7. Synchronization Control window showing cross-triggering controls

Synchronization Control window showing cross-triggering controls

If any connections are established, then the processors for those connections are listed. If you make a connection after opening the Synchronization Control window, then the processor for the new connection is added to the list or processors. However, the related processor and cross-triggering controls are not selected.

To set up software cross-triggering:

  1. Select Target → Synchronization Control... from the Code window main menu to open the Synchronization Control window. Figure 7.8 shows an example:

    Figure 7.8. Synchronization Control window

    Synchronization Control window

  2. Click the Cross Triggering tab. A row of cross-triggering controls is available for each currently connected processor. Figure 7.9 shows an example:

    Figure 7.9. Cross Triggering tab in the Synchronization Control window

    Cross Triggering tab in the Synchronization Control window

  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. Select the In and Out check boxes as required to set up the trigger relationships:

    In

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

    Out

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

    In the example shown in Figure 7.10, when the ARM966E-S_0 processor stops, then the ARM966E-S_1 and ARM966E-S_2 processors stop. The ARM7TDMI processor is not affected by the cross-triggering of the other processors.

    Figure 7.10. Cross-triggering controls

    Cross-triggering controls

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

  6. You might want to start the processors with the In trigger enabled first (the ARM966E-S_1 and ARM966E-S_2 processors). Otherwise, the processor with the Out trigger enabled (the ARM966E-S_0 processor) might stop before you have time to start the other processors. For example, you might have set one or more breakpoints.

    You can either start each processor manually, or specify a connection sequence in the Debug Configuration.

See also

Copyright © 2002-2011 ARM. All rights reserved.ARM DUI 0153N
Non-ConfidentialID052111