English
Language : 

HD6432345 Datasheet, PDF (597/907 Pages) Hitachi Semiconductor – H8S/2345 F-ZTAT Hardware Manual
17.11 Flash Memory Emulation in RAM
17.11.1 Emulation in RAM
Since programming or erasing the flash memory takes time, it may be difficult to perform tuning
by overwriting parameters and other data in real time. In such cases, 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 can 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 17.24 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 17.24 Flowchart for Flash Memory Emulation in RAM
585