Oct 6, 2015 - The tested driver (actually it's just a stock libusb-Win32 driver with the. Hi i'm working with AS7 and AS6.2 and AVRISP-MKII Clone does not.
As you may notice this setup is not fully compatible to AVRISP mkII, but you can do it adding few resistors and level translator chip, just follow this hackaday article (autor says that you should not use MAX3002 level translator IC but GTL2003 or Olimex's schematic (which does not have level translator)
I believe, that this insctructable would work with ease on Arduino Micro and Leonardo and would give you simple way to add level translator and easy acces to TPI and PDI protocols' pins for few ATtiny (most of theme have ISP) and ATXmega.
For going back you can again burn HoodLoader2 DFU bootloader with serial or follow Arduinos tutorial DFUProgramming8U2.
You can compile hex files with Arduino IDE just show verbose output of compiler (file>preferences). Hex location is in one of last lines.
You can upload any hex with Atmel Studio View>Select Available Atmel tools>RMB on AVRISP mkII>Device Programming>select device and apply, set 16,1kHz clock and read device signature. Go to memories and program uC with desired hex.
And this unfortunately :( (copied from Olimex's Q'n'A): Q:I have performed a firmware switch. My drivers are properly installed. Still I can't properly program my target with AVRDUDE. I also tested with the latest Arduino IDE. What is the problem? Is my programmer bricked? A: The hardware of your AVR-ISP-MK2 is fine. There is a software bug that affects LUFA-based programmers in newest releases of AVRDUDE. Either use AVRDUDE versions prior to 6.x.x or apply this patch to the AVRDUDE sources and compile.
I was unable to program ATmega328 onboard Arduino unless I cut RESET EN pad (I mean reset line, because my clone doesn't have pad :( see photo) because AVRISP mkII uses reset pin of XXU2 for something else. You can cut it (solder them back together or reset every time you upload sketch when you to go back to Arduino) or transfer ATmega328 to breadboard and connect it's XTAL pins to to crystal on Arduino board in order to program and change fuses (don't be afraid of them, they are simple stuff, just change oscillator to internal 8MHz if you want to use ATmega328 without additional XTAL wires - you'll gain additional 2 pins) or buy yourself a 16MHz crystal.
According to all of this you should be able to upload sketches to your ATmega328 with Arduino IDE, but you have to:
1. Change AVRDUDE in Arduinohardwaretoolsavrbin to older or compiled with patch, and may be it's config file in Arduinohardwaretoolsavretc. Or try older IDE.
2. Cut/desolder RESET-EN pad on your Arduino board.
3. Select AVRISP mkII as programmer.
4. Program it with Upload using programmer commend (Ctrl+Shift+U)
This is just theory, I didn't test it. I'm using Atmel Studio, which has Arduino extension for importing sketches.