English
Language : 

SH7018 Datasheet, PDF (336/431 Pages) Renesas Technology Corp – SuperH™ RISC engine
16.2.4 Flash Memory Emulation in RAM
Emulation should be performed in user mode or user program mode. When the emulation block
set in RAMER is accessed while the emulation function is being executed, data written in the
overlap RAM is read.
• User Mode
• User Program Mode
Flash memory
SCI1
RAM
Application program
Execution state
Overlap RAM
(emulation is performed
on data written in RAM)
Emulation block
Figure 16.5 RAM Emulation (RAM Overlap)
When overlap RAM data is confirmed, the RAMS bit is cleared, RAM overlap is released, and
writes should actually be performed to the flash memory.
When the programming control program is transferred to RAM, ensure that the transfer
destination and the overlap RAM do not overlap, as this will cause data in the overlap RAM to
be rewritten.
320