English
Language : 

SH7052 Datasheet, PDF (796/919 Pages) Renesas Technology Corp – SuperHTM RISC engine
21.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 21.17 shows an example of emulation of real-time flash
memory programming.
Start of 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 21.17 Flowchart for Flash Memory Emulation in RAM
770