PICKIT2 USB PIC & EEPROM Programmer + Software
|
පහත දක්වා ඇත්තේ PIC Microcontroller Programming පොතත් සමග ඇති CD එකෙහි අන්තර්ගත PICKIT2 usb pic proogrammer එක පිළිබඳ tutorial video වේ.
Tutorial video
| Microcontrollers Support | EEPROM & other support |
![]()
![]()
![]()
1. You should identify the programming pins of your PIC IC. Following diagram shows some common type of PIC IC’s pins layouts.
Red |
- |
Vpp/MCLR |
Yellow |
- |
Vdd |
Gray |
- |
Vss |
White |
- |
PGD/DAT |
Blue |
- |
PGC/CLK |
Black |
- |
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.
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:
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.
This is the positive power input to the PIC.
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.
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.
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.
optional, required only for LVP
The PICkit 2 — introduced in May 2005[3] — replaced the PICkit 1. The most notable difference between the two is that the PICkit 2 has a separate programmer/debugger unit which plugs into the board carrying the chip to be programmed, whereas the PICkit 1 was a single unit. This makes it possible to use the programmer with a custom circuit board via an In Circuit Serial Programming (ICSP) header. This feature is not intended[3] for so-called "production" programming, however.
The PICkit 2 uses an internal PIC18F*** with FullSpeed USB. The latest PICkit 2 firmware allows the user to program and debug most of the 8 and 16 bit PICmicro and dsPIC members of the Microchip product line.
The PICkit 2 is open to the public, including its hardware schematic, firmware source code (in C language) and application programs (in C# language). End users and third parties can easily modify both the hardware and software for enhanced features. e.g. GNU/Linux version of PICKit 2 application software, DOS style CMD support, etc.
The Microchip version of PICkit 2 has a standard 128K byte memory. 256K byte memory can be achieved by modifying the hardware or from third party.
Additionally, a 500 kHz three-channel logic analyser and a UART tool are built into the PICKit 2. These features are missing from the PICkit 3