![](http://datasheet.mmic.net.cn/30000/M30956FKTGP_datasheet_2359453/M30956FKTGP_503.png)
25. Flash Memory
25.1
Memory Map
The flash memory contains a user ROM area and a boot ROM area.
Figure 25.1 shows the flash memory map. The
user ROM area has an area to store MCU operating programs in single-chip mode, and another 4-Kbyte area as
block A for data storage.
The user ROM area is divided into blocks, each of which can be protected (locked) from programming or erasing.
The user ROM area can be rewritten in CPU rewrite, standard serial I/O, or parallel I/O mode.
The boot ROM area is located in the same addresses as the user ROM area. It can only be rewritten in parallel I/O
mode. A program in the boot ROM area is executed after a hardware reset is performed by applying a high-level
(“H”) signal to pins CNVSS and P5_0 (CE) and a low-level (“L”) signal to the P5_5 (EPM) pin.
A program in the user ROM area is executed after a hardware reset is performed by applying an “L” signal to the
CNVSS pin. Consequently, the boot ROM area cannot be read.
Figure 25.1
768-Kbyte Version Flash Memory Map
4 Kbytes
FFF000h
FFFFFFh
Boot ROM area(1)
NOTES:
1. The boot ROM area can be rewritten only in parallel I/O
mode.
2. When specifying a block, use the highest-order even
address of the specified block.
3. This is a flash memory map in single-chip mode.
FF0000h
Blocks 0 to 5
(32 + 8 + 8 + 8 + 4 + 4)
Kbytes
FE0000h
Block 6: 64 Kbytes
FEFFFFh
FD0000h
Block 7: 64 Kbytes
FDFFFFh
FC0000h
Block 8: 64 Kbytes
FCFFFFh
FB0000h
Block 9: 64 Kbytes
FBFFFFh
Block 10: 64 Kbytes
FAFFFFh
00FFFFh
Block A: 4 Kbytes
FFFFFFh
00F000h
FFF000h
FFFFFFh
Block 0: 4 Kbytes
Block 1: 4 Kbytes
Block 2: 8 Kbytes
FFE000h
FFEFFFh
FFC000h
FFDFFFh
Block 3: 8 Kbytes
FFA000h
FFBFFFh
Block 4: 8 Kbytes
FF8000h
FF9FFFh
Block 5: 32 Kbytes
FF0000h
FF7FFFh
User ROM area
Block 11: 64 K bytes
Block 12: 64 Kbytes
FA0000h
F9FFFFh
F90000h
F8FFFFh
F80000h
F70000h
Block 13: 64 Kbytes
F7FFFFh
Block 14: 64 Kbytes
F6FFFFh
Block 15: 64 Kbytes
Block 16: 64 Kbytes
F60000h
F5FFFFh
F50000h
F4FFFFh
F40000h