CHAPTER 8: DEBUGGER

8.9.16 Command Filecom (execute command file)

Function

This command reads a command file and executes the debug commands written in that file. You can execute the commands successively, or set an interval between each command execution.

 

Format

 

 

(1)

>com <file name> [<interval>]

(direct input mode)

(2)

>com

(guidance mode)

 

 

File name ? <file name>

 

 

 

Execute commands 1. successively 2. with wait ...? <1 2>

 

 

Interval (0 - 256 seconds) : <interval>

(appears only when "2. With wait" is selected)

>(Display execution progress)

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

<interval>: Interval (wait seconds) between each command; decimal (0–256)

Examples

 

 

 

 

Format (1)

 

 

 

 

>com batch1.cmd

... Commands in "batch1.com" are executed successively.

>.....

 

Format (2)

 

 

 

 

>com

? test.cmd

 

 

File name

 

...? 2

Execute commands

1. successively

2. with wait

Wait time (0 - 256 seconds) : 2

 

 

>.....

 

... 2 sec. of interval is inserted after each command execution.

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 com (or cmw) command at the sixth level is encountered, the commands in the file specified by that com (or cmw) 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 you specify an interval more than 256 seconds, it is set to 256 by default.

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

GUI utility

[Run Command File …] menu item

When this menu item is selected, a dialog box appears allowing selection of a command file.

Enter an interval and a file name, then click [OK]. The file name can be selected using a standard file selection dialog box that appears by clicking [Browse...].

224

EPSON

S5U1C63000A MANUAL

 

 

(S1C63 FAMILY ASSEMBLER PACKAGE)