PIC18F2480 memory map

Where everything sits, at its exact address. The PIC18F2480 keeps program and data apart (Harvard): program memory holds 16-bit instruction words, addressed in bytes, while the special function registers and the general-purpose RAM share the banked data memory.

Program memory

Instructions, the user ID and the configuration words.

Configuration words0x300000 – 0x30000D14 B
User ID0x200000 – 0x2000078 B
Flash0x0000 – 0x3FFF16 KB

Data memory

Banked: special function registers and general-purpose RAM in each bank.

RAM, bank 20x0200 – 0x02FF256 B
RAM, bank 10x0100 – 0x01FF256 B
RAM, bank 00x0060 – 0x00FF160 B
RAM, bank 00x0000 – 0x005F96 B

EEPROM

Non-volatile data, kept without power.

EEPROM0x0000 – 0x00FF256 B

Every segment

SegmentSpaceStartEndSizePage
RAM, bank 0data0x00000x005F96 B
General-purpose RAM, all banksdata0x00000x02FF768 B
RAM, bank 0data0x00600x00FF160 B
RAM, bank 1data0x01000x01FF256 B
RAM, bank 2data0x02000x02FF256 B
EEPROMeeprom0x00000x00FF256 B
Flashprog0x00000x3FFF16 KB
User IDprog0x2000000x2000078 B
Configuration wordsprog0x3000000x30000D14 B