
PICkit 2 is a Microchip programmer/debugger designed primarily for PIC chips. The fun part is that AVRDUDE can also use it as an ISP programmer for supported AVR microcontrollers, including the ATmega328P I’m working with here. That AVR support comes from AVRDUDE rather than Microchip’s PICkit 2 application.
Atmel is one of Microchip’s competitors, so I have to wonder whether that’s why Microchip doesn’t seem particularly interested in supporting the PICkit 2 anymore. After all, you wouldn’t want your own programmer helping sell your biggest competitor’s chips! That’s just my theory, of course.
What I used:
- PICkit 2
- the programmer / adapter hardware linked from obddiag.net in the original post
- PIC12F508, useful for checking that the PICkit 2 setup is functioning
- ATmega328P as the AVR target
- AVRDUDE on the Mac
Compiling all of this has been particularly entertaining because I have very little idea what I’m doing! 😅 More to come when I find the time…
Update 2023: I’ll probably never find the time. However, it’s worth mentioning that this was all done for the Lunchbeat project. More of that hot mess can be found in the Projects folder in the photo gallery. Enjoy! 🙃