R01UH0136EJ0210 Rev.2.10
Page 162 of 800
Jul 31, 2012
M16C/64A Group
12. Memory Space Expansion Function
Figure 12.6
Relationship between Addresses in 4-MB ROM and Those in MCU (1/3)
A20
A19
A18
N.C.
A17
A16 A15 to A0
Address input for 4-MB ROM
4-MB ROM
access area
A18
CS Output
Address Output
OFS
Access
Area
Output from the MCU Pins
CS3
CS2
CS1
A19
A17
A16 A15 to A0
40000h
0
000000h
Bank
Number
0
BFFFFh
040000h
1
080000h
0
0C0000h
1
100000h
0
140000h
1
180000h
0
1C0000h
1
200000h
0
240000h
1
280000h
0
2C0000h
1
300000h
0
340000h
1
40000h
380000h
0
80000h
3C0000h
C0000h
3C0000h
D0000h
Internal ROM access
Internal ROM access
Internal ROM access
Internal ROM access
A21
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
1
1
1
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
0
1
1
1
1
1
0
0
1
1
0
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
1
0
0
1
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
0
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
0
40000h
BFFFFh
40000h
BFFFFh
40000h
BFFFFh
40000h
BFFFFh
40000h
BFFFFh
40000h
BFFFFh
40000h
BFFFFh
40000h
BFFFFh
40000h
BFFFFh
40000h
BFFFFh
40000h
BFFFFh
40000h
BFFFFh
40000h
BFFFFh
7FFFFh
BFFFFh
CFFFFh
DFFFFh
D0000h
DFFFFh
07FFFFh
0BFFFFh
0FFFFFh
13FFFFh
17FFFFh
1BFFFFh
1FFFFFh
23FFFFh
27FFFFh
2BFFFFh
2FFFFFh
33FFFFh
37FFFFh
3BFFFFh
3BFFFFh
3FFFFF
h
3CFFFFh
0
1
2
3
4
5
6
7
0000h
FFFFh
0000h
FFFFh
0000h
FFFFh
0000h
FFFFh
0000h
FFFFh
0000h
FFFFh
0000h
FFFFh
0000h
FFFFh
0000h
FFFFh
0000h
FFFFh
0000h
FFFFh
0000h
FFFFh
0000h
FFFFh
0000h
FFFFh
0000h
FFFFh
0000h
FFFFh
0000h
FFFFh
ROM address
MCU address
OFS bit in DBR
register = 0
OFS bit in DBR
register = 1
Memory expansion mode where the PM13 bit is 0
40000h
BFFFFh
40000h
BFFFFh
40000h
BFFFFh
40000h
BFFFFh
40000h
BFFFFh
40000h
BFFFFh
40000h
BFFFFh
000000h
080000h
100000h
180000h
200000h
280000h
380000h
3FFFFFh
40000h
BFFFFh
3C0000h
340000h
2C0000h
240000h
1C0000h
140000h
0C0000h
040000h
bank
1
(512 KB)
bank
3
(512 KB)
bank
4
(512 KB)
bank
5
(512 KB)
bank
6
(512 KB)
Data only
Program
or data
300000h
bank
0
(512 KB)
40000h
40000h
40000h
40000h
40000h
40000h
40000h
BFFFFh
BFFFFh
BFFFFh
BFFFFh
BFFFFh
BFFFFh
Program
or data
BFFFFh
bank
0
(512 KB)
bank
1
(512 KB)
bank
2
(512 KB)
bank
3
(512 KB)
bank
4
(512 KB)
bank
5
(512 KB)
bank
6
(512 KB)
bank
7
(512 KB)
bank
2
(512 KB)
Содержание M16C/60 Series
Страница 853: ...M16C 64A Group R01UH0136EJ0210...