Hitachi H8/3062 Hardware Manual page 552

Single-chip microcomputer
Hide thumbs Also See for H8/3062:
Table of Contents

Advertisement

18.4.3
Flash Memory Emulation in RAM
In the H8/3064F-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.
SCI
Flash memory
RAM
Emulation block
Overlap RAM
(Emulation is performed on data written
in RAM)
Application program
Execution state
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.
535

Advertisement

Table of Contents
loading

Table of Contents