System Control Register 2 (Syscr2); Ram Emulation Register (Ramer) - Renesas H8S Series Hardware Manual

16-bit single-chip microcomputer
Hide thumbs Also See for H8S Series:
Table of Contents

Advertisement

19.7.4

System Control Register 2 (SYSCR2)

Bit
Initial value
Read/Write
SYSCR2 is an 8-bit readable/writable register that controls on-chip flash memory (in F-ZTAT versions).
SYSCR2 is initialized to H'00 by a reset and in hardware standby mode.
SYSCR2 is available only in the F-ZTAT version. In the masked ROM and ZTAT versions, this register cannot be
written to and will return an undefined value if read.
Bits 7 to 4—Reserved: These bits cannot be modified and are always read as 0.
Bit 3—Flash Memory Control Register Enable (FLSHE): Controls CPU access to the flash memory control registers
(FLMCR1, FLMCR2, EBR1, and EBR2). Setting the FLSHE bit to 1 enables read/write access to the flash memory
control registers. If FLSHE is cleared to 0, the flash memory control registers are deselected. In this case, the flash
memory control register contents are retained.
Bit 3
FLSHE
0
1
Bits 2 to 0—Reserved: These bits cannot be modified and are always read as 0.
19.7.5

RAM Emulation Register (RAMER)

RAMER specifies the area of flash memory to be overlapped with part of RAM when emulating real-time flash memory
programming. RAMER is initialized to H'00 by a reset and in hardware standby mode. It is not initialized in software
standby mode. RAMER settings should be made in user mode or user program mode.
Flash memory area divisions are shown in table 19-13. To ensure correct operation of the emulation function, the ROM
for which RAM emulation is performed should not be accessed immediately after this register has been modified. Normal
execution of an access immediately after register modification is not guaranteed.
Bit:
Initial value:
R/W:
Bits 7 to 3—Reserved: These bits are always read as 0.
Rev.6.00 Oct.28.2004 page 586 of 1016
REJ09B0138-0600H
7
6
5
0
0
0
Description
Flash control registers deselected in area H'FFFFC8 to H'FFFFCB
Flash control registers selected in area H'FFFFC8 to H'FFFFCB
7
6
5
0
0
0
4
3
2
FLSHE
0
0
0
R/W
4
3
2
RAMS
0
0
0
R/W
1
0
0
0
(Initial value)
1
0
RAM1
RAM0
0
0
R/W
R/W

Advertisement

Table of Contents
loading

Table of Contents