2010-2015 Microchip Technology Inc. DS30009622M-page 1
PIC18F2XXX/4XXX FAMILY
1.0 DEVICE OVERVIEW
This document includes the programming specifications for the following devices:
2.0 PROGRAMMING OVERVIEW
PIC18F2XXX/4XXX Family devices can be programmed using either the high-voltage In-Circuit Serial Programming
(ICSP™) method or the low-voltage ICSP method. Both methods can be done with the device in the user’s system. The
low-voltage ICSP method is slightly different than the high-voltage method and these differences are noted where
applicable.
This programming specification applies to the PIC18F2XXX/4XXX Family devices in all package types.
2.1 Hardware Requirements
In High-Voltage ICSP mode, PIC18F2XXX/4XXX Family devices require two programmable power supplies: one for
V
DD and one for MCLR/VPP/RE3. Both supplies should have a minimum resolution of 0.25V. Refer to Section 6.0 “AC/
DC Characteristics Timing Requirements for Program/Verify Test Mode” for additional hardware parameters.
2.1.1 LOW-VOLTAGE ICSP PROGRAMMING
In Low-Voltage ICSP mode, PIC18F2XXX/4XXX Family devices can be programmed using a VDD source in the
operating range. The MCLR
/VPP/RE3 does not have to be brought to a different voltage, but can instead be left at the
normal operating voltage. Refer to Section 6.0 “AC/DC Characteristics Timing Requirements for Program/Verify
Test Mode” for additional hardware parameters.
2.2 Pin Diagrams
The pin diagrams for the PIC18F2XXX/4XXX Family are shown in Figure 2-1, Figure 2-2, Figure 2-3, Figure 2-4,
Figure 2-5.
PIC18F2221 PIC18F2580 PIC18F4480
PIC18F2321 PIC18F2585 PIC18F4510
PIC18F2410 PIC18F2610 PIC18F4515
PIC18F2420 PIC18F2620 PIC18F4520
PIC18F2423 PIC18F2680 PIC18F4523
PIC18F2450 PIC18F2682 PIC18F4525
PIC18F2455 PIC18F2685 PIC18F4550
PIC18F2458 PIC18F4221 PIC18F4553
PIC18F2480 PIC18F4321 PIC18F4580
PIC18F2510 PIC18F4410 PIC18F4585
PIC18F2515 PIC18F4420 PIC18F4610
PIC18F2520 PIC18F4423 PIC18F4620
PIC18F2523 PIC18F4450 PIC18F4680
PIC18F2525 PIC18F4455 PIC18F4682
PIC18F2550 PIC18F4458 PIC18F4685
•PIC18F2553
Flash Microcontroller Programming Specification
PIC18F2XXX/4XXX FAMILY
DS30009622M-page 2 2010-2015 Microchip Technology Inc.
TABLE 2-1: PIN DESCRIPTIONS (DURING PROGRAMMING): PIC18F2XXX/4XXX FAMILY
The following devices are included in 28-pin SPDIP, PDIP and SOIC parts:
The following devices are included in 28-pin SSOP parts:
FIGURE 2-1: 28-Pin SPDIP, PDIP, SOIC,SSOP
Pin Name
During Programming
Pin Name Pin Type Pin Description
MCLR
/VPP/RE3 VPP P Programming Enable
V
DD
(2)
VDD P Power Supply
V
SS
(2)
VSS PGround
RB5 PGM I Low-Voltage ICSP™ Input when LVP
Configuration bit equals ‘1
(1)
RB6 PGC I Serial Clock
RB7 PGD I/O Serial Data
Legend: I = Input, O = Output, P = Power
Note 1: See Figure 5-1 for more information.
2: All power supply (V
DD) and ground (VSS) pins must be connected.
PIC18F2221 PIC18F2480 PIC18F2580
PIC18F2321 PIC18F2510 PIC18F2585
PIC18F2410 PIC18F2515 PIC18F2610
PIC18F2420 PIC18F2520 PIC18F2620
PIC18F2423 PIC18F2523 PIC18F2680
PIC18F2450 PIC18F2525 PIC18F2682
PIC18F2455 PIC18F2550 PIC18F2685
PIC18F2458 PIC18F2553
PIC18F2221 PIC18F2321
10
11
2
3
4
5
6
1
8
7
9
12
13
14
15
16
17
18
19
20
23
24
25
26
27
28
22
21
MCLR/VPP/RE3
RA0
RA1
RA2
RA3
RA4
RA5
V
SS
OSC1
OSC2
RC0
RC1
RC2
RC3
RB7/PGD
RB6/PGC
RB5/PGM
RB4
RB3
RB2
RB1
RB0
V
DD
VSS
RC7
RC6
RC5
RC4
PIC18F2XXX
2010-2015 Microchip Technology Inc. DS30009622M-page 3
PIC18F2XXX/4XXX FAMILY
The following devices are included in 28-pin QFN parts:
FIGURE 2-2: 28-Pin QFN
The following devices are included in 40-pin PDIP parts:
FIGURE 2-3: 40-Pin PDIP
PIC18F2221 PIC18F2423 PIC18F2510 PIC18F2580
PIC18F2321 PIC18F2450 PIC18F2520 PIC18F2682
PIC18F2410 PIC18F2480 PIC18F2523 PIC18F2685
PIC18F2420
PIC18F4221 PIC18F4455 PIC18F4523 PIC18F4610
PIC18F4321 PIC18F4458 PIC18F4525 PIC18F4620
PIC18F4410 PIC18F4480 PIC18F4550 PIC18F4680
PIC18F4420 PIC18F4510 PIC18F4553 PIC18F4682
PIC18F4423 PIC18F4515 PIC18F4580 PIC18F4685
PIC18F4450 PIC18F4520 PIC18F4585
10 11
2
3
6
1
18
19
20
21
22
12 13 14
15
8
7
16
17
232425262728
9
PIC18F2XXX
RC0
5
4
RB7/PGD
RB6/PGC
RB5/PGM
RB4
RB3
RB2
RB1
RB0
V
DD
VSS
RC7
RC6
RC5
RC4
MCLR
/VPP/RE3
RA0
RA1
RA2
RA3
RA4
RA5
V
SS
OSC1
OSC2
RC1
RC2
RC3
RB7/PGD
RB6/PGC
RB5/PGM
RB4
RB3
RB2
RB1
RB0
V
DD
VSS
RD7
RD6
RD5
RD4
RC7
RC6
RC5
RC4
RD3
RD2
MCLR/VPP/RE3
RA0
RA1
RA2
RA3
RA4
RA5
RE0
RE1
RE2
V
DD
VSS
OSC1
OSC2
RC0
RC1
RC2
RC3
RD0
RD1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
21
PIC18F4XXX

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