Following the tutorial, I get an error from the avrdude
command, saying it can’t find the device:
$ avrdude -p atmega328p -c usbasp
avrdude: error: could not find USB device with vid=0x16c0 pid=0x5dc vendor='www.fischl.de' product='USBasp'
But the red LED is lit on the Model A, and the USBasp is correctly listed under my USB 2.0 hub (ioreg -p IOUSB
):
+-o USB 2.0 Hub@14370000 <class AppleUSBDevice, id 0x100000534, registered, matched, active, busy 0 (171 ms), retain 12>
| +-o USBasp@14372000 <class AppleUSBDevice, id 0x100020941, registered, matched, active, busy 0 (1 ms), retain 9>
Also under System Information (system_profiler SPUSBDataType
):
USBasp:
Product ID: 0x05dc
Vendor ID: 0x16c0
Version: 1.02
Speed: Up to 1.5 Mb/sec
Manufacturer: www.fischl.de
Location ID: 0x14372000 / 29
Current Available (mA): 500
Extra Operating Current (mA): 0
So what could be the issue? I’ve searched for an hour now and can’t find anything. Only some advice on using a USB 2.0 hub and to keep reconnecting, which I’ve tried. I’ve also tried -c usbasp-clone
which made no difference.
The USBasp is a newer model from Betemcu, with a handy 5v-3.3v switch that I’ve set to 3.3v:
https://www.aliexpress.com/item/577097498.html
Any help would be greatly appreciated.