IDE 1.6.10 USBasp upload Error

Error message when using an perfectly working USBasp to upload a led code to a nano board.

avrdude: Version 6.3, compiled on Jun 22 2016 at 16:05:21
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "C:\arduino-1.6.10\hardware\tools\avr/etc/avrdude.conf"

         Using Port                    : usb
         Using Programmer              : usbasp
avrdude: Warning: cannot query manufacturer for device: No such file or directory
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.

the selected serial port 
 does not exist or your board is not connected

When you say "perfectly working" what do you mean? Was it working with a previous version of the Arduino IDE?

pert, wasn't that the error you were getting using the weird driver for the USBAsp?

That's my suspicion. I wouldn't call libusb-win32 a weird driver though. It's the driver included with the official fischl USBasp firmware and the readme instructs you to use it for Windows installation.

pert:
When you say "perfectly working" what do you mean? Was it working with a previous version of the Arduino IDE?

perfectly working means never having a problem with it before, and of course it works for other version Arduino IDE as well.

Here are two photos of this little guy, same circuit as the original loaded with the newest firmware.

@pert
Weird? Could you write more please, or link? Windows version?

Budvar10:
@pert
Weird?

I was responding to DrAzzy calling libusb-win32 a "weird driver". I was just trying to justify my previous use of an obsolete driver, luckily DrAzzy was kind enough to give me the hint I needed to solve my USBasp+avrdude 6.3.0-arduino2 issue by installing a more modern driver.

Budvar10:
Could you write more please, or link?

I've documented the issue I encountered and the solution here: [SOLVED]Problems using USBasp with Arduino IDE 1.6.10/Arduino AVR Boards 1.6.12 - Microcontrollers - Arduino Forum

Budvar10:
Windows version?

Two different computers, one running Windows 7 64 bit, the other running Windows 7 32 bit.

@flyandance I suspect the issue is caused by a driver incompatibility with the new version of avrdude that Arduino included with Arduino AVR Boards 1.6.12/Arduino IDE 1.6.10. Please do this:

  • Open Device Manager
  • Plug in the USBasp to your computer
  • Find the entry for your USBasp and double click on it
  • Open the "Driver" tab
  • Tell me what "Driver Provider" and "Driver Version" values are shown.

pert:
I was responding to DrAzzy calling libusb-win32 a "weird driver". I was just trying to justify my previous use of an obsolete driver, luckily DrAzzy was kind enough to give me the hint I needed to solve my USBasp+avrdude 6.3.0-arduino2 issue by installing a more modern driver.
I've documented the issue I encountered and the solution here: [SOLVED]Problems using USBasp with Arduino IDE 1.6.10/Arduino AVR Boards 1.6.12 - Microcontrollers - Arduino Forum
Two different computers, one running Windows 7 64 bit, the other running Windows 7 32 bit.

@flyandance I suspect the issue is caused by a driver incompatibility with the new version of avrdude that Arduino included with Arduino AVR Boards 1.6.12/Arduino IDE 1.6.10. Please do this:

  • Open Device Manager
  • Plug in the USBasp to your computer
  • Find the entry for your USBasp and double click on it
  • Open the "Driver" tab
  • Tell me what "Driver Provider" and "Driver Version" values are shown.

libusb-win32 - libusb_1.2.4.0 running Windows 7 64 bit

I had the same issue with that driver and the new avrdude version included with Arduino IDE 1.6.10/Arduino AVR Boards 1.6.12 and was able to fix it by doing this:

pert:

  • Plug in USBasp
  • Download Zadig from http://zadig.akeo.ie
  • Start zadig
  • Options > List all devices
  • Select USBasp from the drop down menu
  • Select libusbK(v3.0.7.0) driver
  • Click Install

Please let me know how that works for you. I have reported the issue(avrdude 6.3.0-arduino2 incompatible with USBasp using libusb-win32 driver · Issue #1 · arduino/avrdude-build-script · GitHub) to the Arduino developers but so far it hasn't received much of a response beyond some suggestions that I'm just doing something wrong or my system is screwed up. If I can give them more evidence that this isn't something isolated to my 2 computers that will help to get it fixed before they rerelease avrdude 6.3, probably in Arduino IDE 1.6.12/Arduino AVR Boards 1.6.14.

@flyandance did you ever get a chance to try the driver update? If so, did it fix your problem?

pert:
@flyandance did you ever get a chance to try the driver update? If so, did it fix your problem?

I have not tried it yet. Don't think it's a good idea to mess with the original driver. I need that for other programs.

I just checked. they downgraded avrdude to 6.1. probably not the bugs from the original driver anyway. I am really looking forward to the newer avrdude version.