M16C/62P Group (M16C/62P, M16C/62PT)
9. Memory Space Expansion Function
Rev.2.41
Jan 10, 2006
Page 80 of 390
REJ09B0185-0241
Figure 9.8
Relationship Between Addresses on 4-Mbyte ROM and Those on Microcomputer (2)
000000h
080000h
100000h
180000h
200000h
280000h
380000h
3FFFFFh
3C0000h
340000h
2C0000h
240000h
1C0000h
140000h
0C0000h
040000h
Data
OFS bit in DBR
register = 0
OFS bit in DBR
register = 1
300000h
Program
or data
A18
CS Output
Address Output
OFS
Access
Area
Output from the Microcomputer Pins
CS3
CS2
CS1
A19
A17
A16 A15 to A0
Bank
Number
0
0
1
1
0
1
2
0
1
3
0
1
4
0
1
5
0
1
6
0
1
7
0
Internal ROM access
40000h
0
0000h
000000h
0
0
0
1
0
0
Internal ROM access
040000h
0
0
0
1
0
0
0
40000h
0000h
080000h
0
0
1
0
1
0
0
40000h
0000h
0C0000h
0
0
1
1
0
0
0
40000h
0000h
100000h
0
1
0
0
1
0
0
40000h
0000h
140000h
0
1
0
1
0
0
0
40000h
0000h
180000h
0
1
1
0
1
0
0
40000h
0000h
1C0000h
0
1
1
1
0
0
0
40000h
0000h
200000h
1
0
0
0
1
0
0
40000h
0000h
240000h
1
0
0
1
0
0
0
40000h
0000h
280000h
1
0
1
0
1
0
0
40000h
0000h
2C0000h
1
0
1
1
0
0
0
40000h
0000h
300000h
1
1
0
0
1
0
0
40000h
0000h
340000h
1
1
0
1
0
0
0
40000h
0000h
40000h
380000h
1
1
1
0
1
0
0
0000h
80000h
Internal ROM access
3C0000h
1
1
1
1
0
0
0
0000h
7FFFFh
FFFFh
0
0
0
0
1
1
1
03FFFFh
0
0
0
1
0
1
1
7FFFFh
FFFFh
07FFFFh
0
0
1
0
1
1
1
7FFFFh
FFFFh
0BFFFFh
0
0
1
1
0
1
1
7FFFFh
FFFFh
0FFFFFh
0
1
0
0
1
1
1
7FFFFh
FFFFh
13FFFFh
0
1
0
1
0
1
1
7FFFFh
FFFFh
17FFFFh
0
1
1
0
1
1
1
7FFFFh
FFFFh
1BFFFFh
0
1
1
1
0
1
1
7FFFFh
FFFFh
1FFFFFh
1
0
0
0
1
1
1
7FFFFh
FFFFh
23FFFFh
1
0
0
1
0
1
1
7FFFFh
FFFFh
27FFFFh
1
0
1
0
1
1
1
7FFFFh
FFFFh
2BFFFFh
1
0
1
1
0
1
1
7FFFFh
FFFFh
2FFFFFh
1
1
0
0
1
1
1
7FFFFh
FFFFh
33FFFFh
1
1
0
1
0
1
1
7FFFFh
FFFFh
37FFFFh
1
1
1
0
1
1
1
7FFFFh
FFFFh
3BFFFFh
FFFFFh
Internal ROM access
1
1
1
1
0
1
1
FFFFh
3FFFFFh
A20
A19
A18
N.C.
A17
A16 A15 to A0
Address Input for 4-Mbyte ROM
Address input for
4-Mbyte ROM
A21
7FFFFh
bank 0
(256 Kbytes)
bank 1
(256 Kbytes)
bank 2
(256 Kbytes)
bank 3
(256 Kbytes)
bank 4
(256 Kbytes)
bank 5
(256 Kbytes)
bank 6
(256 Kbytes)
bank 7
(256 Kbytes)
40000h
7FFFFh
40000h
7FFFFh
40000h
7FFFFh
40000h
7FFFFh
40000h
7FFFFh
40000h
7FFFFh
40000h
7FFFFh
40000h
7FFFFh
bank 0
(256 Kbytes)
bank 1
(256 Kbytes)
bank 2
(256 Kbytes)
bank 3
(256 Kbytes)
bank 4
(256 Kbytes)
bank 5
(256 Kbytes)
bank 6
(256 Kbytes)
bank 7
(256 Kbytes)
40000h
7FFFFh
40000h
7FFFFh
40000h
7FFFFh
40000h
7FFFFh
40000h
7FFFFh
40000h
7FFFFh
40000h
7FFFFh
40000h
7
1
40000h
80000h
7FFFFh
FFFFFh
N.C.: No connected
ROM address
Microcomputer address
Memory expansion mode where PM13 =1
Program
only
http://www.xinpian.net
提供单片机解密、IC解密、芯片解密业务
010-62245566 13810019655