PIC18FX5X5/X6X0
Flash Microcontroller Programming Specification
1.0
DEVICE OVERVIEW
2.1
Hardware Requirements
This document includes the programming specifications
for the following devices:
鈥?PIC18F2515
鈥?PIC18F2525
鈥?PIC18F2585
鈥?PIC18F2610
鈥?PIC18F2620
鈥?PIC18F2680
鈥?PIC18F4515
鈥?PIC18F4525
鈥?PIC18F4585
鈥?PIC18F4610
鈥?PIC18F4620
鈥?PIC18F4680
In High-Voltage ICSP mode, PIC18FX5X5/X6X0
devices require two programmable power supplies:
one for V
DD
and one for MCLR/V
PP
. Both supplies
should have a minimum resolution of 0.25V. Refer to
Section 6.0
鈥淎C/DC
Characteristics
Timing
Requirements for Program/Verify Test Mode鈥?/span>
for
additional hardware parameters.
2.1.1
LOW-VOLTAGE ICSP
PROGRAMMING
2.0
PROGRAMMING OVERVIEW
OF THE PIC18FX5X5/X6X0
PIC18FX5X5/X6X0 devices can be programmed using
either the high-voltage In-Circuit Serial Programming
TM
(ICSP
TM
) method, or the low-voltage ICSP method.
Both methods can be done with the device in the users鈥?/div>
system. The low-voltage ICSP method is slightly
different than the high-voltage method and these differ-
ences are noted where applicable. This programming
specification applies to PIC18FX5X5/X6X0 devices in
all package types.
In Low-Voltage ICSP mode, PIC18FX5X5/X6X0
devices can be programmed using a V
DD
source in the
operating range. The MCLR/V
PP
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
鈥淎C/DC Characteristics Timing Requirements for
Program/Verify Test Mode鈥?/span>
for additional hardware
parameters.
2.2
Pin Diagrams
The pin diagrams for the PIC18FX5X5/X6X0 family are
shown in Figure 2-1 and Figure 2-2.
TABLE 2-1:
Pin Name
PIN DESCRIPTIONS (DURING PROGRAMMING): PIC18FX5X5/X6X0
During Programming
Pin Name
Pin Type
P
P
P
I
I
I/O
Programming Enable
Power Supply
Ground
Low-Voltage ICSP Input when LVP Configuration bit equals 鈥?鈥?/div>
(1)
Serial Clock
Serial Data
Pin Description
MCLR/V
PP
/RE3
V
DD
(2)
V
SS
(2)
RB5
RB6
RB7
V
PP
V
DD
V
SS
PGM
PGC
PGD
Legend:
I = Input, O = Output, P = Power
Note 1:
See
Section 5.3 鈥淪ingle-Supply ICSP Programming鈥?/span>
for more detail.
2:
All power supply (V
DD
) and ground (V
SS
) must be connected.
錚?/div>
2004 Microchip Technology Inc.
DS39622A-page 1
next