Arduino Forum

Development => Other Software Development => Topic started by: GeertClaes on Nov 22, 2016, 11:56 am

Title: avrisp mkii and software Arduino
Post by: GeertClaes on Nov 22, 2016, 11:56 am
Hello,

Some years ago I bought myself a "avrisp mkii" usb programmer.

http://www.atmel.com/Images/AVRISPmkII.jpg

Is it possible to use the Arduino developer/programmer software for this programmer?

I know you can use the ArduinoUNO board to program other Atmel devices but I wonder if I can use the "avrisp mkii" programmer directly on this Arduino software.

Thanks for the answer.

Best regards, Geert
Title: Re: avrisp mkii and software Arduino
Post by: pert on Nov 24, 2016, 12:37 am
Yes it's possible. There are a couple problems you might encounter if you're using Windows.

If you have used Atmel Studio you will probably have the Jungo driver installed which is not compatible with the Arduino IDE so you need to uninstall that driver and install the correct one(libusbk or libusb-win32).

The issue described in https://github.com/arduino/Arduino/issues/2986 (https://github.com/arduino/Arduino/issues/2986). I have found this solved by using the latest Arduino IDE or Arduino AVR Boards version but someone else said that didn't work for them. I have also been able to solve it by using the libusbk instead of the libusb-win32 driver. I also made a workaround for the issue:
https://github.com/per1234/Arduino-AVRISPmkII-fix (https://github.com/per1234/Arduino-AVRISPmkII-fix)