M16C/62P Group (M16C/62P, M16C/62PT)
3.Memory
3. Memory
Figure 3.1 is a Memory Map of the M16C/62P group. The address space extends the 1M bytes from address 00000h to
FFFFFh.
The internal ROM is allocated in a lower address direction beginning with address FFFFFh. For example, a 64-Kbyte
internal ROM is allocated to the addresses from F0000h to FFFFFh.
As for the flash memory version, 4-Kbyte space (block A) exists in 0F000h to 0FFFFh. 4-Kbyte space is mainly for
storing data. In addition to storing data, 4-Kbyte space also can store programs.
The fixed interrupt vector table is allocated to the addresses from FFFDCh to FFFFFh. Therefore, store the start
address of each interrupt routine here.
The internal RAM is allocated in an upper address direction beginning with address 00400h. For example, a 10-Kbyte
internal RAM is allocated to the addresses from 00400h to 02BFFh. In addition to storing data, the internal RAM also
stores the stack used when calling subroutines and when interrupts are generated.
The SRF is allocated to the addresses from 00000h to 003FFh. Peripheral function control registers are located here.
Of the SFR, any area which has no functions allocated is reserved for future use and cannot be used by users.
The special page vector table is allocated to the addresses from FFE00h to FFFDBh. This vector is used by the JMPS
or JSRS instruction. For details, refer to the M16C/60 and M16C/20 Series Software Manual.
In memory expansion and microprocessor modes, some areas are reserved for future use and cannot be used by users.
Use M16C/62P (80-pin version) and M16C/62PT in single-chip mode. The memory expansion and microprocessor
modes cannot be used
.
00000h
SFR
00400h
Internal RAM
XXXXXh
Reserved area (1)
FFE00h
0F000h
Internal ROM
(data area) (3)
0FFFFh
Special page
vector table
10000h
(3)
Internal RAM
Internal ROM
External area
Size
Address XXXXXh
013FFh
Size
Address YYYYYh
27000h
28000h
4 Kbytes
5 Kbytes
48 Kbytes
64 Kbytes
F4000h
F0000h
Reserved area
External area
FFFDCh
Undefined instruction
Overflow
BRK instruction
017FFh
96 Kbytes
128 Kbytes
192 Kbytes
E8000h
E0000h
D0000h
10 Kbytes
12 Kbytes
16 Kbytes
02BFFh
033FFh
043FFh
Address match
80000h
Reserved area (2)
Single step
20 Kbytes
053FFh
256 Kbytes
320 Kbytes
384 Kbytes
512 Kbytes
C0000h
B0000h
YYYYYh
Watchdog timer
24 Kbytes
31 Kbytes
063FFh
07FFFh
DBC
NMI
Reset
Internal ROM
A0000h
80000h
(program area) (5)
FFFFFh
FFFFFh
NOTES:
1. During memory expansion and microprocessor modes, can be used.
2. In memory expansion mode, can be used.
3. As for the flash memory version, 4-Kbyte space (block A) exists.
4. Shown here is a memory map for the case where the PM10 bit in the PM1 register is “1”
and the PM13 bit in the PM1 register is “1”.
5. When using the masked ROM version, write nothing to internal ROM area.
Figure 3.1
Memory Map
Rev.2.41 Jan 10, 2006 Page 33 of 96
REJ03B0001-0241