Program your AVR with PICkit2

Posted on Wednesday, April 7th, 2010 in AVR by Ian

PK2AVRISP is software that lets a PICkit2 program AVR microcontrollers with no hardware or firmware changes. It decodes commands sent to a virtual serial port that emulates an AVR ISP programmer, and translates them to Pickit2 commands. It’s compatible with existing AVR development apps like AVRStudio, AVRDude, and CodeVision AVR.

This entry was posted on Wednesday, April 7th, 2010 at 5:59 am and is filed under AVR. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

8 Responses to “Program your AVR with PICkit2”

  1. J. Peterson says:

    The PICkit2 is a wonderful device. It’s able to program PICs in “offline” mode (download once to the PICkit2, program more chips by just pushing the button on it). It’s able to work as a simple logic analyzer and serial port emulator. It’s cheap. And the design is open (schematics, etc. provided by Microchip).

    AVR compatibility makes it even better.

  2. charudatt says:

    I shall try it out, but it looks promising. My biggest problem was to use a USB AVR programmer on a WIN7x64 OS. Hope this allows me to…………

    My PICkit2 works on WIN7x64 , will this also work ?

  3. larryvc says:

    The link PK2AVRISP needs updating. The site has moved.

  4. Manuel Cuevas says:

    Greetings… had 2 programs, one for burn AVR microcontrollers and other to convert Pickit2 in a Virtal Serial Port, ¿Does anybody have the second program?

    Thanks in advance

  5. Sleepwalker3 says:

    I don’t suppose anybody has written a similar prog for the Pickit3? I expect not, so many reports of people saying how the Pickit2 was so much better than the Pickit3, except that it can’t do the high end PIC32’s.

  6. It looks like mentioned website is dead, but if you are looking to use pickit 2 as AVR programmer than current avrdude version (6.1) seems to work fine. I’ve used pickit 2 clone (full version) with ATmega8 – it’s slower than dedicated programmer (~1kB/s flash read and write) so it may be irritating, but it’s always nice to have backup tool.
    It’s also worth mentioning that since version 6.0.1 Joerg Wunsch provides “official” avrdude Win32/MinGW builds.

  7. gqptyu says:

    It has been a while but wanted to mention that I could make it work with avrdude. Set up a virtual com port pair using VSPE or com0com. Hook up the Pickit2, fire up the program using one port and avrdude on the other. It will detect it. Use stk500v2 programmer mode.

    Atmel Studio 6 doesn’t work with this though. I get an error. May be the settings can be tweaked in some way to make it work. Although not a big deal. I can upload the hex using avrdude any time.

Leave a Reply

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Recent Comments

  • Drone: The LM7171 used in this very simple design can be simulated in LTspice with reasonable results at 10MHz using the non-encrypted PSPICE model from TI...
  • Jon Jackson: I would be interested in 1 or 2 of your circuit boards. Jon
  • Max: An actual Saturday "detector" built with the same hardware would use the precisely timed slightly varying length of the day (and some built-in astronomy data)...
  • KH: In the old days, these things remained on paper forever as whimsical scrawls. Today, they are brandished about on blogs for the entire world to...
  • KH: So he doesn't really know what he's doing. Yawn. It's sensor-controlled. It's not an oscillator. A leaf covers the window, you're toast. TLV3702? Overkill. The...