You are on page 1of 3

PICKIT2

USB PIC Microcontroller Programmer

www.magnatelanka.com
071 221 35 32
How to use this?
1. You should identify the programming pins of your PIC IC. Following diagram shows some
common type of PIC IC’s pins layouts.

PICKIT2 USB PIC PROGRAMMER ICSP Pinout

Red 1 - Vpp/MCLR
2 - Vdd
3 - Vss
4 - PGD/DAT
5 - PGC/CLK
6 - PGM

Now you have some idea… Then you have to connect those (PIC pins) to the programmer.
Simply You can use a project board to connect IC pins and Programmer outputs.

Then connect the USB to the PC and open PICKIT 2 software and program the IC........
No external power is required to this USB programmer. It regulates suitable voltage for
programming …(when you connect this programmer to PC or Laptop with out connecting PIC
IC to ICSP connector, the pickit2 software will show you unsupported part(ID=FFFF). Don’t be
upset with this massage. It is because, this programmer use its own USB power to generate
MCRL programming voltage.) If you connect a PIC to ICSP connector and refresh the pickit2
software (to do this, go :- Tool-> check communication ) you can see identification of PIC.

ICSP Overview
This model is an ICSP (In-Circuit Serial Programming) programmer. In order to program a PIC
with ICSP you need 6 programming pins of your PIC. PICs are generally programmed using 5
signals. The data is transferred using a two wire synchronous serial scheme, with the clock
always controlled by the programmer. The ICSP signals are:

1. Vpp/MCLR

Programming mode voltage. This must be connected to the MCLR pin, or the Vpp pin of the
optional ICSP port available on some large-pincount PICs. To put the PIC into programming
mode, this line must be in a specified range that varies from PIC to PIC.

2. Vdd

This is the positive power input to the PIC.

3. Vss

Negative power input to the PIC and the zero volts reference for the remaining signals. Voltages
of the other signals are implicitly with respect to GND.

4. PGD/DAT

Serial data line. The serial interface is bi-directional, so this line can be driven by either the
programmer or the PIC depending on the current operation. In either case this line swings from
GND to Vdd. A bit is transferred on the falling edge of PGC.

5. PGC/CLK

Clock line of the serial data interface. This line swings from GND to Vdd and is always driven
by the programmer. Data is transferred on the falling edge.

6. PGM

optional, required only for LVP

You might also like