Download Print this page

Hitachi H8S/2633 Hardware Manual page 805

Advertisement

Writes are enabled only in the following cases: Writes to bit SWE1 of FLMCR1 enabled when
FWE = 1, to bits ESU1, PSU1, EV1, and PV1 when FWE = 1 and SWE1 = 1, to bit E1 when
FWE = 1, SWE1 = 1 and ESU1 = 1, and to bit P1 when FWE = 1, SWE1 = 1, and PSU1 = 1.
Bit:
Initial value:
R/W:
Note: * Determined by the state of the FWE pin.
Bit 7—Flash Write Enable Bit (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
Bit 6—Software Write Enable Bit 1 (SWE1): This bit selects write and erase valid/invalid of the
flash memory. Set it when setting bits 5 to 0, bits 7 to 0 of EBR1, and bits 3 to 0 of EBR2.
Bit 6
SWE1
Description
0
Writes disabled
1
Writes enabled
[Setting condition]
When FWE = 1
Bit 5—Erase Setup Bit 1 (ESU1): Prepares for a transition to erase mode. Set this bit to 1 before
setting the E1 bit in FLMCR1 to 1. Do not set the SWE1, PSU1, EV1, PV1, E1, or P1 bit at the
same time.
Bit 5
ESU1
Description
0
Erase setup cleared
1
Erase setup
[Setting condition]
When FWE = 1 and SWE1 = 1
790
7
6
FWE
SWE1
ESU1
—*
0
R
R/W
5
4
PSU1
0
0
R/W
R/W
3
2
EV1
PV1
0
0
R/W
R/W
1
0
E1
P1
0
0
R/W
R/W
(Initial value)
(Initial value)

Advertisement

loading

This manual is also suitable for:

Hd6432633Hd6432631Hd64f2633H8s/2632Hd6432632H8s/2631