Cmw (execute command file with wait), Ma (map information) – Epson S5U1C63000A User Manual

Page 239

Advertising
background image

CHAPTER 8: DEBUGGER

S5U1C63000A MANUAL

EPSON

225

(S1C63 FAMILY ASSEMBLER PACKAGE)

cmw

(execute command file with wait)

Function

This command reads a command file and executes the debug commands written in that file at prede-
termined time intervals.
The execution interval of each command can be set in a range of 1 to 256 seconds (in 1-second incre-
ments) using the md command. In the initial debugger settings, the execution interval is 1 second.

Format

(1) >cmw <file name>

(direct input mode)

(2) >cmw

(guidance mode)

File name ? <file name>

>

(Display execution progress)

<file name>: Command file name (path can also be specified)

Examples

Format (1)

>cmw batch1.cmd

>.....

Format (2)

>cmw

File name ? test.cmd

>.....

Notes

• Any contents other than commands cannot be written in the command file.

• An error results if the file you specified does not exist.

Error : Cannot open file

• Another command file can be read from a command file. However, the nesting of command files is

limited to a maximum of 5 levels. An error results if a cmw (or com) command at the sixth level is
encountered, the commands in the file specified by that cmw (or com) command will not be executed,
but the subsequent execution of the commands in upper level files will be executed continuously.

Error : Maximum nesting level(5) is exceeded, cannot open file

• If the cmw command is written in the command file that you want to be read by the com command,

all other commands following that command in the file (even when a com command is included) will
be executed at predetermined time intervals.

• Use the hot key ([CTRL]+[Q]) to stop executing a command file.

GUI utility

None
However, the same function as the cmw can be executed using [Command File...] in the [Run] menu
(see the com command).

Advertising