
16
32176 Group
Mitsubishi Microcomputers
SINGLE-CHIP 32-BIT CMOS MICROCOMPUTER
Under Development
Jan. 30, 2003
Rev.1.4
Built-in flash memory and RAM
The M32176F4VFP/M32176F4TFP contains 512K bytes
flash memory and 24K bytes RAM, the M32176F3VFP/
M32176F3TFP contains 384K bytes flash memory and 24K
bytes RAM, the M32176F2VFP/ M32176F2TFP contains
256K bytes flash memory and 24K bytes RAM.
The internal flash memory can be programmed while being
mounted on the printed circuit board (on-board program-
ming). Use of flash memory allows the same chip as those
used in mass production to be used beginning with the de-
velopment stage. This means that system development can
be proceeded without having to change the printed circuit
boards during the entire course, from prototype to mass pro-
duction.
Built-in Virtual-Flash Emulation Function
Internal flash memory, which is divided from the first address in
units of 8K bytes (L banks), can be replaced in 8K bytes blocks
(H’0080 4000-H’0080 5FFF, H’0080 8000-H’0080 9FFF) from
the beginning of the internal RAM. And also the internal flash
memory, which is divided from the first address in units of 4K
bytes area (All S banks), can be replaced within two 4K bytes
areas (H’0080 6000-H’0080 7FFF).
This function allows parts of the program which are fre-
quently changed during development to be altered or evalu-
ated without having to reset the microcomputer each time.
What’s more, when combined with the realtime debugger,
this function helps to reduce the program evaluation period,
because data in the RAM can be rewritten without requiring
any CPU load.
H'0000 0000
H'0000 2000
< Internal flash >
H'0080 4000
H'0080 5FFF
L bank 0
(8K bytes)
H'0000 4000
8K bytes
H'0000 1FFF
H'0000 3FFF
H'0000 5FFF
H'0007 E000
H'0007 FFFF
H'0007 C000
H'0007 DFFF
4K bytes
H'0080 6000
H'0080 7FFF
8K bytes
H'0080 8000
H'0080 9FFF
L bank 1
(8K bytes)
L bank 2
(8K bytes)
L bank 62
(8K bytes)
L bank 63
(8K bytes)
< Internal RAM >
Figure 8. Virtual-Flash Emulation Areas of the M32176F4VFP/M32176F4TFP (Replaced in Units of 8K bytes)
Notes: If the same bank area is set in multiple virtual-flash bank registers and the virtual-flash emulation enable bit is enabled, the
corresponding internal RAM area is assigned to either bank register according to the priority FELBANK0 > FESBANK0 >
FESBANK1 > FELBANK1.
When access is made to the 8K bytes area (L bank) specified with virtual-flash bank register 0, the internal RAM area is
accessed. During virtual-flash emulation mode, RAM data can read and written to and from both the internal RAM area and
the virtual-flash setup area.