2010 Microchip Technology Inc. DS39606E-page 1
PIC18FXX80/XX85
1.0 DEVICE OVERVIEW
This document includes the programming
specifications for the following devices:
2.0 PROGRAMMING OVERVIEW
PIC18FXX80/XX85 devices can be programmed using
either the high-voltage In-Circuit Serial ProgrammingTM
(ICSPTM) method, or the low-voltage ICSP method.
Both of these programming 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 appli-
cable. This programming specification applies to
PIC18FXX80/XX85 devices in all package types.
2.1 Hardware Requirements
2.1.1 HIGH-VOLTAGE ICSP
PROGRAMMING
In High-Voltage ICSP mode, these devices require two
programmable power supplies: one for VDD and one for
MCLR/VPP. 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.2 LOW-VOLTAGE ICSP
PROGRAMMING
In Low-Voltage ICSP mode, these devices can be pro-
grammed using a VDD source in the operating range.
This only means that MCLR/VPP 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 PIC18FXX80/XX85 family are
shown in Figure 2-1, Figure 2-2 and Figure 2-3. The
pin descriptions of these diagrams do not represent the
complete functionality of the device types. Users
should refer to the appropriate device data sheet for
complete pin descriptions.
TABLE 2-1: PIN DESCRIPTIONS (DURING PROGRAMMING): PIC18FXX80/XX85
• PIC18F6585 • PIC18F6680
• PIC18F8585 • PIC18F8680
Pin Name
During Programming
Pin Name Pin Type Pin Description
MCLR/VPP/RA5 VPP P Programming Enable
VDD(2) VDD P Power Supply
VSS(2) VSS P Ground
AVDD(2) AVDD P Analog Power Supply
AVSS(2) AVSS P Analog Ground
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
OSC1 OSC1 I Oscillator Input (needs to be pulled high during programming.)
Legend: I = Input, O = Output, P = Power
Note 1: See Section 5.3 “Low-Voltage Programming (LVP) Bit” for more detail.
2: All power supplies and ground must be connected.
Flash Microcontroller Programming Specification