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 8 as there is a 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
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
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
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.
- Connect USBasp programmer to PC via USB cable
- Connect Microcontroller ATmega16 IC to USBasp Programmer.
- Open " cmd " command prompt
- Type : avrdude –p m16 –P usb –c usbasp
- 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:
- Supply is not provided to target controller.
- wrong connection to Target microcontroller.
- USBASP not detected.
Note: keep the Jumper (J1) always connected.
- 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:
- Install USBASP Programmer. (page1)
- Connect Hardware. (page2)
- Select microcontroller in ProgISP.
- Load Hex File.
- Click Auto tab to transfer the code.
- How to Burn Hex File using AVR Studio. (page6)
0 Comments