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?
John
We use LUFA 151115, we compile with AVR Stduio 4 and WinAVR-20100110. We apply some changes to the source code, in
\lufa-master\lufa-master\Projects\AVRISP-MKII\makefile
MCU = at90usb162
ARCH = AVR8
BOARD = USBTINYMKII
F_CPU = 16000000
in \lufa-master\lufa-master\Projects\AVRISP-MKII\Lib\V2ProtocolParams.h
#define FIRMWARE_VERSION_MINOR [PUT_SOME_BIG_NUMBER_HERE]
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