How to Install USBasp Drivers on PC Windows 10 and Burn Hex file Using AVR Studio


How to install Usbasp Driver Software in Windows 8.1. start using Avr Usbasp with windows 8/8.1 and Windows 10. this article explains all Steps for how to install usbasp driver in Windows  10, Windows 8, winodws8.1 and windows 7.

Usbasp drivers do not function with Windows 10 or Windows as there is software limitation on installing non-digitally signed drivers in Windows, only digitally signed drivers are allowed in Windows 8 and Windows 10.



Follow these instructions




1. Install  WinAVR-20100110-install  software on PC




2. Install USBasp Update driver on PC




Download this Drivers 




----------------------------------------------------------------------

Here are Steps for How to install Usbasp Driver Software in Windows 10


3.Open Device manager and Update the Drivers








Select the right driver folder where you have downloaded and extracted the drivers for usbasp.



4. This show an ERROR ....



Hold "Shift Button " and  click restart option ..
Follow pictures below



click troubleshoot >>advanced options >>start up setting >>

click restart options


The next important step in usbasp installation is to disable the driver signature check by windows, Now hold the Shift key in Windows 8 and Windows 10 and restart your computer by clicking the restart button in the windows os start menu screen. the computer will restart with some clicking on options on your screen .so  there will be a bunch of options. when you click the restart button you will see some advanced options.Click on the startup settings button. 











PC is restart.... 


Click F7 



PC will start now ...


Open device manager ..


Select the right driver folder where you have downloaded and extracted the drivers for usbasp.








click " Install this Driver software anyways "









Successfully install Drivers (2 files ...USBasp and AVR pocket driver )



Connect ATmega16 microcontroller to USBasp Programmer

 You can connect any other microcontroller : ATmega8/ AtMEGA32 or 8051 IC also



USBasp Supported Microcontroller List :
This can be used to program :
AT90S1200,2313,2323,2343,4414,4433,4434,8515,8535,
ATMEGA103,128,1280,1281,16,161,162,163,165,168,169,
ATMEGA 2560,2561,32,323,325,3250,328,329,3290,406,48,64
ATMEGA 640,644,645,6450,649,6490,8,8515,8535,88
ATTINY 11,12,13,15,22,2323,25,26,261,28,44,45,461,84,85,86
AT90CAN128,32,64
AT90PWM2,3

Operating Voltage : 5V (Drawn from USB - No external power required)











How to Burn Hex file Using AVR Studio


After successfully install Drivers of  USBasp programmer . Now transfer hex file using AVR Studio Software.

  1. Connect USBasp programmer to PC via USB cable
  2. Connect Microcontroller ATmega16 IC to USBasp Programmer.


  1. Open " cmd " command prompt 
  2. Type :  avrdude –p m16 –P usb –c usbasp
  3. Press the “Enter” Button on Keyboard


1.   Open " cmd " command prompt 
2.   Type :  avrdude –p m16 –P usb –c usbasp
3.   Press the “Enter” Button on Keyboard


microcontroller ATmega16 IC  == m16
microcontroller ATmega8 IC  == m8
microcontroller ATmega32 IC   == m32 

etc...



 (usbasp programmer transfer hex file to ATmega16 IC )





USBasp is programmer which is used to transfer hex file to below IC





1. Open AVR Studio Software
2.Go to  " Tools " option and click " External Tools "

3.type "Usbasp ATmega16 " in place of [new tools]


Title :           ATmega16 16Mhz

Command :   
avrdude.exe

Arguments : 

-c usbasp -p m16 -U flash:w:

click  "  >  " on right side =  choose Target Directory

-c usbasp -p m16 -U flash:w:$(TargetDir)


click  "  >  " on right side =  choose Target Name 

-c usbasp -p m16 -U flash:w:$(TargetDir)$(TargetName)

Final Arguments :

-c usbasp -p m16 -U flash:w:$(TargetDir)$(TargetName).hex:i

Select: Use Output Window

Click:   Apply

Click:   OK



Hardware Set up:

Connect USBASP to your AVR microcontroller board using 6 pin connectors, where 5v is optional, if your board is already powered by some external 5v supply than remove the jumper(vcc on/off).

Troubleshooting:
Prog ISP will show error in case:
  1. Supply is not provided to target controller.
  2. wrong connection to Target microcontroller.
  3. USBASP not detected.
Note: keep the Jumper (J1) always connected.

Getting Started with Prog ISP:



  • Select Chip: Select the microcontroller for uploading Hex file.
  • Load Flash: This tab is used to select the Hex file,Click this tab to open browse window and select the Hex file.
  • Task Window: Select the operation which you want to complete. basic operation required to burn hex file are shown above.
  • Auto: Click on this tab to start burning the hex file along with all the operation checked in task box.
  • Fuse: This tab is used to open Fuse window as shown below,  where you can read or write low and high value of fuses.

 Steps to Upload Hex File:

  1. Install USBASP Programmer.  (page1)
  2. Connect Hardware.   (page2)
  3. Select microcontroller in ProgISP.
  4. Load Hex File.
  5. Click Auto tab to transfer the code.
  6. How to Burn Hex File using AVR Studio.  (page6)