Datasheet

Table Of Contents
Section 19 Flash Memory (F-ZTAT Version)
REJ09B0140-0900 Rev. 9.00 Page 651 of 846
Sep 16, 2010
H8S/2215 Group
Example in which flash memory block area EB0 is overlapped is shown in figure 19.10.
1. The RAM area to be overlapped is fixed at a 4-kbyte area in the range of H'FFD000 to
H'FFDFFF.
2. The flash memory area to overlap is selected by RAMER from a 4-kbyte area among one of
the EB0 to EB7 blocks.
3. The overlapped RAM area can be accessed from both the flash memory addresses and RAM
addresses.
4. When the RAMS bit in RAMER is set to 1, program/erase protection is enabled for all flash
memory blocks (emulation protection). In this state, setting the P1 or E1 bit in FLMCR1 to 1
does not cause a transition to program mode or erase mode.
5. A RAM area cannot be erased by execution of software in accordance with the erase
algorithm.
6. Block area EB0 contains the vector table. When performing RAM emulation, the vector table
is needed in the overlap RAM.
(EB0)
(EB2)
(EB1)
H'000000
H'001000
H'002000
H'002FFF
H'FFD000
H'FFFFFF
(EB0)
(EB2)
H'FFFFC0
H'FFE000
H'FFEFBF
H'FFDFFF
H'FFB000
Flash memory Flash memory
On-chip RAM
(4-kbyte shadow)
On-chip RAM
(8 kbytes)
On-chip RAM
(4 kbytes)
On-chip RAM
(4 kbytes – 64 bytes)
On-chip RAM (64 bytes)
On-chip RAM
(8 kbytes)
On-chip RAM
(4 kbytes)
On-chip RAM
(4 kbytes – 64 bytes)
On-chip RAM (64 bytes)
Flash memory
Normal memory map RAM overlap memory map
Figure 19.10 Example of RAM Overlap Operation