You are on page 1of 2

GETTING STARTED

Purpose: To download Eclipse Environment for creating, compling and flashing project/code on AVR uC.

Installing and Setting up Eclipse IDE:


1. Determine first if your System is 32bit OS or 64bit OS. Right-click on My Computer->Properties. The below screen will
open. See the highlighted part in yellow.

2. If your system has 32-bit OS, download Eclipse from this link:
http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/neon/2/eclipse-cpp-
neon-2-win32.zip
Else, if your system has 64-bit OS, downlaod Eclipse from this link:
http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/neon/2/eclipse-cpp-
neon-2-win32-x86_64.zip
3. Unzip the zip file and place the entire folder in C:\Program Files (x86). It is not compulsary to place it here. You can
keep the unzipped folder anywhere you like. (This step will be shown in the class. If you are not comfortable doing
this, just download the software from the above link before coming for the class)
4. Proceed only if you have executed step 3. Open the unzipped folder, and then click on eclipse folder. You will see this:

5. Clicking on eclipse application, will start the software.


6. You make get an error related to Java Runtime(JRE) version. If you do, download JRE from this link:
http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html
For 32bit OS, download this application: jre-8u121-windows-i586.exe
For 64bit OS, download this application: jre-8u121-windows-x64.exe
7. Clicking on Eclipse again, it should start now. It will ask for workspace folder. Give any directory where you would
like to place your projects.

Installing AVR Plugin for Eclipse


1. Click on Help -> Eclipse Marketplace (last but one option)

2. In the “Find” box, write “Eclipse AVR Plugin” and click on Go.
3. It will show few Plugins, choose the one called “AVR Eclipse Plugin 2.3.4” and click “Install”

Installing AVR Toolchain


There are better ways to do it. But, to make it easier for you, we will take not the best route. We will do these steps in
the class so it’s ok if you skip it till the end.
1. Download Arduino IDE 1.8: https://www.arduino.cc/en/Main/Donate . This will contain the latest toolchain which
we will use building and flashing for our projects.
2. Go to Eclipse and click on the top menu: Windows->Preferences. Preferences box will open, on the left you will see
option AVR.
3. AVR will have two sub-sections: AVRDude and Paths.
4. In the paths field: check what is showing up for Path-To: AVR-GCC, GNU make, AVR Header Files, AVRDude. If it
shows, \Path-to-arduino-currently-installed\hardware\tools\xxxx where xxxx will be different for each one of them.
Then you are fine and good to go.
5. If the paths show anything different, then you need to map it manually. This will be done in the class.

Some other Softwares to Download


We may require the support of these softwares. Just download the setup file, you don’t need to install it yet.
1. Arduino Builder: http://arduinodev.com/software/arduino-builder/
2. PuttY: http://www.putty.org/
3. GitHub Desktop Application: https://desktop.github.com/

You might also like