Programming my ATmega328p using USBASP. Threw blink on there after burning the bootloader.
All fine.
Now, it throws up:
avrdude: error: could not find USB device with vid=0x16c0 pid=0x5dc vendor='www.fischl.de' product='USBasp'
USBasp is listed in Device manager. I have used Zadig to install every available driver.... nope.
Put the same USBASP + the circuit on my other laptop and it loaded blink again fine straight away, so something has gone screwy with the Arduino IDE or something on this laptop.
Any ideas? I have tried uninstalling USBasp, rebooting, all the drivers, different USB ports etc
Just upgraded the Arduino ide from 1.8.19 which didn't work and I immediately regret, as it's lost all my added boards. Why can't they make this stuff work.
So, seeing as I had issues with the new IDE not that long ago, I will probably roll that back again.
It also has now made an error appear next to the USBasp in Device manager.
Just trying WinUSB (v6.1.7600.16385)
libusb-win32 (v1.2.6.0) didn't work and neither did libusbK (v3.1.0.0)
So now I have installed the latest Arduino IDE, why the hell does the USBasp show up in device manager with an error (yellow exclamation mark). No driver in Zadig makes it work.
All that achieved was to lose all my installed boards and reset my Arduino IDE.
The USBasp shows up fine in the Device manager, yet the retarded IDE suddenly can't use it.
Something somewhere has corrupted and I have no idea what.
I stuck with 1.8.19, as newer IDE version broke far too many library's.
I fixed the USBasp error in device manager by basically throwing different drivers at it until the Yellow exclamation mark cleared.
But, nothing will make it work from the Arduino IDE.
Took the USBasp to work and tried the work laptop and it was fine, so something is corrupted somewhere on this laptop
For the love of God, can someone come up with a suggestion on how to fix this USBasp issue.
Every time I boot the laptop, the USBasp cannot be found.
I re-install the drivers using zadig (seems to be a different one every time). Sometimes it fixes it, some nights it doesn't.
Then next night... not working again.
How do I clear the USBasp from the computer entirely? Uninstalling from device manager clearly doesn't do that (just the driver).
The Arduino IDE is clearly broken somehow and nothing seems to fix it and its wasting my life away trying to resolve this stupid problem
I give up.
I just cannot get my Asus laptop to work any longer with the USBasp. My crappy HP laptop works fine with it.
The device manager constantly shows the device under the heading libusbK USB Devices and shows USBasp underneath that.
It used to list the USBasp in the universal Serial Bus controller list (where it is still listed on the old HP laptop).
No amount of removing device, deleting drivers or anything actually removes this USB mess from the Asus. If you delete it from Device manager (and the drivers) , it just all re-populates when you plug the USBasp back in again. So it CLEARLY never deleted it.
If I search the C drive, there are something like 18 references to USBasp. I am at the point of risking just deleting every possible link to USBasp I can find. Out of ideas and Googled to death.
you could use USBDview to uninstall all the registry entries reg. USBasp .
Run it as administrator, go to options, select "Display Disconnected Devices", sort the grid by clicking on the VendorID header and select all the devices with VendorId 16c0 and ProductId 05dc .
With the mouse over the selected rows, open the popup menu by clicking the right mouse button and select the "Uninstall Selected Devices" option. That will uninstall and clear all the relevant entries in the registry reg. USBasp.
BTW, if you have two USBasp devices or you can use the Arduino as ISP, you can replace the firmware of your USBasp device with this "usbasp improved" firmware which does not need Zadig or signed drivers ...