Datasheet

2010-2013 Microchip Technology Inc. DS39881E-page 29
PIC24FJ64GA004 FAMILY
4.0 MEMORY ORGANIZATION
As Harvard architecture devices, PIC24F micro-
controllers feature 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
PIC24FJ64GA004 family devices is 4M instructions.
The space is addressable by a 24-bit value derived
from either the 23-bit Program Counter (PC) during pro-
gram execution, or from table operation or data space
remapping, as described in Section 4.3 “Interfacing
Program and Data Memory Spaces”.
User access to the program memory space is restricted
to the lower half of the address range (000000h to
7FFFFFh). 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.
Memory maps for the PIC24FJ64GA004 family of
devices are shown in Figure 4-1.
FIGURE 4-1: PROGRAM SPACE MEMORY MAP FOR PIC24FJ64GA004 FAMILY DEVICES
000000h
0000FEh
000002h
000100h
F8000Eh
F80010h
FEFFFEh
FFFFFFh
000004h
000200h
0001FEh
000104h
Reset Address
User Flash
Program Memory
(11K instructions)
DEVID (2)
GOTO Instruction
Reserved
Alternate Vector Table
Reserved
Interrupt Vector Table
PIC24FJ32GA
Configuration Memory Space
User Memory Space
Flash Config Words
Note: Memory areas are not shown to scale.
Reset Address
Device Config Registers
DEVID (2)
GOTO Instruction
Reserved
Alternate Vector Table
Reserved
Interrupt Vector Table
PIC24FJ48GA
FF0000h
F7FFFEh
F80000h
Device Config Registers
800000h
7FFFFFh
Reserved
Reserved
Flash Config Words
00AC00h
00ABFEh
Unimplemented
Read ‘0
Unimplemented
Read ‘0
Reset Address
Device Config Registers
User Flash
Program Memory
(22K instructions)
DEVID (2)
GOTO Instruction
Reserved
Alternate Vector Table
Reserved
Interrupt Vector Table
PIC24FJ64GA
Reserved
Flash Config Words
Unimplemented
Read ‘0
Reset Address
DEVID (2)
GOTO Instruction
Reserved
Alternate Vector Table
Reserved
Interrupt Vector Table
PIC24FJ16GA
Flash Config Words
Device Config Registers
Reserved
Unimplemented
Read ‘0
005800h
0057FEh
002C00h
002BFEh
User Flash
Program Memory
(5.5K instructions)
008400h
0083FEh
User Flash
Program Memory
(16K instructions)