Datasheet
© 2008-2012 Microchip Technology Inc. DS70318F-page 41
dsPIC33FJ06GS101/X02 and dsPIC33FJ16GSX02/X04
4.0 MEMORY ORGANIZATION
The dsPIC33FJ06GS101/X02 and dsPIC33FJ16GSX02/
X04 architecture features separate program and data
memory spaces and buses. This architecture also allows
the direct access to program memory from the data
space during code execution.
4.1 Program Address Space
The program address memory space of the
dsPIC33FJ06GS101/X02 and dsPIC33FJ16GSX02/
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.6 “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 maps for the dsPIC33FJ06GS101/X02
and dsPIC33FJ16GSX02/X04 devices are shown in
Figure 4-1.
FIGURE 4-1: PROGRAM MEMORY MAPS FOR dsPIC33FJ06GS101/X02 and
dsPIC33FJ16GSX02/X04 DEVICES
Note: This data sheet summarizes the features
of the dsPIC33FJ06GS101/X02 and
dsPIC33FJ16GSX02/X04 families of
devices. It is not intended to be a
comprehensive reference source. To
complement the information in this data
sheet, refer to Section 4. “Program
Memory” (DS70202) in the “dsPIC33F/
PIC24H Family Reference Manual”, which
is available from the Microchip web site
(www.microchip.com).
Reset Address
0x000000
0x0000FE
0x000002
0x000100
Device Configuration
User Program
Flash Memory
0x001000
0x000FFE
(1792 instructions)
0x800000
0xF80000
Registers
0xF80017
0xF80018
DEVID (2)
0xFEFFFE
0xFF0000
0xFFFFFE
0xF7FFFE
Unimplemented
(Read ‘0’s)
GOTO Instruction
0x000004
Reserved
0x7FFFFE
Reserved
0x000200
0x0001FE
0x000104
Alternate Vector Table
Reserved
Interrupt Vector Table
dsPIC33FJ06GS101/102/202
Configuration Memory Space
User Memory Space
Reset Address
0x000000
0x0000FE
0x000002
0x000100
Device Configuration
User Program
Flash Memory
0x002C00
0x002BFE
(5376 instructions)
0x800000
0xF80000
Registers
0xF80017
0xF80018
0xF7FFFE
Unimplemented
(Read ‘0’s)
GOTO Instruction
0x000004
Reserved
0x7FFFFE
Reserved
0x000200
0x0001FE
0x000104
Alternate Vector Table
Reserved
Interrupt Vector Table
dsPIC33FJ16GS402/404/502/504
Configuration Memory Space
User Memory Space
Reserved
0xFF0002
DEVID (2)
Reserved
0xFEFFFE
0xFF0000
0xFFFFFE
0xFF0002