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
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.
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.
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:
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.
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.