Feed on

Today I came across a surprisingly simple approach to installing USBasp and USBtiny drivers for all versions of Windows — XP, 7, 8, 8.1, whether 32-bit or 64-bit, all inclusive! As you may know, installing open-source drivers such as USBasp and USBtiny have been a great pain on some of the recent Windows OS, due to the enforcement of signed drivers. The typical solution involves rebooting Windows into a mode that disables driver signature enforcement. Even after you’ve done it once, if you boot into the normal mode next time, it may fail to recognize the driver again (reporting it’s not digitally signed). A huge source of frustration.

Anyways, while searching for ‘fully signed USBasp driver’, I came across this tool called Zadig, which can be used to install libusb drivers on all versions of Windows, and it’s digitally signed. Since USBasp and USBtiny are both based on libusb, could it be the right solution? To my great surprise it worked really well — I was able to install both drivers on Windows XP, 7 (32-bit and 64-bit), 8, and 8.1 instantly, without messing with driver signature enforcement at all. I was mostly surprised such a great solution wasn’t documented more widely online.

  • Go to http://zadig.akeo.ie/ and download the software (note that Windows XP has a separate link).
  • Plug in your USBasp or USBtiny device. In case your microcontroller uses a USBasp or USBtiny bootloader, enter bootloading mode, and let Windows detect the device (it will report driver not found). If a window pops up asking to search for driver, just close it or click on Cancel.
  • At this point, run Zadig, it should detect the USBasp or USBtiny, or any libusb device that you have. Then in the selection box (see below), choose libusb-win32 (v1.2.6.0), and click on Install Driver, and wait for the installation to complete.

That’s it! Because the drivers are digitally signed, there is no hassle installing it in Windows 7 64-bit and Windows 8.1.

I will be updating the driver installation instructions for OpenSprinkler 2.1 and SquareWear right away, as they both use USBasp bootloader. Users have often complained that it’s frustrating to install USBasp driver for Windows 7 64-bit and Windows 8.1. Those days are now past!

35 Responses to “Dead-Simple Driver Installation for USBasp and USBtiny on Windows”

  1. Daniel says:

    Protostack now have a signed USBasp driver on this page http://www.protostack.com/accessories/usbasp-avr-programmer

    • ray says:

      I have tried Protostack’s driver before but it didn’t work. Then I found that the Zadig driver works perfectly, and it not only works for USBasp but all drivers based on the libusb library.

    • Alex says:

      Thank you very much, now my USBASP (clone) works perfect.

  2. richard says:

    open sprinkler 2.0 [green plug] zadig shows it as unknown device then failed.Whats wrong?
    thanks richard

  3. Ben says:

    Doesn’t work: shows “unknown device” then ERROR “The driver installion failed”. I think you got lucky on your computer but didn’t find a universal method to solve the issue. Thanks for trying though

    • ray says:

      Can you provide some details, like what device are you trying to install driver for? Do you know if it’s based on USBtiny, USBasp, or some other general libusb device?

  4. Shoban says:

    Thanks. It worked for me 🙂

  5. richard says:

    0pen sprinkler v2.1 orange plug can’t update firmware followed directions exactly.Did every thing 3or 4 times ,zadig says driver installed.open updater,Download firmware says success.hold b2 plugin, nothing changes,window popup[no driver]close.select from drop down ver.2.1[sticker on back]
    fails. why? thanks richard
    ====== Fri Jun 12 10:44:03 2015 ======
    avrdude: error: could not find USB device “USBasp” with vid=0x16c0 pid=0x5dc. Tried three different cables.Running pc windows 7 64bit.

    • ray says:

      “hold b2 plugin, nothing changes” -> can you explain what you mean ‘nothing changes’? As per the instructions, the LCD should remain off. If the LCD lights up, that means the controller didn’t enter bootloader successfully and you need to repeat the bootloading process.

  6. Tony says:

    Same problem as Richard! Frustrated.

  7. Flavio Andrade says:

    tnks man… worked perfectly…

  8. arun says:

    works great! thanks. God bless you

  9. raj says:

    Not updating win8 64 bit

  10. moom says:

    Its work in windows 10 . X64 thanks .

  11. sonyhontok says:

    Thanks a lot. works perfectly on windows 8.1×64.

  12. Steve says:

    Worked for me with W10 64b too.

    Thanks for the tip.

  13. Thomas says:

    Your post helped me a lot, should be linked on the arduino page.

  14. Tom says:

    Why didn’t I think of that? I already had zadig for installing my RTLSDR drivers.

    This worked perfectly. Thank you.

  15. Felix L. says:

    I’d like to report that you can use the signed Adafruit UsbTiny driver for UsbAsp, too.
    Both use libusb under the hood, which is generic (it leaves device specific stuff to the user-mode application using the proxy-like kernel-mode driver).
    You just need to check “show non-compatible devices” or something similar in the device manager to be able to select UsbTiny as the driver for your UsbAsp.
    Afterwards your UsbAsp will be listed as a UsbTiny, but that’s just a name.
    I think AvrDude uses the USB Product/Vendor IDs to find the UsbAsp, so despite the naming … it works for me. Hope that helps.

  16. Wasinata says:

    Can i use it for window 7 32bit?

  17. bro says:

    Thank you so much, you’re right, this website should be higher on the search results and this solution should be more popular. So let me try to help: GOOGLE USBASP WONT DETECT NOT DETECTING DRIVER WINDOWS 7 WINDOWS 8 WINDOWS 8.1 WINDOWS 10 WIN DIGITAL SIGNATURE

  18. pt says:

    mannnnn thank you, you were my lifesaver. tried for 5 hours to flash my fs th9x, and youre instructions helped me

  19. slazare says:

    Works great win10, thank you

  20. vivek says:

    Same problem as richard. Plz help

  21. Mohammad Qaisar Ali says:

    I can’t do it with win 10…
    an error occurs…
    could any body help me…please…

  22. Ming says:

    thx alot,that driver give me hard time for weeks

  23. Steve Horton says:

    Thanks for the post!
    Successfully installed USBasp driver on 64bit windows 10!

    • Dony says:

      in my windows10 say Successfully installed USBasp driver. but i still can not diteced port com with adruino ide.. any solution for this

  24. Carlos says:

    Hi, I installed the drivers, but on Device Manager or Arduino Ide don´t detect any port, how I can solve the problem?, I read many forums but don´t show anything about this. Any help will be grateful. Thanks

  25. corin says:

    I accidentally installed WINUSB (v6.1.7600.16385) and now instead of being the device name being USBasp, I have to turn on “list all devices” and it comes up as “Unknown USB Device (Device Descriptor Failed)”
    When I try to install libusb or any other drivers, it says “The driver installation failed.”

  26. corin says:

    I just submitted a problem I was having. I hadn’t reset the atmega644p ready to be flashed. I didn’t realise that the device affected the cable connection

Leave a Reply