R01UH0092EJ0110 Rev.1.10
Page 159 of 807
Jul 31, 2012
M16C/64C Group
12. Memory Space Expansion Function
Figure 12.3
Memory Mapping and
CS
Areas in 4-MB Mode (PM13 = 0)
Microprocessor mode
00000h
00400h
XXXXXh
YYYYYh
FFFFFh
D0000h
08000h
Memory expansion mode
SFR
Internal RAM
(1)
Program ROM 1
(1)
Reserved area
Reserved area
CS3
(16 KB)
CS1
(96 KB)
CS0
28000h
40000h
04000h
Reserved area
27000h
External area
0D000h
SFR
Internal RAM
(1)
Reserved area
Reserved area
External area
Other than the CS area
(512 KB x 8 banks)
0D800h
10000h
0E000h
14000h
Program ROM 2
(3)
Data flash
(2)
SFR
Reserved, external area
(4)
SFR
CS2
CS0
(memory expansion mode : 64 KB)
C0000h
Reserved, external area
(5)
Notes:
1. When the PM13 bit in the PM1 register is 0, 15 KB of the internal RAM and 192 KB of the internal ROM can
be used. See the table below for addresses XXXXXh and YYYYYh.
2. When the PM10 bit is 0, this area is used as an external area; when the bit is 1, this area is used as internal
ROM (data flash).
3. When the PRG2C0 bit in the PRG2C register is 1, this area is used as an external area; when the bit is 0,
this area is used as internal ROM (program ROM 2).
4. When the PM10 bit is 0, this area is used as an external area; when the bit is 1, this area is used as a
reserved area.
5. When the PRG2C0 bit in the PRG2C register is 1, this area is used as an external area; when the bit is 0,
this area is used as a reserved area.
6. The CS0 pin outputs a low signal, and pins CS3 to CS1 output a bank number.
Internal RAM
Program ROM 1
Capacity
Address XXXXXh
Capacity
Address YYYYYh
12 KB
033FFh
128 KB
E0000h
20 KB
03FFFh
256 KB
D0000h
31 KB
03FFFh
384 KB
D0000h
512 KB
D0000h
Содержание M16C Series
Страница 846: ...M16C 64C Group R01UH0092EJ0110...