English
Language : 

PIC24HJ32GP302_11 Datasheet, PDF (25/368 Pages) Microchip Technology – High-Performance, 16-bit Microcontrollers
PIC24HJ32GP302/304, PIC24HJ64GPX02/X04 AND PIC24HJ128GPX02/X04
4.0 MEMORY ORGANIZATION
Note:
This data sheet summarizes the features
of
the
PIC24HJ32GP302/304,
PIC24HJ64GPX02/X04
and
PIC24HJ128GPX02/X04 families of
devices. It is not intended to be a compre-
hensive reference source. To complement
the information in this data sheet, refer to
Section 4. “Program Memory”
(DS70203) of the “dsPIC33F/PIC24H
Family Reference Manual”, which is avail-
able from the Microchip website
(www.microchip.com).
The PIC24HJ32GP302/304, PIC24HJ64GPX02/X04
and PIC24HJ128GPX02/X04 architecture features
separate program and data memory spaces and
buses. This architecture also allows the direct access
of program memory from the data space during code
execution.
4.1 Program Address Space
The program address memory space of the
PIC24HJ32GP302/304, PIC24HJ64GPX02/X04 and
PIC24HJ128GPX02/X04 devices is 4M instructions.
The space is addressable by a 24-bit value derived
either from the 23-bit Program Counter (PC) during
program execution, or from table operation or data
space remapping as described in Section 4.4
“Interfacing Program and Data Memory Spaces”.
User application access to the program memory space
is restricted to the lower half of the address range
(0x000000 to 0x7FFFFF). The exception is the use of
TBLRD/TBLWT operations, which use TBLPAG<7> to
permit access to the Configuration bits and Device ID
sections of the configuration memory space.
The memory map for the PIC24HJ32GP302/304,
PIC24HJ64GPX02/X04 and PIC24HJ128GPX02/X04
devices is shown in Figure 4-1.
FIGURE 4-1:
PROGRAM MEMORY MAP FOR PIC24HJ32GP302/304, PIC24HJ64GPX02/X04
AND PIC24HJ128GPX02/X04 DEVICES
PIC24HJ32GP302/304
GOTO Instruction
Reset Address
Interrupt Vector Table
Reserved
Alternate Vector Table
User Program
Flash Memory
(11264 instructions)
PIC24HJ64GPX02/X04
GOTO Instruction
Reset Address
Interrupt Vector Table
Reserved
Alternate Vector Table
User Program
Flash Memory
(22016 instructions)
PIC24HJ128GPX02/X04
GOTO Instruction
Reset Address
Interrupt Vector Table
Reserved
Alternate Vector Table
0x000000
0x000002
0x000004
0x0000FE
0x000100
0x000104
0x0001FE
0x000200
User Program
Flash Memory
(44032 instructions)
0x0057FE
0x005800
0x00ABFE
0x00AC00
Unimplemented
(Read ‘0’s)
Unimplemented
(Read ‘0’s)
Unimplemented
(Read ‘0’s)
0x0157FE
0x015800
0x7FFFFE
0x800000
Reserved
Reserved
Reserved
Device Configuration
Registers
Reserved
Device Configuration
Registers
Reserved
Note:
DEVID (2)
Reserved
Memory areas are not shown to scale.
DEVID (2)
Reserved
Device Configuration
Registers
Reserved
0xF7FFFE
0xF80000
0xF80017
0xF80018
DEVID (2)
Reserved
0xFEFFFE
0xFF0000
0xFF0002
0xFFFFFE
© 2011 Microchip Technology Inc.
DS70293E-page 25