mariusgreuel / avrdude

AVRDUDE for Windows

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

USBasp firmware incompatibility

Ed8562 opened this issue · comments

Doesn't recognize USBasp loaded with firmware version 1.09 from:
https://github.com/dioannidis/usbasp

D:\Avrdude>avrdude -q -q -C avrdude.conf -p atmega328p -c usbasp -e -U lock:w:0x3F:m -U efuse:w:0xFD:m -U hfuse:w:0xDF:m -U lfuse:w:0xFF:m
avrdude: error: could not find USB device with vid=0x16c0 pid=0x5dc vendor='www.fischl.de' product='USBasp'

(avrdude version 6.3.1.1-windows, URL: https://github.com/mariusgreuel/avrdude)

AVRdude 6.3-20190619 (supplied with Arduino IDE 1.8.19) and Savannah AVRdude for Windows work fine with the v1.09 firmware.

Windows driver: libusbK

Problem appears to occur on a first-time connect (no previous USBasp driver was present). In this case Win10 sees the device as "USBasp (Interface 0)" and "USBasp (Interface 1)". Otherwise it shows as "USBasp" and is recognized by AVRdude for Windows.

Reference: you can use latest avrdude 7.2 release but with mingw build.

Binary download:
https://github.com/mcuee/avrdude/releases/tag/v7.2