Tag Archive: AVR Programming Tutorials


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

AVR Burners Part 1 (AVRPal.Net & Extreme Burner)


Part 2 :  AVR Burn-O-Mat  & SinaProg  Programs


AVR Burners Part 2




Image 1

Download it from :


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).

Image 1

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).


Image 2

Image 12

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 .




Image 2

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 :


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.

Image 4

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.

Image 5


Image 10

In the Fuse Bits setting window there is a “Configure AVR Clock” button through which you can easily set the Clock frequency.

Image 9



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).

Image 3


Image 4

Download the Windows Installer from


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  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.

Image 5

Download it from:


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.

Image 11

Change the Hex values of Fuse bits & click Write to program the Fuse bits.


In this post we shall see how to use Atmel Studio6 for creating a new project.Compared to WinAvr this is a huge download.But once installed you’ll appreciate the tools incorporated and the programming wizard is a breeze for AVR program development.

Previously it was called AVR studio.ATMEL Studio 6 is same as its predecessor  AVR Studio5 but for the improved toolchain for developing programs for ARM chips and also includes a QTouch Composer for touch application development .So they call it as a single Studio for 2 Architectures ARM & AVR.

Visual Studio 2010 should be installed prior to Atmel Studio 6.Even if you do not have Visual studio installed in your PC, the installation wizard recognizes this and starts the Visual Studio 2010 installation prior to the actual Atmel Studio.

Watch this video of Studio6 installation :




Here are the actual screenshots of the installation procedure:


1.AtmelStudio6  installer checks for the installation of VisualStudio 2010 in your PC

    Image 1                      Image 2 

2. If VisualStudio2010 is not found then the installer starts the VisualStudio2010 shell setup prior to the actual Atmel Studio setup.

     Follow the wizard and accept the terms and conditions.


Image 3             Image 4


3. Select the  “Full “ configuration of setup.

Image 5 


  4. VisualStudio2010 shell setup process starts to install all required tools 

  Image 6  



     Image 7  


5.Now the installer starts the installation of AtmelUSB

    Image 8


6. Click install .

Image 9         Image 10


7. As soon as the driver software is installed click Finish.

Image 11    Image 12

8. Now the actual ATMELStudio6 installation wizard starts.

 Image 15         Image 16



Image 17      Image 18


9.Go by the wizard till you get the Finish window.

Image 19

10. Now go to All Programs  & under Atmel double click AtmelStudio6.0


11. Now you may get this error window and Studio may close.

Image 20   

12. You have to download the Service Pack 1 by clicking the “ here “ link inside the window.

It is a 300Mb download again (…..hmmm)     

      Image 21

13. You can install the Service pack online.If your broadband speed is good , you can complete the installation within 10 minutes.

You can also download the standalone .iso file for installation.But it is a huge 1.5Gb download.

Image 22 

 Image 23            Image 24


Once the service pack is installed successfully you can go ahead with ATMELStudio 6 usage.