hd64338342hw Renesas Electronics Corporation., hd64338342hw Datasheet - Page 210

no-image

hd64338342hw

Manufacturer Part Number
hd64338342hw
Description
Renesas 8-bit Single-chip Microcomputer H8 Family/h8/300l Super Low Power Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 6 ROM
6.6.2
FLMCR2 is a register that displays the state of flash memory programming/erasing. FLMCR2 is a
read-only register, and should not be written to.
Bit 7—Flash Memory Error (FLER)
This bit is set when the flash memory detects an error and goes to the error-protection state during
programming or erasing to the flash memory. See section 6.9.3, Error Protection, for details.
Bit 7
FLER
0
1
Bits 6 to 0—Reserved
These bits are always read as 0 and cannot be modified.
6.6.3
EBR specifies the flash memory erase area block. EBR is initialized to H'00 when the SWE bit in
FLMCR1 is 0. Do not set more than one bit at a time, as this will cause all the bits in EBR to be
automatically cleared to 0. When each bit is set to 1 in EBR, the corresponding block can be
erased. Other blocks change to the erase-protection state. See table 6.7 for the method of dividing
blocks of the flash memory. When the whole bits are to be erased, erase them in turn in unit of a
block.
Rev. 6.00 Aug 04, 2006 page 174 of 680
REJ09B0145-0600
Bit
Initial value
Read/Write
Bit
Initial value
Read/Write
Flash Memory Control Register 2 (FLMCR2)
Erase Block Register (EBR)
The flash memory operates normally.
Indicates that an error has occurred during an operation on flash memory
(programming or erasing).
Description
FLER
R/W
EB7
R
7
0
7
0
R/W
EB6
6
0
6
0
R/W
EB5
5
0
5
0
EB4
R/W
4
0
4
0
EB3
R/W
3
0
3
0
EB2
R/W
2
0
2
0
EB1
R/W
1
0
1
0
(initial value)
EB0
R/W
0
0
0
0

Related parts for hd64338342hw