Go Down

Topic: IDE 1.8.5 (just updated from 1.8.1), USBasp programmer not recognized (Read 428 times) previous topic - next topic

travis_farmer

I don't post much in here, but i seem to be at a loss.

I bought CrossRoads remote programmer, and found it would not upload the sketch HEX file with the bootloader attached (for a Mega2560). no big deal, i thought. i grabbed my USBasp programmer, that i have had much success with in the past, and re-upload the bootloader. now, i have not used it in a while, so i don't know at what point it became unrecognized, but it failed, stating:
Code: [Select]
Arduino: 1.8.5 (Windows 8), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

C:\Users\Travis\Documents\Backup\Arduino_1-8-5\Arduino\hardware\tools\avr/bin/avrdude -CC:\Users\Travis\Documents\Backup\Arduino_1-8-5\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega2560 -cusbasp -Pusb -e -Ulock:w:0x3F:m -Uefuse:w:0xFD:m -Uhfuse:w:0xD8:m -Ulfuse:w:0xFF:m

avrdude: Version 6.3, compiled on Jan 17 2017 at 12:00:53
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "C:\Users\Travis\Documents\Backup\Arduino_1-8-5\Arduino\hardware\tools\avr/etc/avrdude.conf"

         Using Port                    : usb
         Using Programmer              : usbasp
avrdude: Warning: cannot query manufacturer for device: No such file or directory
Error while burning bootloader.
avrdude: Warning: cannot query product for device: No such file or directory
avrdude: error: could not find USB device with vid=0x16c0 pid=0x5dc vendor='www.fischl.de' product='USBasp'

avrdude done.  Thank you.


in the windows device manager, the USBasp is recognized correctly.

any thoughts? i can't remember where i got my USBasp (somewhere on eBay), so i have no idea if there are updated drivers for it.

Thanks in advance for any help. :D

~Travis
Current Obsession: Photography, astronomy, server rack cooler.
Check out my website, i have my own very under-used forum on my hobby server.

travis_farmer

Found an interesting solution. I found the Mega2560 bootloader hex file in the arduino IDE bootloaders directory, and added it to the SD card for my remote programmer, and uploaded it. it worked :D
I had the idea while at work, and just tried it. my USBasp still doesn't work, but apparently i don't need it :D

~Travis
Current Obsession: Photography, astronomy, server rack cooler.
Check out my website, i have my own very under-used forum on my hobby server.

DrAzzy

This is an issue if you're using the wrong drivers for your USBAsp. Use Zadig to install the correct one.
ATtiny core for 841+1634+828 and x313/x4/x5/x61/x7/x8 series Board Manager:
http://drazzy.com/package_drazzy.com_index.json
ATtiny breakouts (some assembled), mosfets and awesome prototyping board in my store http://tindie.com/stores/DrAzzy

travis_farmer

never heard of zadig before, but it worked like a charm, many thanks! :D

~Travis
Current Obsession: Photography, astronomy, server rack cooler.
Check out my website, i have my own very under-used forum on my hobby server.

Brentd27

I'm trying to use a USBAsp with Arduino 1.8.5 on Windows 10 64-Bit.  I've downloaded Zadig and installed the "libusbK USB Driver" for the USBasp, but I'm still getting the "avrdude: error: could not find USB device with vid=0x16c0 pid=0x5dc vendor='www.fischl.de' product='USBasp'" error.  My USBasp shows up in Device Manager under LibusbK devices.  Not sure what is wrong.  Been working on this all day with no success.

Would it matter if it was on a USB3.0 port instead of USB2.0?

Brentd27

Ugh.  Replying to my own post.  I can't believe it was that freaking simple. 

Putting this here so maybe it shows up on Google for someone else in the future:

If you're using Windows 10 and a USBasp programmer and have installed the Zadig drives but still getting the error " avrdude: error: could not find USB device with vid=0x16c0 pid=0x5dc vendor='www.fischl.de' product='USBasp' " with Arduino IDE 1.8.5  Make sure you're plugged in to a USB2.0 port. 

I have been dealing with this for a whole day, and it turns out, I was plugging in to either one of my motherboard's USB3.1 ports or USB3.0 ports every time I changed plugs.  My motherboard has USB ports all over, but only 2 are the old USB2.0 ports and they're on the other side of the rear face plate from all the other ports.

ballscrewbob

USB 3.0 is a known issue and is very "hit & miss"
USB 3.0 cables can also cause some problems too.

If you only have USB 3.0 then a decent powered USB 2.0 HUB will in almost all cases fix the issue.



It may not be the answer you were looking for but its the one I am giving based on either experience, educated guess, google or the fact that you gave nothing to go with in the first place so I used my wonky crystal ball.

Go Up