![](http://datasheet.mmic.net.cn/30000/M32196F8UFP_datasheet_2359476/M32196F8UFP_196.png)
INTERNAL MEMORY
6-46
6
32192/32195/32196 Group Hardware Manual
Rev.1.10 REJ09B0123-0110 Apr.06.07
6.7.1 Virtual Flash Emulation Area
Figure 6.7.1 to Figure 6.7.3 show the internal flash memory areas in which the Virtual Flash Emulation Function
is applicable.
Using the Virtual Flash L Bank Register (M32192 F8: FELBANK0 to FELBANK15, M32195F4: FELBANK0 to
FELBANK3, M32196F8: FELBANK0 to FELBANK7), select one among all L banks of internal flash memory
that are divided in 8-Kbyte units (by setting the eight start address bits A11–A18 of the desired L bank in the
Virtual Flash L Bank Register LBANKAD bits). Then set the Virtual Flash L Bank Register’s flash emulation L
enable bit (MODENL) to "1," and the selected L bank area will be replaced with 8-Kbyte blocks of the internal
RAM, (maximum for 32192 is 16 blocks, for 32195 is 4 blocks, for 32196 is 8 blocks).
Notes: If the same bank area is set in two or more Virtual Flash L Bank Registers and accessed while
each register’s flash emulation enable bit is enabled, the data will be destroyed. Therefore, do not
set the same bank area in two or more registers.
During virtual flash emulation mode, RAM can be accessed for read and write from the internal
RAM area and the virtual flash set area.
Before reading any virtual flash set area after setting the Flash Control Register 1 virtual flash
emulation mode bit to "1," be sure to check that the virtual flash emulation mode bit has been set
to "1" by reading it once.
Before reading any virtual flash set area after setting the Virtual Flash L Bank Register virtual
flash emulation L enable bit and L bank address bits, be sure to check that the virtual flash
emulation L enable bit and L bank address bits have been set to the intended values by reading
them once.
6.7 Virtual Flash Emulation Function
Figure 6.7.4 Virtual Flash Emulation Area divided in 8-Kbyte units for the M32192F8
H'0000 0000
H'0000 2000
H'0081 0000
H'0000 4000
H'000F E000
H'000F C000
H'0081 2000
H'0081 4000
H'0082 E000
H'0080 4000
<Internal flash>
L bank 0
(8 Kbytes)
L bank 1
(8 Kbytes)
L bank 2
(8 Kbytes)
L bank 126
(8 Kbytes)
L bank 127
(8 Kbytes)
<Internal RAM>
8 Kbytes
48 Kbytes
Notes: If the same bank area is set in two or more Virtual Flash L Bank Registers and accessed
while each register’s flash emulation enable bit is enabled, the data will be destroyed.
Therefore, do not set the same bank area in two or more registers.
If any 8-Kbyte area (L bank) specified by the Virtual Flash L Bank Registers 0 to 15 is accessed,
its corresponding internal RAM area is accessed. During virtual flash emulation mode, internal RAM can be
accessed for read and write from both the internal RAM area and the virtual flash set area.
8 Kbytes