R01UH0092EJ0110 Rev.1.10
Page 658 of 807
Jul 31, 2012
M16C/64C Group
30. Flash Memory
30.2
Memory Map
The flash memory is used as ROM in this product. The flash memory is comprised of program ROM 1,
program ROM 2, and data flash. Figure 30.1 shows the Flash Memory Block Diagram.
The flash memory is divided into several blocks, each of which can be protected (locked) from being
programmed or erased. The flash memory can be rewritten in CPU rewrite, standard serial I/O, and
parallel I/O modes.
Program ROM 2 can be used when the PRG2C0 bit in the PRG2C register is 0 (program ROM 2
enabled).
Data flash can be used when the PM10 bit in the PM1 register is set to 1 (0E000h to 0FFFFh: data flash).
Data flash is divided into block A and block B.
Table 30.3 lists the differences among program ROM 1, program ROM 2, and data flash.
In single-chip mode or memory expansion mode, program can be allocated in either program ROM 1,
program ROM 2, or data flash.
Table 30.3
Program ROM 1, Program ROM 2, and Data Flash
Item
Flash Memory
Program ROM 1
Program ROM 2
Data flash
Forced erase function
Enabled
Disabled
Frequency limit when reading
No
Yes
User boot program
Do not allocate
Allocatable
Do not allocate
Summary of Contents for M16C Series
Page 846: ...M16C 64C Group R01UH0092EJ0110...