English
Language : 

HD64F3028F25 Datasheet, PDF (620/925 Pages) Renesas Technology Corp – Hardware Manual Renesas 16-Bit Single-Chip Microcomputer H8 Family/H8/300H Series
18.4.3 Flash Memory Emulation in RAM
In the H8/3028F-ZTAT, flash memory programming can be emulated in real time by overlapping
the flash memory with part of RAM (“overlap RAM”). When the emulation block set in RAMCR
is accessed while the emulation function is being executed, data written in the overlap RAM is
read.
Emulation should be performed in user mode or user program mode.
Flash memory
Emulation block
SCI
RAM
Application program
Execution state
Overlap RAM
(Emulation is performed on data written
in RAM)
Figure 18.3 Reading Overlap RAM Data in User Mode/User Program Mode
When overlap RAM data is confirmed, clear the RAMS bit to cancel RAM overlap, and actually
perform writes to the flash memory in user program mode.
When the programming control program is transferred to RAM in on-board programming mode,
ensure that the transfer destination and the overlap RAM do not overlap, as this will cause data in
the overlap RAM to be rewritten.
Rev. 2.00, 09/03, page 588 of 890