![](http://datasheet.mmic.net.cn/110000/M32186F8VFP_datasheet_3496152/M32186F8VFP_166.png)
6
INTERNAL MEMORY
6-24
32185/32186 Group Hardware Manual
Rev.1.10 REJ09B0235-0110 May 15, 07
6.5.4 Virtual Flash L Bank Registers
Virtual Flash L Bank Register 0 (FELBANK0)
<Address: H’0080 07E8>
Virtual Flash L Bank Register 1 (FELBANK1)
<Address: H’0080 07EA>
Virtual Flash L Bank Register 2 (FELBANK2)
<Address: H’0080 07EC>
Virtual Flash L Bank Register 3 (FELBANK3)
<Address: H’0080 07EE>
Virtual Flash L Bank Register 4 (FELBANK4) (Note 2)
<Address: H’0080 07F0>
Virtual Flash L Bank Register 5 (FELBANK5) (Note 2)
<Address: H’0080 07F2>
Virtual Flash L Bank Register 6 (FELBANK6) (Note 2)
<Address: H’0080 07F4>
Virtual Flash L Bank Register 7 (FELBANK7) (Note 2)
<Address: H’0080 07F6>
<Upon exiting reset: H’0000>
b
Bit Name
Function
R
W
0
MODENL
0: Disable virtual flash emulation function
R
W
Virtual flash emulation L enable bit
1: Enable virtual flash emulation function
1–6
No function assigned. Fix to "0."
00
7–14
LBANKAD
Start address A11–A18 of the relevant L bank
R
W
L bank address bit (Note 1)
15
No function assigned. Fix to "0."
00
Note 1: Because the internal flash memory of the M32186F8 is 1M (1,024K) bytes, the address b7 (A11) must always be set to "0."
Also, because the initial flash memory of the M32185F4 is 512 Kbytes, the address b7 (A11) and b8 (A12) must always be set
to "0."
Note 2: This area exists only in the 32186 and it is use prohibitation area in the 32185.
Note: These registers must always be accessed in halfwords.
(1) MODENL (Virtual Flash Emulation L Enable) bit (Bit 0)
The MODENL bit can be set to "1" after entering virtual flash emulation mode (by setting the FEMMOD bit to
"1" while the FENTRY bit = "0"). This causes the virtual flash emulation function to be enabled for the L bank
area selected by the LBANKAD bits.
(2) LBANKAD (L Bank Address) bits (Bits 7–14)
The LBANKAD bits are provided for selecting one of the L banks that are separated every 8 Kbytes. Use
these LBANKAD bits to set the eight bits A11–A18 of the 32-bit start address of the desired L bank.
Note: For details, see Section 6.7, “Virtual Flash Emulation Function.”
6.5 Registers Associated with Internal Flash Memory
b0
12
34
56
78
9
10
11
12
13
14
b15
LBANKAD
00
000
00
MOD
ENL
0