Download Print this page

Flash Memory Emulation By Ram - Renesas F-ZTAT H8 Series Hardware Manual

16-bit single-chip microcomputer
Hide thumbs Also See for F-ZTAT H8 Series:

Advertisement

19.6

Flash Memory Emulation by RAM

Erasing and programming flash memory takes time, which can make it difficult to tune parameters
and other data in real time. If necessary, real-time updates of flash memory can be emulated by
overlapping the small-block flash-memory area with part of the RAM (H'FFF000 to H'FFF1FF).
This RAM reassignment is performed using bits 3 to 0 of the RAM control register (RAMCR).
After a flash memory area has been overlapped by RAM, it can be accessed from two address
areas: the overlapped flash memory area, and the original RAM area (H'FFF000 to H'FFF1FF).
Table 19.11 indicates how to reassign RAM.
RAM Control Register (RAMCR)
Bit
7
FLER
Initial value*
0
Read/Write
R
Note: * Bit 7 and bits 3 to 0 are initialized by a reset and in hardware standby mode. They are not
initialized in software standby mode. Bits 3 to 0 can be written to in modes 5, 6, and 7 (on-
chip flash memory enabled). In other modes, they are always read as 0 and cannot be
modified.
Table 19.11 RAM Area Reassignment
RAM Area
H'FFF000 to H'FFF1FF
H'01F000 to H'01F1FF
H'01F200 to H'01F3FF
H'01F400 to H'01F5FF
H'01F600 to H'01F7FF
H'01F800 to H'01F9FF
H'01FA00 to H'01FBFF
H'01FC00 to H'01FDFF
H'01FE00 to H'01FFFF
Section 19 Flash Memory (H8/3048F: Dual Power Supply (V
6
5
1
1
Bit 3
RAMS
0
1
1
1
1
1
1
1
1
4
3
RAMS
RAM2
1
0
R/W
R/W
Bit 2
Bit 1
RAM2
RAM1
0/1
0/1
0
0
0
0
0
1
0
1
1
0
1
0
1
1
1
1
Rev. 7.00 Sep 21, 2005 page 629 of 878
= 12 V))
PP
2
1
0
RAM1
RAM0
0
0
0
R/W
R/W
Bit 0
RAM0
0/1
0
1
0
1
0
1
0
1
REJ09B0259-0700

Hide quick links:

Advertisement

loading