559
17.6.5
Register Configuration
The registers used to control the on-chip flash memory when enabled are shown in table 17.11.
In order for these registers to be accessed, the FLSHE bit must be set to 1 in SYSCR2.
Table 17.11 Flash Memory Registers
Register Name
Abbreviation
R/W
Initial Value
Address
*
1
Flash memory control register 1
FLMCR1
*
6
R/W
*
3
H'00
*
4
H'FFC8
*
2
Flash memory control register 2
FLMCR2
*
6
R/W
*
3
H'00
*
5
H'FFC9
*
2
Erase block register 1
EBR1
*
6
R/W
*
3
H'00
*
5
H'FFCA
*
2
Erase block register 2
EBR2
*
6
R/W
*
3
H'00
*
5
H'FFCB
*
2
System control register 2
SYSCR2
R/W
H'00
H'FF42
RAM emulation register
Notes: 1. Lower 16 bits of the address.
2. Flash memory registers share addresses with other registers. Register selection is
performed by the FLSHE bit in the system control register 2 (SYSCR2).
3. In modes in which the on-chip flash memory is disabled (modes 4 and 5), a read will
return H'00, and writes are invalid. Writes are also disabled when the FWE bit is cleared
to 0 in FLMCR1.
4. When a high level is input to the FWE pin, the initial value is H'80.
5. When a low level is input to the FWE pin, or if a high level is input and the SWE bit in
FLMCR1 is not set, these registers are initialized to H'00.
6. FLMCR1, FLMCR2, EBR1, and EBR2 are 8-bit registers. Only byte accesses are valid
for these registers, the access requiring 2 states.
RAMER
R/W
H'00
H'FEDB
The registers listed in table 7.11 are enabled on the F-ZTAT version only. They do not exist
on the ZTAT, mask ROM, and ROMless versions, so an undefined value will be returned if
they are read, and it is not possible to write to these registers.