You are on page 1of 15

Tutorial No.

: 0
Tutorial Name: Setting up the Development Environment and make 1
st
project



Content: page
1. Software Used----------------------------------------------------- 3
2. Setup of WinAVR------------------------------------------------ 4
3. Setup of AVR Studio 6 ------------------------------------------ 6
4. Making 1
st
project-------------------------------------------------13

1- Software Used:
# Name
1 WinAVR
2 AVR Studio 6.x
3 AVR Tool Chain (optional)
4 Proteus 7.x or 8.x

Download Links:
Winavr
http://sourceforge.net/projects/winavr/files/WinAVR/20100110/

You have to make atmel account to get the download link
its easy to register same as making new e-mail

AVRStudio 6.x
http://www.atmel.com/tools/atmelstudio.aspx?tab=overview


Avr toolchain: installing this tool chain is simple as installing any program
http://www.atmel.com/tools/atmelavrtoolchainforwindows.aspx


2- Setup of WinAVR:
WinAVRis not just one tool. WinAVR is a set of tools, these tools include avr-gcc (the command line
compiler), avr-libc (the c ompiler library that is essential for avrgcc), avr-as (the assembler), avrdude(the
programming interface), avarice (JTAG ICE interface), avr-gdb (the de-bugger), programmers notepad
(editor)and a few others.
These tools are all compiled for Microsoft Windows and put together with a nice installer program.
We will not use WINAVR as compiler we just want the integrated toolchain with it to be use with the
AVR Studio 6.x that we will use to build our projects.

1-Download WinAVR from link below :
http://sourceforge.net/projects/winavr/files/WinAVR/20100110/

2-After download open the exe file.





2-Complete the setup process as shown below:






.






1 2
3 4
5
6
3- Setup of AVR Studio 6.x:
AVR Studio 6.x will be the our compiler and projects builder.

1-Download AVR Studio6.x from link below:
http://www.atmel.com/tools/atmelstudio.aspx?tab=overview



2-Complete the setup process as shown below:

:
1
2
3
4
5
6
7
8
9
10
11
12
13
14



15
16
19
17
18
4-Making 1
st
project:
Open AVRStudio:



Click File >> New >> Project







Edit: Name
Location of the project
Solution name


Choose the Micro-controller you want to work with
Then click on it from the list


You can search for the Micro-controller



Write your code then click on this button or press F7
To build the solution


Here you can check for any Errors and see other stuff
like: project saved location and etc.

Make sure you get Build succeeded

You might also like