7.7
Protection
There are three kinds of flash memory program/erase protection: hardware protection, software
protection, and error protection.
7.7.1
Hardware Protection
Hardware protection refers to a state in which programming/erasing of flash memory is forcibly
disabled or aborted. Hardware protection is reset by settings in flash memory control register 1
(FLMCR1), flash memory control register 2 (FLMCR2), and erase block register 1 (EBR1).
Table 7.8
Hardware Protection
Item
Reset/standby
protection
Description
•
In a power-on reset (including a WDT
power-on reset) and in standby mode,
FLMCR1, FLMCR2, and EBR1 are
initialized, and the program/erase-
protected state is entered.
•
In a reset via the RES pin, the reset state
is not entered unless the RES pin is held
low until oscillation stabilizes after
powering on. In the case of a reset during
operation, hold the RES pin low for the
RES pulse width specified in the AC
Characteristics section.
Functions
Program
Erase
Yes
Yes
119