Renesas H8S/2100 Series Hardware Manual page 755

6-bit single-chip microcomputer
Hide thumbs Also See for H8S/2100 Series:
Table of Contents

Advertisement

(4)
Flash Key Code Register (FKEY)
FKEY is a register for software protection that enables to download the on-chip program and
perform programming/erasing of the flash memory.
Bit
Bit Name
7
K7
6
K6
5
K5
4
K4
3
K3
2
K2
1
K1
0
K0
Initial
Value
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
Description
Key Code
When H'A5 is written to FKEY, writing to the SCO bit in
FCCS is enabled. When a value other than H'A5 is
written, the SCO bit cannot be set to 1. Therefore, the
on-chip program cannot be downloaded to the on-chip
RAM.
Only when H'5A is written can programming/erasing of
the flash memory be executed. When a value other than
H'5A is written, even if the programming/erasing
program is executed, programming/erasing cannot be
performed.
H'A5: Writing to the SCO bit is enabled. (The SCO bit
cannot be set to 1 when FKEY is a value other
than H'A5.)
H'5A: Programming/erasing of the flash memory is
enabled. (When FKEY is a value other than H'A5,
the software protection state is entered.)
H'00: Initial value
Rev. 1.00 May 09, 2008 Page 729 of 954
Section 24 Flash Memory
REJ09B0462-0100

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s/2112r

Table of Contents