mariusgreuel / avrdude

AVRDUDE for Windows
GNU General Public License v2.0
112 stars 14 forks source link

USBasp firmware incompatibility #12

Open Ed8562 opened 2 years ago

Ed8562 commented 2 years ago

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.

mcuee commented 8 months ago

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

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