AVRISP-MKII Clone (2010)

After first creating my LUFA USB stack for the USB AVRs, I decided as a side project to create a new firmware for the entire USB AVR range, which would emulate an AVRISP-MKII. This project is a clean-room copy of the AVRISP-MKII functionality, supporting the programming of the entire 8-bit AVR range via ISP as well as the PDI (for the newer XMEGA AVRs) and TPI (for the 6-pin TINY AVRs). It is entirely open source and has a wide range of configuration options to adjust the feature set and pin-out.

AVRISP-MKII Connection Diagram

One example of a programmer using the clone firmware (Source)

When compiled for the XPLAIN board target, the code will automatically function as a PDI programmer for the XPLAIN board using the optimal settings. This will allow the XPLAIN board to be programmed from within AVRStudio without additional hardware.

  • ISP, PDI and TPI protocols supported
  • 4MHz ISP Rescue Clock (for incorrectly set system clock fuses)
  • Fast, native USB operation
  • Works on any USB AVR model
  • Works with anything the official AVRISP-MKII works with (e.g. AVRStudio 4.x and 5.x, Atmel Studio 6.x)

Special thanks to Tom Light, who has been instrumental in testing new code revisions to ensure correct operation.

For device pin-out information, build the Doxygen documentation from the source by executing "make doxygen". The resulting documentation will be located in the /Documentation/html/ directory of the source folder.


Vital Stats

  • 35 Years Old
  • Australian
  • Lover of embedded systems
  • Firmware engineer
  • Self-Proclaimed Geek

Latest Blog Posts