![](http://datasheet.mmic.net.cn/30000/M30260M3A-XXXGP-U5_datasheet_2358673/M30260M3A-XXXGP-U5_241.png)
17. Flash Memory Version
page 227
8
2
3
f
o
5
0
2
,
5
1
.
r
a
M
0
.
1
.
v
e
R
0
1
0
-
2
0
2
0
B
9
0
J
E
R
)
T
6
2
/
C
6
1
M
,
A
6
2
/
C
6
1
M
(
p
u
o
r
G
A
6
2
/
C
6
1
M
17.2 Memory Map
The flash memory contains the user ROM area and the boot ROM area (reserved area). Figures 17.2.1 to
17.2.3 show the flash memory block diagram. The user ROM area has space to store the microcomputer
operation program in single-chip mode and a separate 2-Kbyte space as the block A and B.
The user ROM area is divided into several blocks. The user ROM area can be rewritten in CPU rewrite,
standard serial input/output, and parallel input/output modes. However, if block 0 and 1 are rewritten in
CPU rewrite mode, setting the FMR02 bit in the FMR0 register to “1” (block 0, 1 rewrite enabled) and the
FMR16 bit in the FMR1 register to “1”(blocks 0 to 3 rewrite enabled) enable rewriting. Also, if blocks 2 to 3
are rewritten in CPU rewrite mode, setting the FMR16 bit in the FMR1 register to “1” (blocks 0 to 3 rewrite
enabled) enables writing. Setting the PM10 bit in the PM1 register to “1”(data area access enabled) for
block A and B enables to use.
The boot ROM area is reserved area. This boot ROM area has a standard serial I/O mode control program
stored in it when shipped from the factory. Do not rewrite the boot ROM area.
00FFFF16
Block B :2K bytes (Note 2)
00F00016
4K bytes (Note 4)
0FF00016
0FFFFF16
Boot ROM area
0FE00016
0FC00016
0FDFFF16
0F800016
Block 2 : 16K bytes
0FBFFF16
0F7FFF16
0F000016
0FFFFF16
User ROM area
Block A :2K bytes (Note 2)
Block 2 : 16K bytes (Note 5)
Block 3 : 32K bytes (Note 5)
Block 1 : 8K bytes (Note 3)
Block 0 : 8K bytes (Note 3)
00F7FF16
00F80016
Note 1: To specify a block, use the maximum even address in the block.
Note 2: Blocks A and B are enabled to use when the PM10 bit in the PM1
register is set to "1".
Note 3: Blocks 0 and 1 are enabled for programs and erases when the
FMR02 bit in the FMR0 register is set to "1" and the FMR16 bit in
the FMR1 register is set to "1". (CPU rewrite mode only)
Note 4: The boot ROM area is reserved. Do not access.
Note 5: Blocks 2 and 3 are enabled for programs and erases when the
FMR16 bit in the FMR1 register is set to "1". (CPU rewrite mode
only)
Figure 17.2.1. Flash Memory Block Diagram (ROM capacity 64K byte)