6
Flash Control Register 2 (FCNT2)
b8
9
10
0
0
0
b
Bit Name
8–14
No function assigned. Fix to "0".
15
FPROT
Unlock bit
Flash Control Register 2 (FCNT2) controls invalidation of the internal flash memory protection by a lock bit
(protection against programming/erase operation). Protection of the internal flash memory is invalidated by
setting the FPROT bit to "1", so that any blocks protected by a lock bit can now be programmed or erased.
To set the FPROT bit to "1", write "0" and then "1" to the FPROT bit in succession while the FENTRY bit = "1". To
clear the FPROT bit to "0", write "0" to the FPROT bit.
If one of the following operations is attempted, the FPROT bit is cleared to "0".
1) Writing "0" to the FPROT bit
2) Entering a low-level signal to the FP pin
3) Clearing the FENTRY bit to "0"
4) Entering a low-level signal to the RESET# pin
Figure 6.4.1 Protection Unlocking Flow
6.4 Registers Associated with the Internal Flash Memory
11
12
13
14
0
0
0
0
FENTRY = 1
YES
FPROT = 0
FPROT = 1
b15
FPROT
0
Function
0: Protection by lock bit effective
1: Protection by lock bit invalidated
NO
FENTRY = 1
FPROT is not set to 1 if a write cycle
to any other area occurs during this time.
6-8
INTERNAL MEMORY
<Address: H'0080 01E3>
<After reset: H'00>
R
R
32180 Group User's Manual (Rev.1.0)
W
0
0
W