Unfortunatley I am having some problems with a USBasp programmer I got recently. I know there are tons of posts out there with issues and fixes for the USBasp, but non of them seem to have the same issue I have. I am on a pc on windows 10. I have installed usb asp drivers, and in device manager there is an entry for "libusb-win32 devices, so that is ok. Also, if I go into command prompt and enter "avrdude -c usbasp -patmega328p" I get the message that everything is ok. The issue comes when I go into the arduino IDE. I select the board I want to program (in this case an Arduino nano just to test), and try to burn bootloader, but the IDE gives this error:
Arduino: 1.8.1 (Windows 10), Board: "Arduino Nano, ATmega328"
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'
Error while burning bootloader.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Does anyone know what this error means, or how to fix it? Any help is greatly appreciated, Thanks!