18.08.2013 Views

datasheet (3).pdf - EEWeb

datasheet (3).pdf - EEWeb

datasheet (3).pdf - EEWeb

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

dsPIC33FJ32MC302/304, dsPIC33FJ64MCX02/X04 AND dsPIC33FJ128MCX02/X04<br />

4.0 MEMORY ORGANIZATION<br />

Note: This data sheet summarizes the features<br />

of the dsPIC33FJ32MC302/304,<br />

dsPIC33FJ64MCX02/X04 and<br />

dsPIC33FJ128MCX02/X04 family of<br />

devices. It is not intended to be a<br />

comprehensive reference source. To<br />

complement the information in this data<br />

sheet, refer to Section 4. “Program<br />

Memory” (DS70203) of the “dsPIC33F/<br />

PIC24H Family Reference Manual”, which<br />

is available from the Microchip web site<br />

(www.microchip.com).<br />

The dsPIC33FJ32MC302/304, dsPIC33FJ64MCX02/<br />

X04 and dsPIC33FJ128MCX02/X04 architecture<br />

features separate program and data memory spaces<br />

and buses. This architecture also allows the direct<br />

access of program memory from the data space during<br />

code execution.<br />

4.1 Program Address Space<br />

The program address memory space of the<br />

dsPIC33FJ32MC302/304, dsPIC33FJ64MCX02/X04<br />

and dsPIC33FJ128MCX02/X04 devices is 4M<br />

instructions. The space is addressable by a 24-bit<br />

value derived either from the 23-bit Program Counter<br />

(PC) during program execution, or from table operation<br />

or data space remapping as described in Section 4.6<br />

“Interfacing Program and Data Memory Spaces”.<br />

User application access to the program memory space<br />

is restricted to the lower half of the address range<br />

(0x000000 to 0x7FFFFF). The exception is the use of<br />

TBLRD/TBLWT operations, which use TBLPAG to<br />

permit access to the Configuration bits and Device ID<br />

sections of the configuration memory space.<br />

The memory map for the dsPIC33FJ32MC302/304,<br />

dsPIC33FJ64MCX02/X04 and dsPIC33FJ128MCX02/<br />

X04 devices is shown in Figure 4-1.<br />

FIGURE 4-1: PROGRAM MEMORY MAP FOR dsPIC33FJ32MC302/304, dsPIC33FJ64MCX02/<br />

X04 AND dsPIC33FJ128MCX02/X04 DEVICES<br />

Configuration Memory Space User Memory Space<br />

dsPIC33FJ32MC302/304<br />

GOTO Instruction<br />

Reset Address<br />

Interrupt Vector Table<br />

Reserved<br />

Alternate Vector Table<br />

User Program<br />

Flash Memory<br />

(11264 instructions)<br />

Unimplemented<br />

(Read ‘0’s)<br />

Reserved<br />

0x000000<br />

0x000002<br />

0x000004<br />

0x0000FE<br />

0x000100<br />

0x000104<br />

0x0001FE<br />

0x000200<br />

0x7FFFFE<br />

0x800000<br />

0xF7FFFE<br />

Device Configuration<br />

Registers<br />

Device Configuration<br />

Registers<br />

Device Configuration<br />

Registers<br />

0xF80000<br />

0xF80017<br />

0xF80018<br />

Reserved<br />

DEVID (2)<br />

Note: Memory areas are not shown to scale.<br />

dsPIC33FJ64MCX02/X04<br />

GOTO Instruction<br />

Reset Address<br />

Interrupt Vector Table<br />

Reserved<br />

Alternate Vector Table<br />

User Program<br />

Flash Memory<br />

(22016 instructions)<br />

Unimplemented<br />

(Read ‘0’s)<br />

Reserved<br />

Reserved<br />

DEVID (2)<br />

dsPIC33FJ128MCX02/X04<br />

GOTO Instruction<br />

Reset Address<br />

Interrupt Vector Table<br />

Reserved<br />

Alternate Vector Table<br />

User Program<br />

Flash Memory<br />

(44032 instructions)<br />

Unimplemented<br />

(Read ‘0’s)<br />

Reserved<br />

Reserved<br />

DEVID (2)<br />

Reserved Reserved Reserved<br />

0x0057FE<br />

0x005800<br />

0x00ABFE<br />

0x00AC00<br />

0x0157FE<br />

0x015800<br />

0xFEFFFE<br />

0xFF0000<br />

0xFF0002<br />

0xFFFFFE<br />

© 2011 Microchip Technology Inc. DS70291E-page 39

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!