Build Your Own PICKit 2 Clone
Pickit 3 Programming Software
My Simplified PK2 Design
It can be used with the PICkit 2 GUI Terminal Software and the PICkit 2 GUI Logic Analyzer. Best of all its an all leaded design that you can build in about an hour if you have of the parts.
Because this design is simplified and uses a fixed voltage reference, the programmer voltage cannot be controlled by the PICkit 2 software settings to lower the voltage. It also cannot do the 'Vpp First' mode which in rare cases you may need to re-program a PIC that has a very fast internal oscillator and internal MCLR enabled.
Because of the voltage limitation, programming 3v parts like the PIC32, PIC24 and some PIC18F parts that have a J in the part number are not supported. But for most of the PIC10F, 12F, 16F and 18F devices, this programmer works great and is a fun project to build that will be useful for a long time.
PICkit 2 Case
You can download PICkit2 2.61 from our software library for free. The most recent installation package that can be downloaded is 3.9 MB in size. The most popular version among PICkit2 users is 2.6. PICkit2 lies within Development Tools, more precisely Debugging Tools. Pickit 2 Programmer Software V2.61. The PICkit 2 is an older version of the PICkit™ 3 and does not support newer devices. For new device support and additional features, please see the. This item is not available for the academic discount. The PICkit 2 and PICkit 3 are not production programmers.
- Charlie and the Chocolate Factory Hebrew. Hochgeladen am 3. Enjoy a dramatized version of the interviews of the 4 children in charlie and the chocolate factory.
- Status: offline. Re: PICkit 2 Programmer Software v2.61 Released Friday, February 15, 2013 2:03 PM ( permalink ) 0. Hi, with a bit of Pk2DevceFile and PICKit2V2 programming a lot of new type can be supported with PICKit2. Now PICKit2 supports 970 devices including the SPI SST flash memories.
- The PICkit™ 2 Development Programmer/Debugger (PG164120) is a low-cost development tool with an easy to use interface for programming and debugging Microchip’s Flash families of microcontrollers. You may want to check out more software, such as Hoo WinTail, OCD Commander or ChmDecompiler, which might be related to PICkit2.
PCB Layout
Note:
These files are provided free for personal use only. They are not for commercial use. In other words you can't sell boards or a programmer based on this design without my permission.
|
|
Schematic
Parts List
Qty 1 1 1 1 1 4 1 4 3 2 1 1 1 3 1 1 1 1 1 1 1 1 2 1 1 | Label PCB U1 D2 D1 R14 R15,R16,R2,R10 R3 R12, R13, R17,R8 R9,R6,R5 R7,R11 X1 C4 L1 Q1,Q2,Q4 Q3 Conn2 C1 Conn1 R4 R1 D3 D4 C2,C3 C5 SW1 | Part Number PCB PIC18F2550-I/SP 1N5817 BAT41 22k 4.7k 2.7k 100 10k 330 20Mhz Crystal 0.47uf Cap 680uH 2N3904 2N3906 USB Connector 47uf 25v 6-Pin Header 100k 1k Red LED T1 Green LED T1 22pf 0.1uf Momentary Switch |
PK2 Connections to PIC Device
Pickit 2 Driver
PICkit 2 Manuals
|
|
PICkit 2 Software Description Summary
The software for the PICKit 2 is what makes it useable. There are different levels of software to be aware of when building your own PICkit 2. Here is the list of software I'll cover below. Note: PICkit 2 software below is written to run in Windows only but there are some versions written for Linux and Mac but I haven't used them and they aren't as well documented so I'll stick with Windows only.- PICKit 2 GUI - Windows GUI that controls the PICkit 2.
- PICkit 2 Command Line - This is an alternative to the GUI. It controls the PICkit 2 but can be built into a IDE programming environment. This is the programming software used in my books and in the Great Cow Basic IDE.
- PICkit 2 Firmware - This is the program that is loaded into the PIC18F2550 at the heart of the PK2 design. This communicates with the PICkit 2 GUI or the PICkit 2 Command line software running on a Windows PC.
- PICkit 2 Device File - This file contains all the information the PICkit 2 needs to program each device. This file can be updated as new parts are released. This file is part of the PICkit 2 GUI and PICkit 2 Command line software. Originally the GUI and Command line used different device files but the Command line version was updated by MichaelS below so they could share one device file. This allows both of them to use the latest list of parts together and Dougy83 released a nice software tool to make updating the device file much easier.
Pickit 2 V2.61
All these software releases are listed below.Original Microchip GUI Software
To the left below is the file to install it and to the right is a picture of the software running.
Note: All the PICkit 2 software requires Windows dotnet running on your PC. Chances are you already have it but if your computer is older then you can download it from Microsoft or download this version below that supports the PICkit 2 software.
|
Original Microchip Command Line Software
I use the command line version in the Great Cow Basic compiler IDE and the MCStudio IDE for PICBASIC. This is the official version released by Microchip. It uses its own device file that doesn't support all the latest parts.
pk2cmdv1-20.zip | |
File Size: | 120 kb |
File Type: | zip |
PIC18F2550 Firmware for Building your own PICkit 2
Here is the direct link to the Microchip site: PICkit 2 Firmware V2.32
and here is the direct download (just in-case the link goes bad).
pk2v023200.zip | |
File Size: | 27 kb |
File Type: | zip |
MichaelS Update PK2CMD files
To install, just delete or rename your existing pk2cmd.exe and pk2devicefile.dat and then copy these to the same directory where those original files were. Everything should work as before but now you will have additional device support. (note: my pk2 design above only supports the 5v parts).
pk2cmd.exe | |
File Size: | 151 kb |
File Type: | exe |
pk2devicefile.dat | |
File Size: | 183 kb |
File Type: | dat |
Updated Device File
I've tried it on a few devices and it works and it also has support for even more devices than the MichaelS device file. It claims it supports 678 devices (41 more than the MichaelS version above) including some of the latest PIC16F parts.
pk2devicefile_1_63_146.dat | |
File Size: | 193 kb |
File Type: | dat |
Pickit 2 Programmer Software V2.61
pk2devicefile_1_63_155_gcb_only.dat | |
File Size: | 152 kb |
File Type: | dat |
Device File Editor
So I recommend you replace all of the device files listed above with this one. Its the latest and greatest that I know of for 8-bit devices. Remember to rename it to just pk2devicefile when you use it with the pk2cmd or the PICkit 2 GUI software.
pk2devicefile_1_63_146-4.dat | |
File Size: | 193 kb |
File Type: | dat |
Pickit 2 V2 61 Software
pk2dfe_1.0.0.7.zip | |
File Size: | 27 kb |
File Type: | zip |
More Info
Here are the Microchip Archive files which include some of the early PICkit 2 files.
8-Bit Device Support List
There are three methods
- Using MPLAB x
Pickit 2 Driver Download
Using PICkit 2 Software v2.61.00
This method teaches you to how to program the PIC using PICkit 2 v2.61.00. To begin with Download & Install.Initially connect the PICkit 2 to PC and PIC using proper connectors.Open PICkit 2 software. Automatically detect the device. Import Hex file from containing folder ( File→Import Hex→Open Hex File ). Write the Hex code to PIC using WRITE Button. Verify the previous operation using VERIFY Button
Using MPLAB IDE
This method teaches you to how to program the PIC using MPLAB IDE. To begin with Download & Install MPLAB IDE from Microchip. Initially connect the PICkit 2 to PC and PIC using proper connectors.Open MPLAB, select PICkit 2 (programmer → select programmer → PICkit 2 ), after PICkit 2 is Ready import the Hex file and Finally write the Hex file to target device (programmer → program)