Microchip Technology PICkit 3 Starter Kit DV164130 DV164130 Hoja De Datos
Los códigos de productos
DV164130
Install the Latest Software
Install the MPLAB® IDE software onto your PC using the MPLAB IDE CD-ROM or
download the software from the MPLAB IDE page of the Microchip web site
(www.microchip.com/MPLAB). Check the latest Release Notes for additional
information.
download the software from the MPLAB IDE page of the Microchip web site
(www.microchip.com/MPLAB). Check the latest Release Notes for additional
information.
➊
Target Connector Pinout
*Target device must be running with an oscillator for the debugger to function as a debugger.
**If the device has AV
DD
and AV
SS
lines, they must be connected for the debugger to operate.
➎
Program and Debug
1. Program your device.
2. As a programmer, PICkit 3 will automatically run your code. As a debugger, you
2. As a programmer, PICkit 3 will automatically run your code. As a debugger, you
can run, halt, single step and set breakpoints in your code.
Note:
For information on Reserved Resouces used by the debugger, see the
PICkit 3 on-line help.
DS51792A
www.microchip.com
The Microchip name and logo, the Microchip logo, MPLAB and PIC are registered trademarks of
Microchip Technology Incorporated in the U.S.A. and other countries. PICkit is a trademark of
Microchip Technology Incorporated in the U.S.A. and other countries.
© 2008 Microchip Technology Incorporated. All Rights Reserved. 12/08
Microchip Technology Incorporated in the U.S.A. and other countries. PICkit is a trademark of
Microchip Technology Incorporated in the U.S.A. and other countries.
© 2008 Microchip Technology Incorporated. All Rights Reserved. 12/08
PICkit 3 Connector Pinout
•
Do not use mulitplexing on PGC/PGD
–
they are
dedicated for communications to PICkit 3.
•
Do not use pull-ups on PGC/PGD
–
they will divide the
voltage levels since these lines have 4.7 k
Ω
pull-down
resistors in PICkit 3.
•
Do not use capacitors on PGC/PGD
–
they will prevent
fast transitions on data and clock lines during
programming and debug communications.
programming and debug communications.
•
Do not use capacitors on MCLR
–
they will prevent
fast transitions of V
PP
.
•
Do not use diodes on PGC/PGD
–
they will prevent
bidirectional communication between PICkit 3 and the
target PIC® MCU.
target PIC® MCU.
Target Circuit Design Precautions
Target Application PC Board
2
1
1
5
4
4
3
Target V
DD
(tV
DD
)
V
DD
PGC
PGD
PGD
V
SS
AV
DD
**
AV
SS
**
XTAL*
te
gr
aT
noi
ta
cil
pp
A
eci
ve
D
V
PP
/MCLR
Incorrect
X
X
X
X
2
1
1
5
4
4
3
DD
Target V
DD
(tV )
4.7 -
10 kΩ
Typical
Target Application PC Board
V
DD
PGC
PGD
PGD
V
SS
AV
DD
**
AV
SS
**
XTAL*
te
gr
aT
noi
ta
cil
pp
A
eci
ve
D
tV
DD
4.7 kΩ
4.7 kΩ
tV
DD
tV
DD
tV
DD
tV
DD
PICkit 3
Internal Circuitry (simplified)
Target V
DD
(tV
DD
) is used
to power the
Input/Output
drivers in
PICkit 3
programmer/
debugger
V
PP
Correct
V
PP
/MCLR
Alternate Debugger System – ICE Device:
Target Board
Transition Socket
Device-ICE
Standard
Adapter
Header
Power
Configure PC USB Communications
➋
Connect the PICkit™ 3 development programmer/debugger to a PC USB port via
a USB cable. PICkit 3 uses the standard HID USB Windows® driver.
a USB cable. PICkit 3 uses the standard HID USB Windows® driver.
Note:
If a USB hub is used, the hub must be powered with its own power supply.
Build Your Project
1. Launch MPLAB IDE.
2. Load your project or use the Project Wizard to create a new one.
4. Build your project based on your configurations and options.
5. Select the PICkit 3 as either a debugger (Debugger>Select Tool>PICkit 3) or as
2. Load your project or use the Project Wizard to create a new one.
4. Build your project based on your configurations and options.
5. Select the PICkit 3 as either a debugger (Debugger>Select Tool>PICkit 3) or as
a programmer (Programmer>Select Programmer>PICkit 3).
Connect to Target and Power
mini-USB from PC
Typical Debugger System – Device With On-Board ICE Circuitry:
Target Board
Ta
rg
et
D
ev
ic
e
Power
1. Attach the PICkit 3 to the PC using the USB cable, if not already.
2. Attach the communications cable between the debugger and target board.
3. Connect power to the target board.
2. Attach the communications cable between the debugger and target board.
3. Connect power to the target board.
ADDITIONAL INFORMATION
Circuitry and Connector Pinouts
USB
PC
(Not to scale.)
mini-USB from PC
Pin
Signal
1
MCLR/V
PP
2
V
DD
Target
3
V
SS
Ground
4
ICSPDAT/PGD
5
ICSPCLK/PGC
6
LVP
Pin 1 Indicator
Note: See the PICkit 3 User’s Guide for more component
and setting information.
Recommended Settings
COMPONENT
SETTING
Oscillator
•
OSC bits set properly
•
Running
Power
Supplied by target
WDT
Disabled (device dependent)
Code Protect
Disabled
Table Read Protect Disabled
LVP
Disabled
BOD
V
DD
> BOD V
DD
min
JTAG
Disabled
AV
DD
and AV
SS
Must be connected
PGCx/PGDx
Proper channel selected, if
applicable
Programming
V
DD
voltage levels meet
programming specs
Pin
Signal
1
MCLR/V
PP
2
V
DD
Target
3
V
SS
Ground
4
ICSPDAT/PGD
5
ICSPCLK/PGC
6
LVP
In-Circuit DeBugger
Using