h8s-2635 Renesas Electronics Corporation., h8s-2635 Datasheet - Page 807

no-image

h8s-2635

Manufacturer Part Number
h8s-2635
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2600 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
21A.7 Register Descriptions
21A.7.1 Flash Memory Control Register 1 (FLMCR1)
FLMCR1 is an 8-bit register used for flash memory operating mode control. Program-verify mode
or erase-verify mode for on-chip flash memory is entered by setting SWE bit to 1 when FWE = 1,
then setting the PV or EV bit. Program mode for on-chip flash memory is entered by setting SWE
bit to 1 when FWE = 1, then setting the PSU bit, and finally setting the P bit. Erase mode for on-
chip flash memory is entered by setting SWE bit to 1 when FWE = 1, then setting the ESU bit, and
finally setting the E bit. FLMCR1 is initialized by a reset, and in hardware standby mode and
software standby mode. Its initial value is H'80 when a high level is input to the FWE pin, and
H'00 when a low level is input. When on-chip flash memory is disabled, a read will return H'00,
and writes are invalid.
Writes are enabled only in the following cases: Writes to bit SWE of FLMCR1 enabled when
FWE = 1, to bits ESU, PSU, EV, and PV when FWE = 1 and SWE = 1, to bit E when FWE = 1,
SWE = 1 and ESU = 1, and to bit P when FWE = 1, SWE = 1, and PSU = 1.
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
0
1
Initial value:
R/W:
Description
When a low level is input to the FWE pin (hardware-protected state)
When a high level is input to the FWE pin
Bit:
FWE
— *
R
7
SWE
R/W
6
0
ESU
R/W
5
0
PSU
R/W
4
0
Rev. 6.00 Feb 22, 2005 page 747 of 1484
Section 21A ROM (H8S/2636 Group)
R/W
EV
3
0
R/W
PV
2
0
REJ09B0103-0600
R/W
E
1
0
R/W
P
0
0

Related parts for h8s-2635