Home > Digital Electronics, Robotics, Tutorials > Yet another simplified PICKIT2 clone

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.

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.

Advertisement
  1. Louie
    April 15, 2011 at 2:18 pm | #1

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

    • April 15, 2011 at 5:10 pm | #2

      No, this is a stripdown pickit2, the programmer to go function is taken out

  2. Julius Mallari
    April 15, 2011 at 9:32 pm | #3

    nice nice… galing mo talaga…

  3. August 4, 2011 at 10:57 pm | #4

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

  4. August 5, 2011 at 12:46 am | #5

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

  5. August 6, 2011 at 1:14 am | #6

    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
    August 29, 2011 at 1:13 am | #7

    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
    August 29, 2011 at 1:25 am | #8

    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. October 7, 2011 at 12:36 am | #9

    I will try this one..

    I created a pcb design for this pickit2 clone

    I hope it will work

  9. Godwin
    November 13, 2011 at 2:47 am | #10

    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
    December 29, 2011 at 11:56 pm | #11

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

    • December 30, 2011 at 3:06 am | #12

      Import the hex file in MPLAB and go to chip configuration and change the PLL

  1. No trackbacks yet.

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 )

Connecting to %s

Follow

Get every new post delivered to your Inbox.