Rev. 2.0, 11/00, page 150 of 1037
7.6
Flash Memory Protection
There are three kinds of flash memory program/erase protection: hardware protection, software
protection, and error protection.
7.6.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 registers 1
and 2 (FLMCR1, FLMCR2) and erase block registers 1 and 2 (EBR1, EBR2). In error
protection mode, FLMCR1, FLMCR2, EBR1 and EBR2 settings are retained. (See table 7.7.)
Table 7.7
Hardware Protection
Functions
Item
Description
Program
Erase
FWE pin
protection
•
When a low level is input to the FWE 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
power-down state (excluding the medium-speed
mode, module stop mode, and sleep mode),
FLMCR1, FLMCR2 (excluding the FLER bit), EBR1,
and EBR2 are initialized, and the program/erase-
protected state is entered
•
In a reset via the
5(6
pin, the reset state is not
entered unless the
5(6
pin is held low until oscillation
stabilizes after powering on. In the case of a reset
during operation, hold the
5(6
pin low for the
5(6
pulse width specified in the AC characteristics section
Yes
Yes
Summary of Contents for Hitachi H8S/2191
Page 123: ...Rev 2 0 11 00 page 96 of 1037...
Page 149: ...Rev 2 0 11 00 page 122 of 1037...
Page 197: ...Rev 2 0 11 00 page 170 of 1037...
Page 247: ...Rev 2 0 11 00 page 220 of 1037...
Page 249: ...Rev 2 0 11 00 page 222 of 1037...
Page 347: ...Rev 2 0 11 00 page 320 of 1037...
Page 357: ...Rev 2 0 11 00 page 330 of 1037...
Page 417: ...Rev 2 0 11 00 page 390 of 1037...
Page 431: ...Rev 2 0 11 00 page 404 of 1037...
Page 439: ...Rev 2 0 11 00 page 412 of 1037...
Page 457: ...Rev 2 0 11 00 page 430 of 1037...
Page 525: ...Rev 2 0 11 00 page 498 of 1037...
Page 543: ...Rev 2 0 11 00 page 516 of 1037...
Page 845: ...Rev 2 0 11 00 page 818 of 1037...