Rev. 1.0, 02/00, page 1114 of 1141
H'FFF9: Flash Memory Control Register 2 FLMCR2: FLASH ROM
Flash memory error
Flash memory is operating normally
Flash memory program/erase protection (error protection) is disabled
[Clearing condition] Reset
(Initial value)
An error has occurred during flash memeory programming/erasing
Flash memory program/erase protection (error protection) is enabled
[Setting condition] See section 7.6.3, Error Protection
0
1
7
FLER
0
R
6
SWE2
0
R/W
5
ESU2
0
R/W
4
PSU2
0
R/W
3
EV2
0
R/W
0
P2
0
R/W
2
PV2
0
R/W
1
E2
0
R/W
Program2
Software write enable2
Writes are disabled
(Initial value)
Writes are enabled
[Setting condition] When FWE = 1
0
1
Erase-verify2
Erase-verify mode cleared
(Initial value)
Transition to erase-verify mode
[Setting condition] When FWE = 1 and SWE2 = 1
0
1
Program-verify2
Program-verify mode cleared
(Initial value)
Transition to program-verufy mode
[Setting condition] When FWE = 1 and SWE2 = 1
0
1
Program set-up2
Program set-up cleared
(Initial value)
Transition to program set-up status
[Setting condition] When FWE = 1 and SWE2 = 1
0
1
Erase set-up2
Erase set-up cleared
(Initial value)
Transition to erase set-up status
[Setting condition] When FWE = 1 and SWE2 = 1
0
1
Erase2
Erase mode cleared
(Initial value)
Transition to erase mode
[Setting condition] When FWE = 1,
SWE2 = 1, and ESU2 = 1
0
1
Program mode cleared (Initial value)
Transition to program mode
[Setting condition] When FWE = 1,
SWE2 = 1, and PSU2 = 1
0
1
Bit
Initial value
R/W
:
:
: