
718
22.8
Protection
There are two kinds of flash memory program/erase protection, hardware protection and software
protection.
22.8.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), erase block register 1 (EBR1), and erase
block register 2 (EBR2). The FLMCR1, FLMCR2, EBR1, and EBR2 settings are retained in the
error-protected state. (See table 22.8.)
Table 22.8
Hardware Protection
Function
Item
Description
Program Erase
FWP pin
protection
•
When a high level is input to the FWP pin, FLMCR1,
FLMCR2, EBR1, and EBR2 are initialized, and the
program/erase-protected state is entered.
Yes
Yes
Reset/standby
protection
•
In a reset (including a WDT overflow reset) and in
standby mode, FLMCR1, FLMCR2, EBR1, and EBR2 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.
Yes
Yes
Summary of Contents for SH7041 Series
Page 2: ......
Page 6: ......
Page 38: ...xvi ...
Page 44: ...6 ...
Page 46: ...8 ...
Page 48: ...10 ...
Page 82: ...44 ...
Page 114: ...76 ...
Page 118: ...80 ...
Page 124: ...86 ...
Page 170: ...132 ...
Page 250: ...212 ...
Page 492: ...454 ...
Page 506: ...468 ...
Page 604: ...566 ...
Page 684: ...646 ...
Page 706: ...668 ...
Page 778: ...740 ...
Page 780: ...742 ...
Page 818: ...780 ...
Page 850: ...812 ...
Page 923: ...SH7040 SH7041 SH7042 SH7043 SH7044 SH7045 Group Hardware Manual REJ09B0044 0600O ...