Flash Programming; Flash Security Function; Ram - Epson S1C17M01 Technical Manual

Cmos 16-bit single chip microcontroller
Table of Contents

Advertisement

4.3.3 Flash Programming

The Flash memory supports on-board programming, so it can be programmed with the ROM data by using the de-
bugger through an ICDmini. Figure 4.3.3.1 shows a connection diagram for on-board programming.
The V
pin must be left open except when programming the Flash memory. However, it is not necessary to discon-
PP
nect the wire when using ICDmini to supply the V
it will be supplied during Flash programming only. When supplying the V
for stabilizing the V
voltage.
PP
For detailed information on ROM data programming method, refer to the "(S1C17 Family C Compiler Package)
S5U1C17001C Manual." The IC can also be shipped after being programmed in the factory with the ROM data
developed. Should you desire to ship the IC with ROM data programmed from the factory, please contact our cus-
tomer support.

4.3.4 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 4.3.4.1 shows a Flash security function setting flow.
Programming with
Factory shipment inspection
ROM data and password
IC with protected Flash
Figure 4.3.4.1 Shipment of IC with ROM Data Programmed and Flash Security Function Setting Flow
The following shows the status of the IC with protected Flash:
• The Flash memory data is undefined if it is read from the debugger.
• An error occurs if an attempt is made to program the Flash memory through ICDmini.
However, the Flash security function can be disabled by entering the unprotecting password predefined to GNU17
IDE (the security function will take effect again after a reset). For setting the password, refer to the "(S1C17 Fam-
ily C Compiler Package) S5U1C17001C Manual."
Note: Disable the Flash security function before debugging an IC with protected Flash via ICDmini. The
debugging functions may not run normally if the Flash security function is enabled.

4.4 RAM

The RAM can be used to execute the instruction codes copied from another memory as well as storing variables or
other data. This allows higher speed processing and lower power consumption than Flash memory.
Note: The 64 bytes at the end of the RAM is reserved as the debug RAM area. When using the debug
functions under application development, do not access this area from the application program.
This area can be used for applications of mass-produced devices that do not need debugging.
S1C17M01 TECHNICAL MANUAL
(Rev. 1.2)
DCLK
V
DD
S1C17
R
DSIO
DST2
V
PP
C
Figure 4.3.3.1 External Connection
power source, as ICDmini controls the power supply so that
PP
EPSON
Submission
process
Shipment
Seiko Epson Corporation
DCLK
ICDmini
(S5U1C17001H)
DBG
DSIO
DST2
Flash V
OUT
CC
VPP
power source, be sure to connect C
PP
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
4 MEMORY AND BUS
VPP
4-3

Advertisement

Table of Contents
loading

Table of Contents