444
Bit 0—Program (P): Selects program mode transition or clearing. Do not set the SWE, PSU,
ESU, EV, PV, or E bit at the same time.
Bit 0
P
Description
0
Program mode cleared
(Initial value)
1
Transition to program mode
*
[Setting condition]
When FWE = 1, SWE = 1, and PSU = 1
Note:
*
Do not access flash memory while the P bit is set to 1.
15.5.2
Flash Memory Control Register 2 (FLMCR2)
FLMCR2 is an 8-bit register used for flash memory operating mode control. FLMCR2 is
initialized to H'00 by a power-on reset, and in hardware standby mode and software standby mode.
When on-chip flash memory is disabled, a read will return H'00.
Note:
FLMCR2 is a read-only register; it must not be written to.
Bit:
7
6
5
4
3
2
1
0
FLER
—
—
—
—
—
—
—
Initial value:
0
0
0
0
0
0
0
0
R/W:
R
R
R
R
R
R
R
R
Bit 7—Flash Memory Error (FLER): Indicates that an error has occurred during an operation on
flash memory (programming or erasing). When FLER is set to 1, flash memory goes to the error-
protection state.