AVR-ISP-MK2 souce code for AVRDUDE

Started by dledo86, March 27, 2020, 05:05:28 PM

Previous topic - Next topic


Hello Everyone,

I'm using the AVR-ISP-MK2 and until now it's work fine. However, I need to modify the source code of the programmer for AVRdude. The reason is that before I start the bootloader of the AVR microcontroller I need to control one relé with the micro inside of the programmer. so the idea is when I start the upload of the new firmware for my AVR microcontroller the programmer open one relay to stop my machine. after that, the programmer works normally.
Does anyone know where I can find the source code of this programmer?

Thanks in advance for the support.


A web search found various versions - would none of them be good enough?



We use LUFA 151115, we compile with AVR Stduio 4 and WinAVR-20100110. We apply some changes to the source code, in


MCU          = at90usb162
ARCH         = AVR8
F_CPU        = 16000000

in \lufa-master\lufa-master\Projects\AVRISP-MKII\Lib\V2ProtocolParams.h


Go to file \lufa-master\lufa-master\Projects\AVRISP-MKII\Config\AppConfig.h and depending on whether you want to use AVRDUDE or Atmel Studio:

comment out //#define LIBUSB_DRIVER_COMPAT - if you are compiling for Windows/Atmel Studio operation

don't comment #define LIBUSB_DRIVER_COMPAT - if you are compiling for Linux/AVRDUDE operation
Technical support and documentation manager at Olimex