Rev. 2.0, 11/00, page 179 of 1037
8.3
Flash Memory Register Descriptions
8.3.1
Flash Memory Control Register 1 (FLMCR1)
7
FWE
—
*
R
6
SWE
0
R/W
5
ESU1
0
R/W
4
PSU1
0
R/W
3
EV1
0
R/W
0
P1
0
R/W
2
PV1
0
R/W
1
E1
0
R/W
Bit
Initial value
R/W
:
:
:
Note:
*
Determined by the state of the FWE pin.
FLMCR1 is an 8-bit register used for flash memory operating mode control. Program-verify
mode or erase-verify mode for addresses H'00000 to H'1FFFF is entered by setting SWE to 1
while FWE is 1 and then setting the EV1 bit or PV1 bit. Program mode for addresses H'00000
to H'1FFFF is entered by setting SWE to 1 while FWE is 1, then setting the PSU1 bit, and finally
setting the P1 bit. Erase mode for addresses H'00000 to H'1FFFF is entered by setting SWE to 1
while FWE is 1, then setting the ESU1 bit, and finally setting the E1 bit. FLMCR1 is initialized
by a reset, in power-down state (excluding the medium-speed mode, module stop mode, and
sleep mode), or when a low level is input to the FWE pin. When a high level is input to the
FWE pin, its initial value is H'80 and when a low level is input, its initial value is H'00.
Writes to the SWE, ESU1, PSU1, EV1, and PV1 bits in FLMCR1 are enabled only when FWE =
1 and SWE = 1; writes to the E1 bit only when FWE = 1, SWE = 1, and ESU1 = 1; and writes to
the P1 bit only when FWE = 1, SWE = 1, and PSU1 = 1.
Bit 7: Flash Write Enable (FWE)
Sets hardware protection against flash memory programming/erasing.
Bit 7
FWE
Description
0
When a low level is input to the FWE pin (hardware-protected state)
1
When a high level is input to the FWE pin
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...