English
Language : 

SH7018 Datasheet, PDF (373/431 Pages) Renesas Technology Corp – SuperH™ RISC engine
16.9 Flash Memory Emulation in RAM
Making a setting in the RAM emulation register (RAMER) enables part of RAM to be overlapped
onto the flash memory area so that data to be written to flash memory can be emulated in RAM in
real time. After the RAMER setting has been made, accesses cannot be made from the flash
memory area or the RAM area overlapping flash memory. Emulation can be performed in user
mode and user program mode. Figure 16.15 shows an example of emulation of real-time flash
memory programming.
Start emulation program
Set RAMER
Write tuning data to overlap
RAM
Execute application program
No
Tuning OK?
Yes
Clear RAMER
Write to flash memory emulation
block
End of emulation program
Figure 16.15 Flowchart for Flash Memory Emulation in RAM
357