6
6-45
Ver.0.10
6.7.1 Virtual Flash Emulation Area
The following shows the areas for which the Virtual Flash Emulation Function is effective.
The Virtual Flash L Bank Registers (FELBANK0 to FELBANK3 for the M32170F6, FELBANK0 to
FELBANK2 for the M32170F4 and M32170F3) allow one among all L banks of flash memory
divided in 8 Kbytes each to be selected by setting the seven bits A12-A18 of the start address of the
desired L bank in the Virtual Flash L Bank Register LBANKAD bits. Then, by setting the Virtual
Flash L Bank Register MODENL0-3 bits (for the M32170F6) or MODENL0-2 bits (for the
M32170F4 and M32170F3) to 1, the selected L bank area can be replaced with 8 Kbyte blocks of
internal RAM from the beginning of the internal RAM (up to four blocks for the M32170F6, or up to
three blocks for the M32170F4 and M32170F3).
Similarly, the Virtual Flash S Bank Registers (FESBANK0, FESBANK1) allow one among all S
banks of flash memory divided in 4 Kbytes each to be selected by setting the eight bits A12-A19 of
the start address of the desired S bank in the Virtual Flash S Bank Register SBANKAD bits. Then,
by setting the Virtual Flash S Bank Register MODENS0-1 bits to 1, the selected S bank area can be
replaced with 4 Kbyte blocks of internal RAM in up to two blocks starting from H'0080 C000 for the
M32170F6 or H'0080 A000 for the M32170F4 and M32170F3.
For the M32170F6, you can choose four 8-Kbyte L banks and two 4-Kbyte S banks, for a total of six
banks (maximum). For the M32170F4 and M32170F3, you can choose three 8-Kbyte L banks and
two 4-Kbyte S banks, for a total of five banks (maximum).
Note 1: If after setting the same bank area in multiple Virtual Flash Bank Registers, you enable the
Virtual Flash Emulation Enable bit, the internal RAM area (8 Kbyte or 4 Kbyte) selected
according to the priority of Virtual Flash Bank Registers shown below is assigned.
• M32170F6
FELBANK0 > FELBANK1 > FELBANK2 > FELBANK3 > FESBANK0 > FESBANK1
• M32170F4 and M32170F3
FELBANK0 > FELBANK1 > FELBANK2 > FESBANK0 > FESBANK1
Note 2: During Virtual Flash Emulation mode, RAM can be read or written to from both internal
RAM area and virtual flash setup area.
INTERNAL MEMORY
6.7 Virtual Flash Emulation Function
Summary of Contents for M32170F3VFP
Page 42: ...1 1 24 Ver 0 10 OVERVIEW 1 4 Pin Layout This is a blank page ...
Page 56: ...2 2 14 Ver 0 10 This is a blank page ...
Page 88: ...3 3 32 Ver 0 10 ADDRESS SPACE 3 7 Notes on Address Space This is a blank page ...
Page 270: ...9 9 40 Ver 0 10 DMAC 9 4 Precautions about the DMAC This is a blank page ...
Page 614: ...12 12 64 Ver 0 10 This is a blank page SERIAL I O 12 9 Precautions on Using UART Mode ...
Page 756: ...17 17 10 Ver 0 10 RAM BACKUP MODE 17 4 Exiting RAM Backup Mode Wakeup This is a blank page ...
Page 762: ...18 18 6 Ver 0 10 OSCILLATION CIRCUIT 18 2 Clock Generator Circuit This is a blank page ...
Page 831: ...CHAPTER 22 CHAPTER 22 TYPICAL CHARACTERISTICS 22 1 A D Conversion Characteristics ...
Page 833: ...Appendix 1 1 Dimensional Outline Drawing APPENDIX 1 APPENDIX 1 MECHANICAL SPECIFICATIONS ...
Page 841: ...Appendix 3 1 Precautions about Noise APPENDIX 3 APPENDIX 3 PRECAUTIONS ABOUT NOISE ...