Freescale Semiconductor Motorola MMDS0508 Operation Manual page 166

Motorola modular development system
Table of Contents

Advertisement

Command-Line Commands
SCRIPT
NOTE:
166
Freescale Semiconductor, Inc.
Execute Script File
The SCRIPT command executes a script file, which contains a
sequence of emulator commands. Executing the script file has the same
effect as executing the individual commands one after another. This
makes a script file convenient for any sequence of commands that is
needed often, such as unit test or initialization command sequences.
The REM and WAIT commands are useful primarily within script files.
The REM command allows a comment to be displayed while the script
file executes. The WAIT command establishes a delay between the
execution of commands of the script file.
A script file can contain the SCRIPT command. Script files can be nested
as many as 15 levels deep.
If the script file has the filename STARTUP.05, the script file will be
executed each time the MMDS is started.
Syntax:
SCRIPT < filename >
Where:
< filename >
The name of the script file to be executed. An
extension of .SCR is the default and can be
omitted. The extension must be specified for
files with other extensions. A path name
followed by the asterisk (*) wildcard character
can be entered. In that case, the command
displays a window that lists the script files in the
specified directory that have the .SCR
extension. A file can be selected from the list.
Examples:
>SCRIPT INIT.SCR Execute commands in file INIT.SCR.
>SCRIPT *
>SCRIPT A:*
>SCRIPT B:*.xyz
extension
Command-Line Commands
For More Information On This Product,
Go to: www.freescale.com
Display all .SCR files, then execute the
selected file.
Display all .SCR files in drive A, then
execute the selected file.
Display all drive B files that have the
.xyz then execute the selected file.
SCRIPT
MMDS0508OM/D
MOTOROLA

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mmds0508

Table of Contents