RESTART

Restart the target system.

Syntax

RESTART ["filename"] [/ioport] [/powergood]

Parameters

filename

The batch file to be executed. If the file is not located in the working directory, you must enter its entire path.

/ioport

The reset is performed by accessing a specified I/O port.

/powergood

The reset is performed by toggling the powergood signal on the debug port.

Description

This command restarts the target system by asserting the RESET pin of the CPU by default (if no parameter is given). The execution is stopped at the reset vector, if supported by the target platform. When a batch file name is specified, the procedure of restarting the target and executing the batch file is as follows:

  • Enabled and disabled code/data breakpoints are temporarily saved and deleted.

  • The debugger executes a restart of the target by asserting a CPU RESET signal.

  • The execution stops at the reset vector.

  • The batchfile specified as file is executed.

  • All enabled/disabled code/data breakpoints are restored.

If /IOPORT is set, the reset is performed by accessing a specified I/O port.

If /POWERGOOD is set, the reset is performed by toggling the powegood signal on the debug port.

Note

The /IOPORT and/or /POWERGOOD options are not supported by all targets and/or target connection methods. A message like "Unsupported reset type" will be printed out on the console in that case.

Example

RESTART
RESTART "control.xdb"
RESTART "C:\test\demo.xdb"
RESTART /IOPORT
RESTART /POWERGOOD
For more complete information about compiler optimizations, see our Optimization Notice.