Datasheet
Section 19 ROM
Rev.6.00 Sep. 27, 2007 Page 886 of 1268
REJ09B0220-0600
FLER bit setting conditions are as follows:
• When flash memory is read during programming/erasing (including a vector read or instruction
fetch)
• Immediately after exception handling (excluding a reset) during programming/erasing
• When a SLEEP instruction (including software standby) is executed during
programming/erasing
• When a bus master other than the CPU (the DMAC or DTC) has control of the bus during
programming/erasing
Error protection is released only by a reset and in hardware standby mode.
Figure 19.73 shows the flash memory state transition diagram.
RD VF PR ER
FLER = 0
Error
occurrence
RES = 0 or STBY = 0
RES = 0 or
STBY = 0
RD VF PR ER
FLER = 0
Normal operating mode
Program mode
Erase mode
Reset or hardware standby
(hardware protection)
RD VF PR ER
FLER = 1
RD VF PR ER
FLER = 1
Error protection mode
Error protection mode
(software standby)
Software
standby mode
FLMCR1, FLMCR2 (except FLER
bit), EBR1, EBR2 initialization state
FLMCR1, FLMCR2,
EBR1, EBR2
initialization state
Software standby
mode release
RD: Memory read possible
VF: Verify-read possible
PR: Programming possible
ER: Erasing possible
RD: Memory read not possible
VF: Verify-read not possible
PR: Programming not possible
ER: Erasing not possible
Legend:
RES = 0 or
STBY = 0
Error occurrence
(software standby)
Figure 19.73 Flash Memory State Transitions