Program memory
Instructions, the user ID and the configuration words.
Configuration words0x300000 – 0x30000D14 B
User ID0x200000 – 0x2000078 B
Flash0x0000 – 0x5FFF24 KB
Where everything sits, at its exact address. The PIC18F2455 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.
Instructions, the user ID and the configuration words.
Banked: special function registers and general-purpose RAM in each bank.
Non-volatile data, kept without power.
| Segment | Space | Start | End | Size | Page |
|---|---|---|---|---|---|
| RAM, bank 0 | data | 0x0000 | 0x005F | 96 B | |
| General-purpose RAM, all banks | data | 0x0000 | 0x07FF | 2 KB | |
| RAM, bank 0 | data | 0x0060 | 0x00FF | 160 B | |
| RAM, bank 1 | data | 0x0100 | 0x01FF | 256 B | |
| RAM, bank 2 | data | 0x0200 | 0x02FF | 256 B | |
| RAM, bank 3 | data | 0x0300 | 0x03FF | 256 B | |
| USB RAM, bank 4 | data | 0x0400 | 0x04FF | 256 B | |
| USB RAM, bank 5 | data | 0x0500 | 0x05FF | 256 B | |
| USB RAM, bank 6 | data | 0x0600 | 0x06FF | 256 B | |
| USB RAM, bank 7 | data | 0x0700 | 0x07FF | 256 B | |
| EEPROM | eeprom | 0x0000 | 0x00FF | 256 B | |
| Flash | prog | 0x0000 | 0x5FFF | 24 KB | |
| User ID | prog | 0x200000 | 0x200007 | 8 B | |
| Configuration words | prog | 0x300000 | 0x30000D | 14 B |