5 ICD Mode
14
Seiko Epson Corporation
S5U1C17001H USER MANUAL
(ICDMINI VER1.0 and VER1.1)
5.2.2 When the TARGET RST OUT Signal is Connected
When the TARGET RST OUT signal is connected to the reset input on the target system, just press the RESET/
START switch on the S5U1C17001H for starting up. The S5U1C17001H automatically generates a target reset
signal with the proper connection sequence.
(1) Press the RESET/START switch on the S5U1C17001H.
LED1
(white)
LED2
(white)
LED3
(white)
LED4
l
(out)
(2) Release the RESET/START switch on the S5U1C17001H.
When the S5U1C17001H has been connected to the target S1C processor normally
LED1
l
(blue) or
l
(green)
LED2
l
(blue)
LED3
l
(out)
LED4
l
(green)
When the S5U1C17001H has not been connected to the target system
LED1
l
(blue) or
l
(green)
LED2
l
(blue)
LED3
l
(red)
LED4
l
(out)
In this case, retry from Step (1).
5.3 Starting Up the Debugger
Start up the debugger (gdb.exe) on the PC after the connection between the S5U1C17001H and the target S1C
processor has been established by the operations described above.
When debugging using the debugger with the S5U1C17001H connected, the debugger must be set to ICD Mini
mode by executing the target command.
(gdb) target icd usb
f
Command to set the debugger in ICD Mini mode
For the debug commands and how to operate the debugger, refer to the “S5U1C17001C Manual (C Compiler
Package for S1C17 Family).”
* When
(gdb) target sim
is executed, the software simulator starts up.
Note: Before disconnecting the S5U1C17001H from the host computer, be sure to terminate the
debugger.
5.4 Connection Test
The S5U1C17001H has a connection test feature to diagnose if it can communicate with the target system properly
when the debugger (gdb.exe) starts up. Perform the connection test, for example, when the S5U1C17001H does
not start up by the correct procedure. Use the DIP switch to select whether the connection test will be omitted or
executed.
Omitting the connection test (default)
When SW6 is set to OPEN, the S5U1C17001H will omit the connection test at the start up of the debugger (gdb.exe).
Executing the connection test
When SW6 is set to ON, the S5U1C17001H will execute the connection test at the start up of the debugger (gdb.exe).