PIC18F2XXX/4XXX FAMILY
DS30009622M-page 10 2010-2015 Microchip Technology Inc.
TABLE 2-5: IMPLEMENTATION OF CODE MEMORY
FIGURE 2-9: MEMORY MAP AND THE CODE MEMORY SPACE
FOR PIC18FX4X0/X4X3 DEVICES
For PIC18F2480/4480 devices, the code memory space extends from 0000h to 03FFFh (16 Kbytes) in one 16-Kbyte
block. For PIC18F2580/4580 devices, the code memory space extends from 0000h to 07FFFh (32 Kbytes) in two
16-Kbyte blocks. Addresses, 0000h through 07FFh, 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.
The size of the Boot Block in PIC18F2480/2580/4480/4580 devices can be configured as 1 or 2K words (see
Figure 2-10). This is done through the BBSIZ<0> bit in the Configuration register, CONFIG4L. It is important to note that
increasing the size of the Boot Block decreases the size of Block 0.
Device Code Memory Size (Bytes)
PIC18F2410
000000h-003FFFh (16K)
PIC18F2420
PIC18F2423
PIC18F2450
PIC18F4410
PIC18F4420
PIC18F4450
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
16 Kbytes
(PIC18FX4X0/X4X3)
Address
Range
Boot Block
000000h
0007FFh
Block 0
000800h
001FFFh
Block 1 002000h
003FFFh
Unimplemented
Reads all ‘0’s
004000h
005FFFh
006000h
007FFFh
1FFFFFh
008000h
2010-2015 Microchip Technology Inc. DS30009622M-page 11
PIC18F2XXX/4XXX FAMILY
TABLE 2-6: IMPLEMENTATION OF CODE MEMORY
FIGURE 2-10: MEMORY MAP AND THE CODE MEMORY SPACE
FOR PIC18F2480/2580/4480/4580 DEVICES
For PIC18F2221/4221 devices, the code memory space extends from 0000h to 00FFFh (4 Kbytes) in one 4-Kbyte
block. For PIC18F2321/4321 devices, the code memory space extends from 0000h to 01FFFh (8 Kbytes) in two 4-Kbyte
blocks. Addresses, 0000h through 07FFh, however, define a variable “Boot Block” region that is treated separately from
Block 0. All of these blocks define code protection boundaries within the code memory space.
Device Code Memory Size (Bytes)
PIC18F2480
000000h-003FFFh (16K)
PIC18F4480
PIC18F2580
000000h-007FFFh (32K)
PIC18F4580
000000h
200000h
3FFFFFh
01FFFFh
Note: Sizes of memory areas are not to scale.
* Boot Block size is determined by the BBSIZ<0> bit in the CONFIG4L register.
Code Memory
Unimplemented
Read as ‘0
Configuration
and ID
Space
MEMORY SIZE/DEVICE
Address
Range
32 Kbytes
(PIC18FX580)
16 Kbytes
(PIC18FX480)
BBSIZ<0>
10 1 0
Boot Block*
Boot Block*
Boot Block*
Boot Block*
000000h
0007FFh
Block 0
Block 0
000800h
000FFFh
Block 0
Block 0
001000h
001FFFh
Block 1
002000h
003FFFh
Block 2
004000h
Unimplemented
Reads all ‘0’s
01FFFFh
Unimplemented
Reads all ‘0’s
Block 3
005FFFh
006000h
007FFFh
PIC18F2XXX/4XXX FAMILY
DS30009622M-page 12 2010-2015 Microchip Technology Inc.
The size of the Boot Block in PIC18F2221/2321/4221/4321 devices can be configured as 256, 512 or 1024 words (see
Figure 2-11). This is done through the BBSIZ<1:0> bits in the Configuration register, CONFIG4L (see Figure 2-11). It is
important to note that increasing the size of the Boot Block decreases the size of Block 0.
TABLE 2-7: IMPLEMENTATION OF CODE MEMORY
FIGURE 2-11: MEMORY MAP AND THE CODE MEMORY SPACE
FOR PIC18F2221/2321/4221/4321 DEVICES
Device Code Memory Size (Bytes)
PIC18F2221
000000h-000FFFh (4K)
PIC18F4221
PIC18F2321
000000h-001FFFh (8K)
PIC18F4321
000000h
200000h
3FFFFFh
01FFFFh
Note: Sizes of memory areas are not to scale.
* Boot Block size is determined by the BBSIZ<1:0> bits in the CONFIG4L register.
Code Memory
Unimplemented
Read as ‘0
Configuration
and ID
Space
MEMORY SIZE/DEVICE
Address
Range
8 Kbytes
(PIC18FX321)
4 Kbytes
(PIC18FX221)
BBSIZ<1:0>
11/10 01 00 11/10/01 00
Boot Block*
1K word
Boot Block*
512 words
Boot Block*
256 words
Boot Block*
512 words
Boot Block*
256 words
000000h
0001FFh
Block 0
1.75K words
Block 0
0.75K words
000200h
0003FFh
Block 0
1.5K words
Block 0
0.5K words
000400h
0007FFh
Block 0
1K word
Block 1
1K word
000800h
000FFFh
Block 1
2K words
001000h
001FFFh
Unimplemented
Reads all ‘0’s
002000h
1FFFFFh
Unimplemented
Reads all ‘0’s

PIC18F4510-E/ML

Mfr. #:
Manufacturer:
Microchip Technology
Description:
8-bit Microcontrollers - MCU 32KB 1536 RAM 36I/O
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union