Page 6
Epson Research and Development
Vancouver Design Center
S1D13550
13505PLAY Diagnostic Utility
X23A-B-005-04
Issue Date: 01/02/02
Scripting
13505PLAY can be driven by a script file. This is useful when:
• there is no display output and a current register status is required.
• various registers must be quickly changed to view results.
A script file is an ASCII text file with one 13505PLAY command per line. All scripts must end with
a “q” (quit) command.
On a PC platform, a typical script command line might be:
“13505PLAY < dumpregs.scr > results.”
This causes the file “dumpregs.scr” to be interpreted as commands by 13505PLAY and the results
to be sent to the file “results.”
Example: Create an ASCII text file that contains the commands
i
,
xa
, and
q
.
; This file initializes the S1D13505 and reads the registers.
; Note: after a semicolon (;), all characters on a line are ignored.
; Note: all script files must end with the “q” command.
i
xa
q
Comments
• All numeric values are considered to be hexadecimal unless identified otherwise. For example,
10 = 10h = 16 decimal; 10t = 10 decimal; 010b = 2 decimal.
• Redirecting commands from a script file (PC platform) allows those commands to be executed as
though they were typed.
• When using a PC with the S5U13505 evaluation board, the PC must not have more than 12M
bytes of system memory.