
2009 Microchip Technology Inc.
Advance Information
DS41297F-page 7
PIC18F2XK20/4XK20
For PIC18FX5K20 devices, the code memory space
extends from 000000h to 007FFFh (32 Kbytes) in four
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-8:
MEMORY MAP AND THE CODE MEMORY SPACE FOR PIC18FX5K20 DEVICES
Device
Code Memory Size (Bytes)
PIC18F25K20
000000h-007FFFh (32K)
PIC18F45K20
000000h
200000h
3FFFFFh
01FFFFh
Note:
Sizes of memory areas not to scale.
Code Memory
Unimplemented
Read as ‘0’
Configuration
and ID
Space
MEMORY SIZE/DEVICE
32 Kbytes
(PIC18FX5K20)
Address
Range
Boot Block
000000h
0007FFh
Block 0
000800h
001FFFh
Block 1
002000h
003FFFh
Block 2
004000h
005FFFh
Block 3
006000h
007FFFh
Unimplemented
Read ‘0’s
01FFFFh