English
Language : 

SH7137 Datasheet, PDF (965/1160 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer SuperH™ RISC engine Family
Section 22 Flash Memory
The FLER bit is set to 1 in the following conditions:
• When the relevant bank area of flash memory is read during programming/erasing (including a
vector read or an instruction fetch)
• When a SLEEP instruction (including software standby mode) is executed during
programming/erasing
Error protection is cancelled (FLER bit is cleared) only by a power-on reset.
Note that the reset signal should only be released after providing a reset input over a period longer
than the normal 100 µs. Since high voltages are applied during programming/erasing of the flash
memory, some voltage may still remain even after the error protection state has been entered. For
this reason, it is necessary to reduce the risk of damage to the flash memory by extending the reset
period so that the charge is released.
The state-transition diagram in figure 22.16 shows transitions to and from the error protection
state.
Program mode
Erase mode
Read disabled
Programming/erasing
enabled
FLER = 0
Error occurred
RES = 0
E(Srroofrtwoacrceusrrteadndby)RES = 0
Reset
(Hardware protection)
Read enabled
Programming/erasing disabled
FLER = 0
RES = 0
Programming/erasing interface
register is in its initial state.
Error protection mode Software standby mode
Error protection mode
(Software standby)
Read enabled
Programming/erasing disabled
FLER = 1
Cancel
Read disabled
Programming/erasing disabled
software standby mode
FLER = 1
Programming/erasing interface
register is in its initial state.
Figure 22.16 Transitions to and from Error Protection State
Rev. 2.00 Sep. 10, 2008 Page 939 of 1130
REJ09B0402-0200