Virtual Flash Emulation Function - Renesas M32R/ECU Series User Manual

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

Advertisement

6

6.6 Virtual Flash Emulation Function

The microcomputer has the function to map 4-Kbyte memory blocks beginning with the address H'0080 8000 into
areas (S banks) of the internal flash memory that are divided in 4-Kbyte units. This functions is referred to as the
Virtual Flash Emulation Function.
This function allows the data located in 4-Kbyte blocks of the internal RAM to be changed with the contents of
internal flash memory at the addresses specified by the Virtual Flash Bank Register. That way, the relevant RAM
data can read out by reading the content of internal flash memory.
For applications that require modifying the contents of internal flash memory (e.g., data table) during operation,
this function enables dynamic data modification without the need to modify the relevant RAM data.
The RAM blocks allocated for virtual flash emulation can be accessed for read and write the same way as in usual RAM.
This function, when used in combination with the microcomputer's internal Real-Time Debugger (RTD), allows the
data table, etc. created in the internal flash memory to be referenced or rewritten from the outside, thereby facili-
tating data table tuning from an external device.
Note: • Before programming/erasing the internal flash memory, always be sure to exit this virtual flash
emulation mode.
Figure 6.6.1 Internal RAM Bank Configuration of the M32180F8
H'0080 4000
(Cannot be used for
virtual flash emulation)
H'0080 8000
RAM bank block 0
(FESBANK0)
4 Kbytes
H'0080 9000
RAM bank block 1
(FESBANK1)
4 Kbytes
H'0080 A000
RAM bank block 2
(FESBANK2)
4 Kbytes
H'0080 B000
RAM bank block 3
(FESBANK3)
4 Kbytes
H'0080 C000
RAM bank block 4
(FESBANK4)
4 Kbytes
H'0080 D000
RAM bank block 5
(FESBANK5)
4 Kbytes
H'0080 E000
RAM bank block 6
(FESBANK6)
4 Kbytes
H'0080 F000
RAM bank block 7
(FESBANK7)
4 Kbytes
6.6 Virtual Flash Emulation Function
Internal RAM area
6-30
INTERNAL MEMORY
32180 Group User's Manual (Rev.1.0)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents