Yet another simplified PICKIT2 clone

Posted: April 14, 2011 in Digital Electronics, Robotics, Tutorials
Tags: , , , , , ,

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.

Prototype

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.

Schematic

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.

Advertisements
Comments
  1. Louie says:

    Tiktakx,
    I was thinking of buying the PicKit2 for the Programmer-To-Go function, does this circuit work the same way?

  2. Julius Mallari says:

    nice nice… galing mo talaga…

  3. spectrum17 says:

    Hi sir tiktakx great posts! I’m panning to build this one, have you ever tried to use as a debugger? Thanks!

  4. tiktakx says:

    @sir Icefire, havent used the debugger function but it should work

  5. spectrum17 says:

    tiktakx :
    @sir Icefire, havent used the debugger function but it should work

    Thanks sir tiktakx,will try the debugger function after i build this one.

  6. Testing pics says:

    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

  7. Testing pics says:

    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

  8. drx2k says:

    I will try this one..

    I created a pcb design for this pickit2 clone

    I hope it will work

  9. Godwin says:

    please sir, can you please upload the 12mhz crystal hex file here;since i do not understand the PLL prescaler selection bit.

    from Godwin

  10. Ehi says:

    please, show how you do the PLLDIV to divide by 3 for 12mhz

  11. ashish says:

    why the hell some one will need programmer to go function in pickit2 programmer ,i dont think when ever i need to program i will be without a computer and more over devlopers are always with their laptop,ya the programmer to go wouled have been use ful if it would have allowed storing multiple hex on a sd card and selectively we could program it to the pic,

  12. ashish says:

    just like this uprog avr programmer does ,so programmer to go in pickit2 is a silly function

    http://mdiy.pl/uprog-maly-szybki-przenosny-programator-avr-z-sd/?lang=en

    see the link for the uprog avr programmer ,

  13. Werner says:

    Thanks for making my life a little bit more bareable. Built the programmer and it worked first time. Donated $2.00.

  14. petr says:

    For debugging, there must be diode between VDD and pin 3 resistor. But error VDD 0V. Other clones have it. Pull down resistors PGC, PGD are recommended.

  15. petr says:

    Sorry, it is not true. The diode is not important for debugging. It working without it. Very Quickly !!!!

  16. Dilupa says:

    will you please post the pcb layout as well.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s