Yet another simplified PICKIT2 clone
The Microchip Pickit2 is one of the most hobby friendly PIC programmer in the market. It lets you program the chip within MPLAB and the most important feature is its USB connectivity. I used a JDM based programmer which confines me of programming with my desktop until I had my PIKIT2, electronicslab.ph version of the original pickit2. At work I am using a PICSTART plus programmer which annoys me because I cannot do on the fly update on the development board because I always have to remove the IC from the board then put it in the programmer back to the board so I made this quick simplified pickit2 from the parts I have.
The original pickit2 requires a 680uH inductor and a 20Mhz clock, but I only have a 220uH inductor and a 12Mhz crystal so i gave it a try. I programmed the PIC18F2550 with the PICSTART within MPLAB, to use the 12Mhz crystal the PLL prescaler selection bit must be modified to divide by 3. This version of the pickit2 is a strip down version intended for hobbyist and students that do not require the progammer to go feautres, also DO NOT use this pickit2 version on 3.3V PICs since the part for adjusting target VDD is also taken out.
I tested it with another PIC18F2550 and voila! this programmer works like a charm even with a 12Mhz crystal and a 220uH inductor on the VPP circuit. This programmer was also tested with PIC16F628A, PIC12F609 and PIC10F202 without problems.
The firmware of the PIC used in the programmer can be found on Program Files\Microchip\MPLAB IDE\PICKit2\PK2V023200.hex. The JDM programmer can also be used to program the PIC18F2550 for the first time, just dont forget to change the PLLDIV to divide by 3 when using a 12Mhz crystal, but when a 20Mhz crystal is used no need to changed anything on the PICkit2 firmware.



Tiktakx,
I was thinking of buying the PicKit2 for the Programmer-To-Go function, does this circuit work the same way?
No, this is a stripdown pickit2, the programmer to go function is taken out
nice nice… galing mo talaga…
Hi sir tiktakx great posts! I’m panning to build this one, have you ever tried to use as a debugger? Thanks!
@sir Icefire, havent used the debugger function but it should work
Thanks sir tiktakx,will try the debugger function after i build this one.
I looking for very simple PICKit2 clone (debugging capability is not necessary nor 3.3V PIC to support) and which can be made without using MOFSETs and op-amplifiers and this can clone is a good candidate.
Can it be used 09P681K50 choke in your schematic?
Did you measured/calculated how many current device drain from USB?
Thank you
I’m looking for very simple PICKit2 clone (debugging capability is not necessary, nor 3.3V PIC to support) and which can be made without using MOSFETs, nor op-amplifiers and this clone can be a good candidate.
Can it be used 09P681K50 choke in your schematic?
Did you measured/calculated how many current device drain from USB?
Thank you
I will try this one..
I created a pcb design for this pickit2 clone
I hope it will work
please sir, can you please upload the 12mhz crystal hex file here;since i do not understand the PLL prescaler selection bit.
from Godwin
please, show how you do the PLLDIV to divide by 3 for 12mhz
Import the hex file in MPLAB and go to chip configuration and change the PLL