Electronics – Tuts, tips and much more …

If we hear, we forget; if we see, we remember; if we do, we understand – Confucius

USBasp tutorial: USBasp driver installation

Posted by Omkar on April 19, 2009

In this post we will see how to install windows driver for USBasp. Steps explained below are applicable for WindowsXP:

Download driver:

If you don’t have driver, windows drivers for USBasp can be downloaded from:
http://www.fischl.de/usbasp/usbasp.2009-02-28.tar.gz

Extract the downloaded archive into some directory.

Installing driver:

Step1:
Connect USBasp to USB port of your computer. New hardware found dialog box will appear.
-In this select ‘Install from a list or specific location’.
-Click ‘Next’.

step1

Step2: 
- Select ‘Don’t search …’
- Click Next

step2

Step3:
- Click ‘Have Disk’

step3 

Step4:
‘Install from disk’ dialog box will appear.
- Click ‘Browse’

step4

Step5:
Now browse for ‘usbasp.inf’ file. This fill will be located in : <extracted directory>\bin\win-driver.
- Browse and select the file and click ‘Open’.
- Click ‘OK’ to close the ‘Install from disk’ dialog box

step5

Step6:
Now you should see ‘USBasp’  model list.
- Select ‘USBasp’ from model list.
- Click ‘Next’

then windows will install the given driver.

step6 step7

Now your USBasp is ready for use.

To know how to use AVRdude and USBasp for writing hex files into microcontroller see the following post :
AVRDude Tutorial : Burning hex files using USBasp and AVRdude

About these ads

22 Responses to “USBasp tutorial: USBasp driver installation”

  1. mahendra kumar said

    this method is not working for win xp ,32 bit

    error : could not found usb device “usbasp” with vid=0x16c0 pid0x5dc

  2. [...] [...]

  3. [...] Thanks to Mr. Nandan: https://elecrom.wordpress.com/2009/04/19/usbasp-tutorial-usbasp-driver-installation/#comment-2149 [...]

  4. Arjun Rai said

    thanks a lot Nandan…… worked for me in the first attempt only.

  5. nandan said

    there are 3 tested methods to install the usbasp driver for windows 7. one is using the driver signature enforcement override method, the other is directly editing the .inf file & the third one i have explained below. this worked for me when the first two failed…

    follow these steps to install the usbasp drivers on windows 7 for both 64bit and 32 bit platform

    1)download the zipped folder LibUSB-64bitfrom the following link

    http://sites.google.com/site/openusbboard/file-cabinet

    2)plug your USBasp programmer into the USB port

    3)extract the file and browse to LibUSB-64bit\libusb-win32-bin-1.2.1.0\bin\x86

    4)run inf-wizard.exe

    5)Inf-wizard will start, click Next

    6)select the device ‘USBasp’ from the lsit of devices shown and click next

    7)make sure these values are associated with the give parameters before proceeding

    vendor ID (hex format) = 0x16C0
    product ID (hex format) = 0x05DC
    mi (hex format) = leave it blank
    manufacturer name = VOTI
    device name = USBasp

    then click next

    8)save the information file ‘.inf’ generated in

    LibUSB-64bit\libusb-win32-bin-1.2.1.0\bin\amd64
    (for 64 bit users)

    LibUSB-64bit\libusb-win32-bin-1.2.1.0\bin\x86
    (for 32 bit users)

    9)click install now to install the driver

    10)if a windows warning appears telling this driver is not verified , just click on ‘install this driver software anyway’

    11)once the driver completes installation saying ‘installation successful’ click ok

    thats it! you are good to go!

    note – im using 64 bit edition of windows ultimate and this procedure worked for me when all the others failed. i have not tested this procedure for 32 bit systems though.

  6. shan said

    how to install drivers on kubuntu (linux)??

  7. amit said

    failed
    the window does not recognize the usbasp

  8. I’ve made a tutorial how you can get 64 support for usbasp:

    http://www.van-wees.eu/english/usbasp.html

  9. thomas said

    The .cap files must be selfsigned, at least. (We have a selfsigned driver at our page: http://www.ulrichradig.de/home/index.php/avr/usb-avr-prog.) Then run Win Vistax64/ Win 7×64 in “testsigning-mode” by using bcdedit (-> readme.txt).

  10. James said

    Solution found.

    It’s just driver signature issue on Vista 64.

    I already said that it works fine on XP and linux, probably also on Vista 32 as reported (just ignore no signature there).

    On Vista 64 Kernel is made in a way it by default need signed drivers from microsoft or other authority otherwise driver won’t install and won’t run on system.

    The easy way is to connect device to an usb port when running vista 64 os, then install driver anyway, ignoring that have no signature, from disk (the ones you download as explained before), then triangle appears in device management. At this point you have tried to install driver but system will not use that piece of software cause have no signature !

    This is a bit strange cause MS Vista 64 let you ignore this aspect during install, but then driver don’t work.

    Solution:

    Reboot Vista 64, during boot press a number of times F8 key, till a list will appear.

    Select from bottom of the list “Disable Driver Signature Enforcement” or something like that and let system boot.

    Then login and go to device management: you’ll see that once USBASP is connected the device don’t show anymore the yellow triangle and works as expected.

    Run avrdude or extremeBurnerAVR to test if works (and now it will do without problems).

    Trick of disable signature at boot with F8 options is good… but there are others, maybe better, I don’t know.

    I read you can do the same in a session from command line with admin privileges or using management console.

    Anyway, if are in a hurry use F8 option list and disable before system boot: all will work as espected.

    regards
    James

  11. James said

    Hi there,
    I tried all drivers I found, including the 64-bit one here on my Vista(64) and nothing works.

    The silly thing is that when running linux on same machine (dual boot) I see programmer using lsusb and avrdude works as expected and so it’s not hardware issue but just software.

    The drivers for Vista 64-bit are not good cause I get the yellow triangle on device management panel and so driver do not install good in any case.

    I tested also my usbasp programmer on another PC with XP and works OK without any problem.

    Until now I tested on XP, Ubuntu, Knoppix and a couple of other linux and all the times worked.

    Problems there are in Vista (64bit) cause of drivers and USB ports usage by OS.

    Just that, so someone please fix that thing.

    btw I’m trying also to compile avrdude in 64-bit using gcc and cygwin (so far with no success cause I need libusb and have to install) but maybe someone will do faster than me. The trick is at usb drivers for 64bit and avrdude if use it.

    regards
    James

  12. hi, i can’t install this driver, because dont have digital firm, i installed perfectly in Virtual Machine windows XP,but its very boring
    help me!!!
    i am a student, i need it as soon as possible

  13. I have the 64 bit drivers on my site http://www.protostack.com/index.php?main_page=library .

  14. hrishikesh pradhan said

    hi ,
    i have USBASP and a windows vista(64 bit) OS. i tried to use the drivers suggested by you.but they didnt work at all.so i found latest drivers on link: http://www.fischl.de/usbasp/ in the file usbasp.2009-02-28.zip. the installation of drivers was started with drivers but couldnt end properly due to lack of ‘digital sign’ on product(as appeared at the end of setup).can you help me with this problem?

    • Omi said

      Drivers provided by me were only for xp/vista 32bit.
      When you install new drivers on vista and if it points that drivers are not digitally signed, then simply accept that and force it to continue.

      • hrishikesh pradhan said

        hi
        i have installed windows xp on my pc using microsoft virtual pc tool.but now the problem is the usb port of my pc is used by host operating system and not by guest OS ie. xp .due to this the usb programmer is not getting recognized on XP.can you help?

        regards
        hrishikesh

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.

Join 85 other followers

%d bloggers like this: