List Of Debugger Input/Output Pins; External Connection; Flash Security Function - Epson S1C17M20 Technical Manual

Cmos 16-bit single chip microcontroller
Table of Contents

Advertisement

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.
Pin name
I/O
DCLK
O
DSIO
I/O
DST2
O
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.
Note: 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 cases, the
IC may not start up normally due to unstable pin input/output status at power on.

3.3.4 External Connection

Figure 3.3.4.1 shows a connection example between this IC and ICDmini when performing debugging.
For the recommended pull-up resistor value, refer to "Recommended Operating Conditions, DSIO pull-up resis-
tor R
" in the "Electrical Characteristics" chapter. R
DBG
purpose I/O port pin.

3.3.5 Flash Security Function

This IC provides a security function to protect the internal Flash memory from unauthorized reading and tampering
by using the debugger through ICDmini. Figure 3.3.5.1 shows a Flash security function setting flow.
Factory shipment inspection
Programming with
ROM data and password
IC with protected Flash
Figure 3.3.5.1 Shipment of IC with ROM Data Programmed and Flash Security Function Setting Flow
S1C17M20/M21/M22/M23/M24/M25
TECHNICAL MANUAL (Rev. 1.0)
Table 3.3.3.1 List of Debug Pins
Initial state
O
On-chip debugger clock output pin
Outputs a clock to the ICDmini (S5U1C17001H).
I
On-chip debugger data input/output pin
Used to input/output debugging data and input the break signal.
O
On-chip debugger status output pin
Outputs the processor status during debugging.
DCLK
V
DD
S1C17
DSIO
DST2
Figure 3.3.4.1 External Connection
EPSON
Submission
process
Shipment
Seiko Epson Corporation
Function
DCLK
ICDmini
(S5U1C17001H)
R
DBG
DSIO
DST2
is not required when using the DSIO pin as a general-
DBG
User
Specify the unprotecting password.
Development environment
(6–12 alphanumeric characters (A–Z, a–z, 0–9))
GNU17 IDE
ROM data and password are recorded.
file.PA
Mask data file
3 CPU AND DEBUGGER
3-3

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

S1c17m25S1c17m21S1c17m22S1c17m23S1c17m24

Table of Contents