Ram Overlap - Renesas H8S/2319 series Hardware Manual

Renesas 16-bit single-chip microcomputer
Table of Contents

Advertisement

17.9.2

RAM Overlap

An example in which flash memory block area EB1 is overlapped is shown below.
H'00000
H'01000
H'02000
H'03000
H'04000
H'05000
H'06000
H'07000
H'08000
H'3FFFF
*1
(H'5FFFF)
*2
(H'1FFFF)
Notes: 1. H'5FFFF, EB8 to EB13 in the H8S/2315 F-ZTAT.
2. H'1FFFF, EB8 and EB9 in the H8S/2317 F-ZTAT.
Example in Which Flash Memory Block Area EB1 is Overlapped
1. Set bits RAMS, RAM2, RAM1, and RAM0 in RAMER to 1, 0, 0, 1, to overlap part of RAM
onto the area (EB1) for which real-time programming is required.
2. Real-time programming is performed using the overlapping RAM.
3. After the program data has been confirmed, the RAMS bit is cleared, releasing RAM overlap.
4. The data written in the overlapping RAM is written into the flash memory space (EB1).
Notes: 1. When the RAMS bit is set to 1, program/erase protection is enabled for all blocks
regardless of the value of RAM2, RAM1, and RAM0 (emulation protection). In this
Rev. 5.00, 12/03, page 592 of 1088
EB0
EB1
EB2
EB3
EB4
EB5
EB6
EB7
Flash memory
EB8 to EB11
* 1
(EB8 to EB13)
* 2
(EB8 and EB9)
Figure 17-19 Example of RAM Overlap Operation
This area can be accessed
from both the RAM area
and flash memory area
On-chip RAM
H'FFDC00
H'FFEBFF
H'FFFBFF

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s/2318 series

Table of Contents