Working with AVR Studio

Step 7: 

Write the crystal frequency if you are using external crystal.
Check the checkbox corresponding to Create Hex File and then click on OK.
Save the project again.
 
 
You are here