INTERNAL MEMORY
6.4 Registers Associated with the Internal Flash Memory
6
Flash Control Register 2 (FCNT2)
<Address: H’0080 01E3>
b8
9
10
11
12
13
14
b15
FPROT
0
0
0
0
0
0
0
0
<After reset: H’00>
b
Bit Name
Function
R
0
W
0
8–14
15
No function assigned. Fix to "0".
FPROT
0: Protection by lock bit effective
1: Protection by lock bit invalidated
R
W
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
NO
FENTRY = 1
YES
FENTRY = 1
FPROT = 0
FPROT is not set to 1 if a write cycle
to any other area occurs during this time.
FPROT = 1
Figure 6.4.1 Protection Unlocking Flow
32180 Group User’s Manual (Rev.1.0)
6-8