Figure 19.2 Example Of Rom Area/Ram Area Overlap; Table 19.6 Ram Area Setting - Hitachi H8/3062 Hardware Manual

Single-chip microcomputer h8/3062 series; h8/3062b series; h8/3062f-ztat series; h8/3064f-ztat series
Hide thumbs Also See for H8/3062:
Table of Contents

Advertisement

When 1 is written to the RAMS bit, all flash memory blocks are protected from programming and
erasing.
Bits 2 and 1—RAM2 and RAM1: These bits are used with bit 3 to reassign an area to RAM (See
table 19.6). The initial setting for this bit is 0 in modes 5, 6, and 7 (internal flash memory enabled)
and programming is enabled * . In modes other than 5 to 7, 0 is always read and writing is disabled.
These bits are initialized by a reset and in hardware standby mode. They are not initialized in
software standby mode.
Bit 0—Reserved: This bit cannot be modified and is always read as 1.
Note: * Flash memory emulation by RAM is not supported for mode 6 (single chip normal mode),
so programming is possible, but do not set 1.
When performing flash memory emulation by RAM, the RAME bit in SYSCR must be set
to 1.

Table 19.6 RAM Area Setting

RAM Area
H'FFF000–H'FFF3FF
H'000000–H'0003FF
H'000400–H'0007FF
H'000800–H'000BFF
H'000C00–H'000FFF
H'000000
H'0003FF
H'000400
ROM blocks
EB0–EB3
H'0007FF
(H'000000–
H'000800
H'000FFF)
H'000BFF
H'000C00
H'000FFF

Figure 19.2 Example of ROM Area/RAM Area Overlap

586
Bit 3
Bit 2
RAMS
RAM2
0
0/1
1
0
1
0
1
1
1
1
ROM area
EB0
ROM selection
EB1
area
Mapping RAM
EB2
RAM selection
area
EB3
Bit 1
RAM1
RAM Emulation Status
0/1
No emulation
0
Mapping RAM
1
0
1
RAM area
H'FFEF20
H'FFEFFF
H'FFF000
Actual RAM
H'FFF3FF
H'FFF400
H'FFFF1F
RAM
overlap area
(H'FFF000–
H'FFF3FF)

Advertisement

Table of Contents
loading

Table of Contents