I have used my AVR MK II with Arduino 1.8.5 for a long time without any problems. My targets have been the Pro Micro and the ATTiny85.
Recently I moved to Win10 and used Arduino 1.8.5 to directly program a Pro Micro. Worked fine. But when I used the AVR to program an ATTiny85, I got the upload error shown below.
The AVR shows up in Device Manager as "Atmel/AVRISP mkii" but nothing under Ports (COM & LPT). Under Atmel/AVRISP mkii I see that the driver is OK although under Events I see "Device USB\VID_03EB&PID_2104\000200156091 was not migrated due to partial or ambiguous match."
In Arduino 1.8.5 I see COM1 as the only option. Moving the AVR to different USB ports makes no difference. During uploads I get the error:
------------------------
avrdude: Version 6.3-20171130
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.14.0_x86__mdqgnx93n4wtt\hardware\tools\avr/etc/avrdude.conf"
Using Port : usb
Using Programmer : stk500v2
An error occurred while uploading the sketch
avrdude: usbdev_open(): did not find any USB device "usb" (0x03eb:0x2104)
avrdude done. Thank you.
-------------------------
and at the top it says "An error occurred while uploading the sketch"
Upgrading to 1.8.6 made no difference. I then moved to my Win7 laptop and got the same error.
When it used to work, I would select the correct COM and get no errors. Now I only get that COM1 option and the above error messages.
So how do I fix it?
Thanks in advance,
Rick
Trouble with my AVR MK II
Moderator: phalanx
-
- Support Volunteer
- Posts: 2339
- Joined: Fri Jun 15, 2007 9:41 pm
- Location: Eugene, Or
Re: Trouble with my AVR MK II
Sounds like a driver problem to me. I use Win7 with the AVRISP MKII programmer, and no COM port appears when it is plugged in. I use AVR Studio for programming with it, not Arduino.
In Device Manager the programmer appears under the "Jungo" heading as two devices: AVRISP mkII and WinDriver.
Try downloading the driver from the manufacturer web site and deleting/reinstalling (I haven't visited it since the change of ownership).
In Device Manager the programmer appears under the "Jungo" heading as two devices: AVRISP mkII and WinDriver.
Try downloading the driver from the manufacturer web site and deleting/reinstalling (I haven't visited it since the change of ownership).
Re: Trouble with my AVR MK II
I agree that it is likely a driver problem. I deleted the driver and reinstalled it from https://gallery.microchip.com/packages/ ... -7.0/1.0.0
I get the same error messages. I do not see it as two devices but that may be related to the error message I saw saying "was not migrated due to partial or ambiguous match." No "Jungo" on the list.
Suggestions?
Rick
I get the same error messages. I do not see it as two devices but that may be related to the error message I saw saying "was not migrated due to partial or ambiguous match." No "Jungo" on the list.
Suggestions?
Rick
-
- Support Volunteer
- Posts: 2339
- Joined: Fri Jun 15, 2007 9:41 pm
- Location: Eugene, Or
Re: Trouble with my AVR MK II
I suggest to post on the Microchip forum.
Re: Trouble with my AVR MK II
Good suggestion but no joy. I went to https://www.microchip.com/forums/Forums and they don't have anything related to AVR MK II. I know they don't support it anymore.
Rick
Rick
Re: Trouble with my AVR MK II
Try posting at www.avrfreaks.net
/mike
/mike
Re: Trouble with my AVR MK II
Mike,
Thanks for the tip. I posted on avrfreaks.net.
Rick
Thanks for the tip. I posted on avrfreaks.net.
Rick