In this post we shall see the ways of burning our .Hex file on to the target AVR IC .We created the .Hex file using WinAvr tools (Programmers Notepad & Make,link here ) or through the ATMELStudio6 (here).Of course ,in WINAVR we can use the Programmers Notepad Tool (“Tools –> Program) to burn the .Hex file(tutorial 3 here).
AtmelStudio6 does not have a burner software.We have to make use of any one of the external Burner software. As we have to feed the .hex file to the Burner software ,note down the location of the .hex file created through the Studio.
We shall see four of the best available Free Burner software with nice Graphical user interface.
Watch these support videos :
Part 1 : AVRPal.Net & Extreme Burner Programs
Part 2 : AVR Burn-O-Mat & SinaProg Programs
AVRPal.Net
Download it from :
http://www.softpedia.com/get/Others/Miscellaneous/AVRpal-net.shtml
AVRpal.net is an Open Source Windows based GUI for the popular avrdude Command line utility for AVR microcontroller Programming.
It has got many features with a lightweight easy to understand interface. LibUSBdotnet driver and avrdude is provided within it.
Some features of AVRPal.Net are :
On Screen avrdude command execution watch , USB handling capability & Auto detection of the MicroController used.
Connect the Usbasp hardware to the PC.The target IC Atmega16 is placed on the bread board and the ISP pins are connected to the respective pins of Usbasp (for details go here) .
Fire up Avrpal.Net and click on the black rectangle window.Now the software recognizes the type of target Avr IC and displays it (ATmega16 in our case).
Click on the browse ellipses next to Select File and locate the .hex file created through Atmel Studio6.Click the Write to chip button.You can see the avrdude in action writing the file on to the target.
The software also incorporates a Fuse calculator & editor.Click on Fuse editor & select the refresh button to confirm the chip name as Atmega16.Lfuse & Hfuse bits are displayed.You can change the Fuse bits as per your needs.Remember , a tick mark means it is “1” & NOT programmed (disabled) & no tick mark means “0” & programmed (enabled).
The final HEX values are displayed as per your fuse bit settings.If you want you can provide a shortcut name and save it for future use.Now you can return back to main window to click “Write Fuses”.
Near to Fuse editor button there is a check button for “Set slow SCK”.This should be checked if you are using the Atmega16 IC in default mode of 1Mhz internal clock .
ExtremeBurner-AVR
Extreme Burner has full graphical user interface (GUI) and can be used much more easily to Read/Write Fuse Bytes & Chip content.This is an excellent program written by Mr.Avinash Gupta of Extreme Electronics.
Download it from :
http://extremeelectronics.co.in/software/BurnerAVR/eXtremeBurnerAVRSetupV1.2.exe
Open up the software.Under Settings –> Programming Mode select ISP.
Under Chip –> Select the target IC (ATmega16).
Now click on Open button and browse to the location of the .Hex file & select it.
Hex file Loaded successfully message gets displayed.
Click the Write All button (marked as a Down arrow icon) to start the burning process.
A separate Usbasp driver installation is not required ,as the Extreme burner includes within its installation.
A Fuse calculator &Editor is also incorporated.Click on Fuse Bits/Settings tag to open up the Fuse editor.Low Fuse & High Fuse default values are displayed.You can click on the Bit Details button if you need to change the Fuse bits.Just Double click on the Fuse bit to be changed to make it Programmed or Not.
In the Fuse Bits setting window there is a “Configure AVR Clock” button through which you can easily set the Clock frequency.
AVR8-Burn-O-Mat
AVR8 Burn-O-Mat is a cross-platform GUI for avrdude written in Java.
It simplifies programing and configuration of AVR microcontrollers with easy to use dialogs.
The program is written in Java so you need the Java SE Runtime Environment (JRE).
Download the Windows Installer from
http://avr8-burn-o-mat.aaabbb.de/avr8_burn_o_mat_avrdude_gui_en.html
This program needs the Java SE Runtime Environment (JRE). You can download it here: http://java.sun.com/javase/downloads/index.jsp.
You need to install Win AVR to use this.
First you should take a look at the settings. Make sure that the path to avrdude program and the avrdude configuration file is correct.
Click Setting –> AVRdude.In the new window that appears , Locate the avrdude.exe from your installed drive by clicking ‘file’ button.
In our case AVRDUDE location is C:\WinAVR-20071221\bin\avrdude.exe
and then locate the configuration file in similar fashion.(The supported programmers are read from the file avrdude.conf).
Select the Programmer type “usbasp” and “USB” as port. Uncheck all the rest options and click apply. Your software is ready to use now.
SinaProg
SinaProg is a burner software with simple user interface.It also incorporates an AVR Fuse calculator.
It uses improved AVRDUDE 5.10 & supports new devices & new programmers.It lists only the available ports & baud rate selection is possible.
Download it from:
http://rapidshare.com/files/357579060/SinaProg.zip
It is a standalone simple software & no installation is required.First select the device type as ATmega16 & set the Programmer to USBasp & port to USB (as seen at the bottom of window).Click on browse under Hex File and locate the .Hex file to burn.Then click Program button under Flash.Fuse bits can also be programmed .
Click on Advanced button under Fuses.
Change the Hex values of Fuse bits & click Write to program the Fuse bits.