S5U1C63000H2 MANUAL
EPSON
9
(S1C63 FAMILY IN-CIRCUIT EMULATOR)
CHAPTER 4: GETTING STARTED
CHAPTER
4 G
ETTING
S
TARTED
There are two operation modes in the S5U1C63000H2. One is ICE mode to be started with the debugger
in connection with a host machine (the ICE/RUN switch on the front panel is set to ICE side) and the
other one is free run mode to run a target program without a host machine (the ICE/RUN switch is set to
RUN side).
4.1 Operation in ICE Mode
After the S5U1C63000H2 and the host machine is connected with the RS232C cable and the ICE/RUN
switch is set to ICE side, turn the host machine and S5U1C63000H2 power on. It enables the
S5U1C63000H2 to be controllable by the host machine and the debugger can be executed on the host.
Following shows the operation sequence of the S5U1C63000H2 after power-on.
(1) Turning the S5U1C63000H2 power on
The power LED (green) is on, and the SLP/HLT LED (yellow) is momentary on. The PC8 and PC4
LEDs (red) go on (program counter is 110H).
(2) Starting the debugger
Upon starting the debugger on the host, the SLP/HLT LED (yellow) goes momentary on.
(3) Execution of a target program
When the debugger starts execution of a target program, the EMU LED (red) is turned on to indicate
the emulation mode. While the target program is executed, the PC LEDs (red) indicate the current
program counter value. When the SLP or HLT instruction is executed, the SLP/HLT LED (yellow)
goes on and the PC LEDs (red) stop.
(4) Occurrence of a break
When the target program stops at the break point set with the debugger, the EMU LED (red) goes off
and the PC LEDs (red) stops at the break address. The break address means the program counter of
next execution.
4.2 Operation in Free Run Mode
By turning the S5U1C63000H2 power on after the ICE/RUN switch located on the front panel is set to
RUN side, the S5U1C63000H2 enters in the free run mode that executes the target program continuously.
Following shows the execution flow of the target program in the free run mode.
(1) Turning the S5U1C63000H2 power on
The power LED (green) is on, and the SLP/HLT LED (yellow) is momentary on. PC8 and PC4 LEDs
(red) go on (program counter is 110H).
(2) Setting data from flash memory
The S5U1C63000H2 read the configuration information and various mask option information for each
model from the built-in flash memory and set them to the controller. The target program is also read
from the flash memory and transferred to the built-in emulation memory.
(3) Execution of the target program
The S5U1C63000H2 executes the target program from the reset address. The PC LEDs (red) indicate
the current program counter position during execution. When the SLP or HALT instruction is ex-
ecuted, the SLP/HLT LED (yellow) goes on and the PC LEDs (red) stop.