2010 Microchip Technology Inc. DS39583C-page 1
PIC18FXX20
1.0 DEVICE OVERVIEW
This document includes the programming
specifications for the following devices:
PIC18F6520
PIC18F6620
PIC18F6720
PIC18F8520
PIC18F8620
PIC18F8720
2.0 PROGRAMMING OVERVIEW
OF THE PIC18FXX20
PIC18FXX20 devices can be programmed using either
the high voltage In-Circuit Serial Programming
TM
(ICSP
TM
) method, or the low voltage ICSP method.
Both of these 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 PIC18FXX20
devices in all package types.
2.1 Hardware Requirements
In high voltage ICSP mode, the PIC18FXX20 requires
two programmable power supplies: one for V
DD and
one for MCLR
/VPP. Both supplies should have a
minimum resolution of 0.25V. Refer to Section 6.0 for
additional hardware parameters.
2.1.1 LOW VOLTAGE ICSP
PROGRAMMING
In low voltage ICSP mode, the PIC18FXX20 can be
programmed using a V
DD 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 for additional hardware parameters.
2.2 Pin Diagrams
The pin diagrams for the PIC18FXX20 family are
shown in Figure 2-1. 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): PIC18FXX20
Pin Name
During Programming
Pin Name Pin Type Pin Description
MCL
R/VPP/RA5 VPP P Programming Enable
V
DD
(2)
VDD P Power Supply
V
SS
(2)
VSS P Ground
AV
DD AVDD P Analog Power Supply
AV
SS AVSS P Analog Ground
RB5 PGM I Low Voltage ICSP™ Input when LVP
Configuration bit equals ‘1
(1)
RB6 SCLK I Serial Clock
RB7 SDATA I/O Serial Data
Legend: I = Input, O = Output, P = Power
Note 1: See Section 5.3 for more detail.
2: All power supply and ground must be connected.
Flash Microcontroller Programming Specification
PIC18FXX20
DS39583C-page 2 2010 Microchip Technology Inc.
FIGURE 2-1: PIC18FXX20 FAMILY PIN DIAGRAMS
Note: Not all multiplexed pin definitions are shown. Refer to the appropriate data sheet for complete pin descriptions.
PIC18F6620
1
2
3
4
5
6
7
8
9
10
11
12
13
14
38
37
36
35
34
33
50 49
17
18 19 20 21 22 23 24 25 26
RE2
RE3
RE4
RE5
RE6
RE7
RD0
V
DD
VSS
RD1
RD2
RD3
RD4
RD5
RD6
RD7
RE1
RE0
RG0
RG1
RG2
RG3
MCLR
/VPP
RG4
VSS
VDD
RF7
RF6
RF4
RF3
RF2
RB0
RB1
RB2
RB3
RB4
RB5
RB6
V
SS
OSC2/RA6
OSC1
V
DD
RB7
RC4
RC3
RC2
RF0
RF1
AV
DD
AVSS
RA3
RA2
RA1
RA0
V
SS
VDD
RA4
RA5
RC1
RC0
RC7
RC6
RC5
15
16
31
40
39
27 28
29 30
32
48
47
46
45
44
43
42
41
54 53 52 5158 57 56 5560 59
64
63 62 61
PIC18F6720
RF5
PIC18F8620
3
4
5
6
7
8
9
10
11
12
13
14
15
16
48
47
46
45
44
43
42
41
4039
64 63 62 61
21 22 23 24 25 26 27 28 29 30 31 32
RE2
RE3
RE4
RE5
RE6
RE7
RD0
V
DD
VSS
RD1
RD2
RD3
RD4
RD5
RD6
RD7
RE1
RE0
RG0
RG1
RG2
RG3
MCLR
/VPP
RG4
V
SS
VDD
RF7
RF6
RF5
RF4
RF3
RF2
RB0
RB1
RB2
RB3
RB4
RB5
RB6
V
SS
OSC2/RA6
OSC1
V
DD
RB7
RC4
RC3
RC2
RF0
RF1
AV
DD
AVSS
RA3
RA2
RA1
RA0
V
SS
VDD
RA4
RA5
RC1
RC7
RC6
RC5
RJ0
RJ1
RH1
RH0
1
2
RH2
RH3
17
18
RH7
RH6
RH5
RH4
RJ5
RJ4
37
RJ7
RJ6
50
49
RJ2
RJ3
19
20
33 34 35 36 38
58
57
56
55
54
53
52
51
60
59
68 67 66 6572 71 70
69
74 73
78 77
76 75
79
80
PIC18F8720
RC0
64L TQFP
80L TQFP
PIC18F6520
PIC18F8520
2010 Microchip Technology Inc. DS39583C-page 3
PIC18FXX20
2.3 Memory Map
The code memory space extends from 0000h to
1FFFFh (128 Kbytes) in eight 16-Kbyte blocks.
Addresses 0000h through 01FFh, however, define a
“Boot Block” region that is treated separately from
Block 1. All of these blocks define code protection
boundaries within the code memory space.
In contrast, code memory panels are defined in 8-Kbyte
boundaries. Panels are discussed in greater detail in
Section 3.2.
TABLE 2-2: IMPLEMENTATION OF CODE
MEMORY
FIGURE 2-2: MEMORY MAP AND THE CODE MEMORY SPACE FOR PIC18FXX20 DEVICES
Device Code Memory Size (Bytes)
PIC18F6520
000000h - 007FFFh (32K)
PIC18F8520
PIC18F6620
000000h - 00FFFFh (64K)
PIC18F8620
PIC18F6720
000000h - 01FFFFh (128K)
PIC18F8720
000000h
1FFFFFh
3FFFFFh
01FFFFh
Note: Sizes of memory areas not to scale.
Code Memory
Unimplemented
Read as ‘0’
Configuration
and ID
Space
MEMORY SIZE / DEVICE
32 Kbytes
(PIC18FX520)
Address
Range
64 Kbytes
(PIC18FX620)
128 Kbytes
(PIC18FX720)
Address
Range
Boot Block
000000h
0007FFh
Boot Block Boot Block
000000h
0001FFh
Block 0
000800h
001FFFh
Block 0 Block 0
000200h
003FFFh
Block 1
002000h
003FFFh
Block 1 Block 1
004000h
007FFFh
Block 2
004000h
005FFFh
Block 2 Block 2
008000h
00BFFFh
Block 3
006000h
007FFFh
Block 3 Block 3
00C000h
00FFFFh
Unimplemented
Read ‘0’s
008000h
Unimplemented
Read ‘0’s
Block 4
010000h
013FFFh
Block 5
014000h
017FFFh
Block 6
018000h
01BFFFh
1FFFFFh
Block 7
01C000h
01FFFFh

PIC18F8620-I/PT

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

Products related to this Datasheet