| |||
| Home > RealView Debugger Commands > Alphabetical command reference > SYNCHACTION | |||
Controls what actions are to be performed on each synchronized processor.
SYNCHACTION [,load]
[,unload] [,reload] [,restart] [,reset] [,setpc] [,readfile] [[=]connections]
SYNCHACTION ,ove
{,all | [=]remconnections}
where:
loadLoads a target application image file.
unloadUnloads the current image file.
reloadReloads the current image file.
restartResets the program counter.
resetResets the target processor.
setpcSets the program counter.
readfileReads the contents of a binary file.
removeRemove the connections from the synchronized group.
connectionsA comma-separated list of connection identifier strings, of the form:
"connection-id" [,"connection-id",...]
where:
connection-idThe 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.
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.
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.
The following commands provide similar or related functionality: