Wait – Freescale Semiconductor Microcontrollers User Manual

Page 834

Advertising
background image

Debugger Engine Commands

Debugger Commands

834

Microcontrollers Debugger Manual

Procedure 6.0.10

Register 6.0.14

Memory 6.0.19

Data 6.0.27

Data 6.0.27

Simulator Target 6.0.17

Command Line 6.0.16

In the Command Line component window, Debugger engine and components
versions are displayed.

WAIT

The WAIT command pauses command file execution for a time in tenths of second or
pauses until the target is halted when the option “;s is set.

When no parameter is specified, it pauses for 50 tenths of a second (5 seconds).

When only time is specified, execution of the command file is halted for the specified
time.

When only ;s is specified, execution of the command file is halted until the target is
halted. If the target is already halted, command file execution is not halted.

When time and ;s are specified:

If the target is running, command file execution is halted for the specified time only if the
target is not halted. If the target is halted during the specified period of time (while
command file execution is pending), the time delay is ignored and the command file is
run.

If the target is already halted, command file execution is not halted (time delay is ignored).

NOTE

The Wait instruction ends as soon as the PC is changed.

Usage

WAIT [time] [;s]

Components

Debugger engine.

Advertising