2.3.24. CANCEL

Cancels, or interrupts, the execution of commands.




The CANCEL command enables you to interrupt, or cancel, an asynchronous command that is still executing. It is equivalent to the Cancel toolbar icon. If the target is running, only commands that can definitely be run with a running target are executed. Other commands are held in a queue for execution when the target stops. This is called pending the command. Use the CANCEL command to clear pending commands from the list, to stop them being executed.

The CANCEL command can be used to interrupt a script that has been started using Tools → Include Commands from File..., or the Scripts toolbar.

You cannot use this command to halt target execution. Use HALT to do this.


Synchronous commands can only be run when target program execution has stopped.

Asynchronous commands can be run at all times.

See also

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