3 CPU AND DEBUGGER
S1C17M12/M13 TECHNICAL MANUAL
Seiko Epson Corporation
3-3
(Rev. 1.2)
3.3.2 Resource Requirements and Debugging Tools
Debugging work area
Debugging requires a 64-byte debugging work area. For more information on the work area location, refer to
the “Memory and Bus” chapter. The start address of this debugging work area can be read from the DBRAM
register.
Debugging tools
To perform debugging, connect ICDmini (S5U1C17001H) to the input/output pin for the debugger embedded
in this IC and control it from the personal computer. This requires the tools shown below.
• S1C17 Family In-Circuit Debugger ICDmini (S5U1C17001H)
• S1C17 Family C Compiler Package (e.g., S5U1C17001C)
3.3.3 List of Debugger Input/Output Pins
Table 3.3.3.1 lists the debug pins.
Table 3.3.3.1 List of Debug Pins
Pin name
I/O
Initial state
Function
DCLK
O
O
On-chip debugger clock output pin
Outputs a clock to the ICDmini (S5U1C17001H).
DSIO
I/O
I
On-chip debugger data input/output pin
Used to input/output debugging data and input the break signal.
DST2
O
O
On-chip debugger status output pin
Outputs the processor status during debugging.
The debugger input/output pins are shared with general-purpose I/O ports and are initially set as the debug pins. If
the debugging function is not used, these pins can be switched to general-purpose I/O port pins. For details, refer to
the “I/O Ports” chapter.
Notes: • Do not drive the DCLK pin with a high level from outside (e.g. pulling up with a resistor). Also,
do not connect (short-circuit) between the DCLK pin and another GPIO port. In the both cas-
es, the IC may not start up normally due to unstable pin input/output status at power on.
• Do not drive the DSIO pin with a low level from outside, as it generates a debug interrupt that
puts the CPU into DEBUG mode.
3.3.4 External Connection
Figure 3.3.4.1 shows a connection example between this IC and ICDmini when performing debugging.
DCLK
DSIO
DST2
DCLK
DSIO
DST2
V
DD
ICDmini
(S5U1C17001H)
S1C17
R
DBG
Figure 3.3.4.1 External Connection
For the recommended pull-up resistor value, refer to “Recommended Operating Conditions, DSIO pull-up resis-
tor R
DBG
” in the “Electrical Characteristics” chapter. R
DBG
is not required when using the DSIO pin as a general-
purpose I/O port pin.