2.3.135. SYNCHACTION

Controls what actions are to be performed on each synchronized processor.

Syntax

SYNCHACTION [,load] [,unload] [,reload] [,restart] [,reset] [,setpc] [,readfile] [[=]connections]

SYNCHACTION ,remove {,all | [=]connections}

where:

load

Loads a target application image file.

unload

Unloads the current image file.

reload

Reloads the current image file.

restart

Resets the program counter.

reset

Resets the target processor.

setpc

Sets the program counter.

readfile

Reads the contents of a binary file.

remove

Remove the connections from the synchronized group.

connections

A comma-separated list of connection identifier strings, of the form:

"connection-id" [,"connection-id",...]

where:

connection-id

The connection name. If the targets have unique names, then you have only to use the target name. Otherwise, you must also specify the Debug Configuration name.

Description

Synchronization of processors takes place when an operation performed on one processor affects the operation of other processors. For example, when you load an image on one processor, the image is also loaded on the other synchronized processors. Synchronizing of commands is provided whenever the command selected for synchronization is issued through the CLI, a menu item, or another part of the GUI.

Example

The following example shows how to use the SYNCHACTION command. It assumes connection has been made to an ARM7TDMI and an ARM926EJ-S:

synchaction,load,unload @ARM7TDMI@RVISS,@ARM926EJ-S@RVISS_1

Load the dhrystone image in your RealView Development Suite (RVDS) examples directory:

load/pd/r “install_directory\RVDS\Examples\...\main\dhrystone\Debug\dhrystone.axf”

The image is loaded to all targets.

See Also

The following commands provide similar or related functionality:

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