Closed mitchjs closed 2 years ago
I have the same problem :
USBasp is recognized by windows but avrdude doesnt find it
C:\winapps\avrdude6.3>avrdude.exe -p m328 -c usbasp avrdude.exe: error: could not find USB device with vid=0x16c0 pid=0x5dc vendor='www.fischl.de' product='USBasp' avrdude.exe done. Thank you.
even with changing usbasp to usbasp-clone it cannot find the device C:\winapps\avrdude6.3>avrdude.exe -p m328 -c USBasp-clone -t avrdude.exe: error: could not find USB device with vid=0x16c0 pid=0x5dc
Properties of the USBasp driver: Device USB\VID_16C0&PID_05DC\5&3821233e&0&1 was started.
Driver Name: winusb.inf Class Guid: {88bae032-5a81-49f0-bc3d-a4ff138216d6} Service: WINUSB Lower Filters: Upper Filters:
@linxcow you are using the special winusb version of avrdude right? link: https://github.com/mariusgreuel/avrdude/releases/tag/v6.3.1.1-windows
worked for me, i feel the vendor "www." should be added back in offically i compiled a main.hex with it back in, and it works without "-clone"
mitch
No , i didnt know that was a requirement. I used the 6.3 version of http://download.savannah.gnu.org/releases/avrdude/
yea.. that build doesnt have support for WINUSB, which is the whole point dioannidis's USBASP so you dont need to "find signed" drivers... or do that Ziadiag self signed stuff
I understand , but i didnt find any reference on this repository that a special avrdude is required.
Hi,
in your fw, did vendor='www.fischl.de' product='USBasp' change?
oh yes, the "www." is missing from vendor
i see you trimmed it off in a commit while back, remember why? i think it would be better with it
it was the upstream's ( nerdralph ) decision, to make it run on atmega48 with TPI enabled.
I agree that the vendor name change is a problem, that's why I already mentioned it here https://github.com/nerdralph/usbasp/issues/7#issuecomment-814524617 .
No , i didnt know that was a requirement. I used the 6.3 version of http://download.savannah.gnu.org/releases/avrdude/
AFAIU the mingw32 avrdude wasn't build with winusb support.
OTOH, you could use the Arduino's avrdude which has winusb .
You can find an avrdude windows build with winusb support in the bin\avrdude-winusb directory of the uart branch.
it seems
from MASTER
PS D:\Downloads\avrdude-v6.3.1.1-windows> .\avrdude.exe -c usbasp -p m328p -t avrdude.exe: error: could not find USB device with vid=0x16c0 pid=0x5dc vendor='www.fischl.de' product='USBasp'
but if i do a
PS D:\Downloads\avrdude-v6.3.1.1-windows> .\avrdude.exe -c usbasp-clone -p m328p -t
its happy
in your fw, did vendor='www.fischl.de' product='USBasp' change?
oh yes, the "www." is missing from vendor
i see you trimmed it off in a commit while back, remember why? i think it would be better with it
thanks mitch