586
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
Bit 3
Bit 2
Bit 1
RAM Area
RAMS
RAM2
RAM1
RAM Emulation Status
H’FFF000–H’FFF3FF
0
0/1
0/1
No emulation
H’000000–H’0003FF
1
0
0
Mapping RAM
H’000400–H’0007FF
1
0
1
H’000800–H’000BFF
1
1
0
H’000C00–H’000FFF
1
1
1
ROM area
RAM area
EB0
H'000000
H'0003FF
H'000400
H'0007FF
H'000800
H'000BFF
H'FFEF20
H'FFEFFF
H'FFF000
H'FFF3FF
H'FFF400
H'FFFF1F
H'000C00
H'000FFF
EB1
Mapping RAM
EB2
EB3
Actual RAM
RAM
overlap area
(H'FFF000–
H'FFF3FF)
ROM blocks
EB0–EB3
(H'000000–
H'000FFF)
RAM selection
area
ROM selection
area
Figure 19.2 Example of ROM Area/RAM Area Overlap
Summary of Contents for H8/3060
Page 10: ......
Page 16: ......
Page 114: ...66 ...
Page 132: ...84 ...
Page 144: ...96 ...
Page 170: ...122 ...
Page 212: ...164 ...
Page 268: ...220 ...
Page 332: ...284 ...
Page 396: ...348 ...
Page 494: ...446 ...
Page 698: ...650 ...
Page 748: ...700 H8 3064F ZTAT B mask version Ports 1 2 5 LED 600 Ω Figure 22 8 Sample LED Circuit ...
Page 777: ...729 H8 3062F ZTAT B mask version Ports 1 2 5 LED 600 Ω Figure 22 14 Sample LED Circuit ...
Page 810: ...762 ...
Page 994: ...946 ...