Trouble with my AVR MK II

Go To Last Post
10 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Post  by rgsparber » Sun Sep 09, 2018 3:51 pm

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

This topic has a solution.

Rick in Phoenix

Last Edited: Wed. Sep 19, 2018 - 03:34 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Just out of interest. When you said AVR MK II, you mean this device, right? https://www.amazon.co.uk/AVRISP-...

If yes, then how do you use it with Arduino IDE? I can only use it with Atmel Studio. Could you please show me how to use it (or configuration) with Arduino IDE?

I have been looking for an answer for a long time.

Thank you very much

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

rgsparber wrote:
Recently I moved to Win10

From what OS did you move from?    Note the drivers for the avrisp mkii changed in W10, it no longer uses the jungo driver. 

You may have to install AS7 to get the latest W10 compatible drivers.....

But then why use ISP if a boot loader is the intended load method in Arduino!??

 

 

Jim

 

Click Link: Get Free Stock: Retire early!

share.robinhood.com/jamesc3274

 

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

flycatnguyen wrote:

Just out of interest. When you said AVR MK II, you mean this device, right? https://www.amazon.co.uk/AVRISP-...

If yes, then how do you use it with Arduino IDE? I can only use it with Atmel Studio. Could you please show me how to use it (or configuration) with Arduino IDE?

I have been looking for an answer for a long time.

Thank you very much

After launching arduino 1.8.7, click on Tools and you will see Programmer. This list contains AVRISP: MKII.  Select this option plus select the COM port that connects it to the PC. It worked fine until I moved to Windows 10. Funny thing is that it did work on Win7 but now doesn't work on my laptop which is still running Win7. 

 

I was talking with the help desk on Sparkfun and the guy said they were unable to get MKII to work on Win10 either. Then ended up developing their own programmer which became a product. I bought one for $15 and it works great. Just unplugged the MKII and plugged theirs in. Cable pinout matches plus I can now power the device via the programmer. 

 

Attachment(s): 

Rick in Phoenix

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

ki0bk wrote:

rgsparber wrote:
Recently I moved to Win10

From what OS did you move from?    Note the drivers for the avrisp mkii changed in W10, it no longer uses the jungo driver. 

You may have to install AS7 to get the latest W10 compatible drivers.....

But then why use ISP if a bootloader is the intended load method in Arduino!??

 

 

Jim

 

I was running Win7. 

 

I do use the bootloader for my Pro Micro via its USB interface but not on my ATTiny85 which is a raw device. 

 

In all of my searches for Win10 drivers, I did not come across the AS7 fix. Too bad, it would have saved me a lot of hassle plus $15 for my new programmer. 

 

I did play around with Studio and it did seem to communicate with the MKII. However, I was not in the mood to learn an entirely new software environment even it is was superior. Atmel's website says they no longer sell the MKII so I figured they stopped supporting it too.

 

Since changing to Sparkfun's programmer, all seems to work fine so I guess I have solved the stated problem by changing the problem. 

 

Thanks for your help,

 

Rick

Rick in Phoenix

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

rgsparber wrote:
Since changing to Sparkfun's programmer, all seems to work fine

Congratulations on finding a working solution, please post a link to the product and mark your topic as solved.

 

Jim

 

Click Link: Get Free Stock: Retire early!

share.robinhood.com/jamesc3274

 

 

 

This reply has been marked as the solution. 
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

ki0bk wrote:

rgsparber wrote:

Since changing to Sparkfun's programmer, all seems to work fine

 

Congratulations on finding a working solution, please post a link to the product and mark your topic as solved.

 

 

 

Jim

 

 

I bought the "Pocket AVR Programmer" from Sparkfun: https://www.sparkfun.com/product...

 

I clicked on button to mark this as the solution and got an error message but maybe it worked.

 

Rick

Rick in Phoenix

Last Edited: Wed. Sep 19, 2018 - 03:36 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

rgsparber wrote:

After launching arduino 1.8.7, click on Tools and you will see Programmer. This list contains AVRISP: MKII.  Select this option plus select the COM port that connects it to the PC. It worked fine until I moved to Windows 10. Funny thing is that it did work on Win7 but now doesn't work on my laptop which is still running Win7. 

...

 

 

The COM port is not available. It is in gray.

Pictures: https://imgur.com/a/2GDmFxK

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

flycatnguyen wrote:

rgsparber wrote:

After launching arduino 1.8.7, click on Tools and you will see Programmer. This list contains AVRISP: MKII.  Select this option plus select the COM port that connects it to the PC. It worked fine until I moved to Windows 10. Funny thing is that it did work on Win7 but now doesn't work on my laptop which is still running Win7. 

...

 

 

The COM port is not available. It is in gray.

Pictures: https://imgur.com/a/2GDmFxK

 

Congratulations ;-)  You have the same problem I now get. Back when it DID work, plugging in the MKII did cause the correct COM port to show and when selected, I was able to program. 

 

Sorry,

 

Rick

Rick in Phoenix

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

rgsparber wrote:

flycatnguyen wrote:

rgsparber wrote:

After launching arduino 1.8.7, click on Tools and you will see Programmer. This list contains AVRISP: MKII.  Select this option plus select the COM port that connects it to the PC. It worked fine until I moved to Windows 10. Funny thing is that it did work on Win7 but now doesn't work on my laptop which is still running Win7. 

...

 

 

The COM port is not available. It is in gray.

Pictures: https://imgur.com/a/2GDmFxK

 

Congratulations ;-)  You have the same problem I now get. Back when it DID work, plugging in the MKII did cause the correct COM port to show and when selected, I was able to program. 

 

Sorry,

 

Rick

 

Ah I understand now. Thank you for your answer.