Flying Electron Inc. Logo Flying Electron Inc.
My Account  Cart Contents  Checkout  
  Top » Catalog » Shipping & Returns My Account  |  Cart Contents  |  Checkout   
Categories
Home
Software (1)
NanoComputer (6)
Cables (3)
Crimps, Connectors, and Wire (16)
Development PCBs (9)
Spare Parts
Application Notes



Shopping Cart more
0 items
Bestsellers
01.RS232 Level Shifter Adapter Board [FE_RS232 rev. a]
02.Wiring Harness Connector 2 Position Single Row
03.Wiring Harness Connector 6 Position Single Row
04.* Wire Assembly, Crimps on Both Ends (10 Pack)
05.Atmel AtMega 168 Development Board [FE_M168 rev. b]
06.Extra Long 12" 6 Pin ISP Programming Cable
What's New? more
NanoComputer  USB Wall Charger (Accessory)
NanoComputer USB Wall Charger (Accessory)
$3.99
Quick Find
 
Use keywords to find the product you are looking for.
Advanced Search
Information
Shipping & Returns
Privacy Notice
Conditions of Use
Contact Us
Flying Electron Application Note 0500
Creating a New C Project in Atmel AVR Studio 4
Background
In this application note, we will be demonstrating how to create and compile a new C project using the Atmel AVR Studio 4 application. In this demonstration we will be targeting the project for the Atmel AtMega168 microcontroller as used in the Flying Electron FE_M168 development board. This application note can also be used as a reference for creating projects targetting other Atmel AVR microcontrollers by choosing a different microcontroller model during the device targetting step.
Software Needed
  1. Atmel AVR Studio 4
  2. WinAVR
Creating a New C Project in Atmel AVR Studio 4 Interactive Tutorial
The interactive tutorial below will graphically demonstrate how to create and compile a C project using the Atmel AVR Studio 4 application. Click on the image of the interactive tutorial to start the tutorial.

Flying Electron Application Note 0500
Interactive Tutorial
Click to Start the Interactive Tutorial
Creating a New C Project in Atmel AVR Studio 4 Quick Reference
Below is a quick reference for the steps taken in the interactive tutorial for Creating a New C Project in Atmel AVR Studio 4.
  1. Launch AVR Studio 4.
    The Welcome to AVR Studio 4 dialog will appear.
    Click the New Project button on the Welcome to AVR Studio 4 dialog.
     
  2. The Create new project pane will appear.
    Select AVR GCC for the project type.
    Enter a Project name.
    Check the Create folder checkbox.
    Set the location where the project files should be stored.
    Click the Next button.
     
  3. The target device selection pane will appear.
    Select AVR Simulator for the debug platform.
    Select ATMega168 for the Device.
    Click the Finish button.
     
  4. Enter the source code into the .c source file.
     
  5. Use the Build menu in AVR Studio 4 to build the project.
    Project creation and compilation is now correct.
This is the end of this Application Note.
For other Application Notes, please see the Application Note Index.

Questions, Comments, Suggestions? We want to here them!
Email sales@flyingelectron.com

Copyright © 2012 Flying Electron Inc.
Powered by osCommerce