Hitachi H8/3062 Hardware Manual page 596

Single-chip microcomputer
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
580
Bit 3
Bit 2
RAMS
RAM2
0
0/1
1
0
1
0
1
1
1
1
ROM area
EB0
EB1
ROM selection
area
Mapping RAM
RAM selection
EB2
area
EB3
Bit 1
RAM1
RAM Emulation Status
0/1
No emulation
0
Mapping RAM
1
0
1
RAM area
H'FFEFFF
Actual RAM
H'FFEF20
RAM
H'FFF000
overlap area
(H'FFF000–
H'FFF3FF
H'FFF3FF)
H'FFF400
H'FFFF1F

Advertisement

Table of Contents
loading

Table of Contents