下载

© 2005 Microchip Technology Inc. DS39759A-page 1
PIC18F2423/2523/4423/4523
1.0 DEVICE OVERVIEW
This document includes the programming specifications
for the following devices:
2.0 PROGRAMMING OVERVIEW
PIC18F2423/2523/4423/4523 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 users’ 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
PIC18F2423/2523/4423/4523 devices in all package
types.
2.1 Hardware Requirements
In High-Voltage ICSP mode, PIC18F2423/2523/4423/
4523 devices require two programmable power sup-
plies: one for VDD 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, PIC18F2423/2523/4423/
4523 devices can be programmed using a V
DD source
in the operating range. The MCLR
/VPP/RE3 pin 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 PIC18F2423/2523/4423/4523
family are shown in Figure 2-1 and Figure 2-2.
TABLE 2-1: PIN DESCRIPTIONS (DURING PROGRAMMING): PIC18F2423/2523/4423/4523
• PIC18F2423 • PIC18F4423
• PIC18F2523 • PIC18F4523
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 P 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
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.
Flash Microcontroller Programming Specification