Application Example Of Virtual Flash Emulation Mode - Renesas M32R/ECU Series User Manual

Mitsubishi 32-bit risc single-chip microcomputers
Table of Contents

Advertisement

6

6.6.3 Application Example of Virtual Flash Emulation Mode

By using two RAM areas that have been set in the same flash area by the Virtual Flash Emulation Function, the
data in the flash memory can be replaced successively.
(1) Operation when reset
Bank xx
(2) Programming operation using RAM block 0
Bank xx
(3) Programming operation switched from RAM block 0 to RAM block 1
Bank xx
Figure 6.6.5 Application Example of Virtual Flash Emulation Mode (1/2)
Flash memory
Initial value
Replace area
RAM block 0
Data write to RAM0
RAM block 1
Flash memory
Replaced
RAM block 0
Initial value
Bank xx specified
RAM block 0
RAM block 1
Data write to RAM1
Flash memory
Replaced
Initial value
RAM block 0
Bank xx specified
RAM block 0
RAM block 1
6-34
INTERNAL MEMORY
6.6 Virtual Flash Emulation Function
RAM block 1
Bank xx specified
(settings invalid)
32180 Group User's Manual (Rev.1.0)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents