Download Print this page

Renesas M16C/50 Series User Manual page 687

Advertisement

M16C/5L Group, M16C/56 Group
26.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 26.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 26.3 lists the differences among program ROM 1, program ROM 2, and data flash.
In single-chip mode, program can be allocated in either program ROM 1, program ROM 2, or data flash.
Table 26.3
Program ROM 1, Program ROM 2, and Data Flash
Item
Program and erase cycles
Forced erase function
Frequency limit when reading
User boot program
Program
ROM 1 size
Program
256 KB
ROM 1 size
128 KB
Figure 26.1
Flash Memory Block Diagram
R01UH0127EJ0110 Rev.1.10
Sep 01, 2011
Program ROM 1
Do not allocate
Program
ROM 1 size
Program
96 KB
ROM 1 size
64 KB
Flash Memory
Program ROM 2
1,000 times
Enabled
No
Allocatable
00E000h
Block A: 4 KB
00EFFFh
00F000h
Block B: 4 KB
00FFFFh
010000h
Program ROM 2: 16 KB
013FFFh
0C0000h
Block 3: 64 KB
0CFFFFh
0D0000h
Block 2: 64 KB
0DFFFFh
0E0000h
0E8000h
Block 1: 64 KB
0EFFFFh
0F0000h
Block 0: 64 KB
0FFFFFh
26. Flash Memory
Data flash
10,000 times
Disabled
Yes
Do not allocate
Data flash
Program ROM 1
Page 650 of 803

Advertisement

loading