Datasheet
PIC18F2XXX/4XXX FAMILY
DS39622L-page 6 2010 Microchip Technology Inc.
For PIC18FX5X0/X5X3 devices, the code memory
space extends from 000000h to 007FFFh (32 Kbytes)
in four 8-Kbyte blocks. For PIC18FX4X5/X4X8
devices, the code memory space extends from
000000h to 005FFFh (24 Kbytes) in three 8-Kbyte
blocks. Addresses, 000000h through 0007FFh,
however, define a “Boot Block” region that is treated
separately from Block 0. All of these blocks define code
protection boundaries within the code memory space.
TABLE 2-4: IMPLEMENTATION OF CODE
MEMORY
FIGURE 2-5: MEMORY MAP AND THE CODE MEMORY SPACE
FOR PIC18FX4X5/X4X8/X5X0/X5X3 DEVICES
Device Code Memory Size (Bytes)
PIC18F2455
000000h-005FFFh (24K)
PIC18F2458
PIC18F4455
PIC18F4458
PIC18F2510
000000h-007FFFh (32K)
PIC18F2520
PIC18F2523
PIC18F2550
PIC18F2553
PIC18F4510
PIC18F4520
PIC18F4523
PIC18F4550
PIC18F4553
000000h
200000h
3FFFFFh
1FFFFFh
Note: Sizes of memory areas are not to scale.
Code Memory
Unimplemented
Read as ‘0’
Configuration
and ID
Space
MEMORY SIZE/DEVICE
32 Kbytes
(PIC18FX5X0/X5X3)
24 Kbytes
(PIC18FX4X5/X4X8)
Address
Range
Boot Block Boot Block
000000h
0007FFh
Block 0 Block 0
000800h
001FFFh
Block 1 Block 1
002000h
003FFFh
Block 2 Block 2
004000h
005FFFh
Block 3
Unimplemented
Reads all ‘0’s
006000h
007FFFh
Unimplemented
Reads all ‘0’s
1FFFFFh
008000h