3.1. Installing Prerequisites
As a first step for programming AVRs in Windows, we recommend downloading and installing an appropriate version of Atmel Studio, an integrated development environment (IDE) from Atmel.
If you are using Windows 7 or later, we recommend Atmel Studio 7.0 because it is the latest version supported by the installers for the Pololu AVR C/C++ Library.
If you are using Windows Vista, we recommend Atmel Studio 6.2 (available here) because Atmel Studio 7.0 does not support Windows Vista.
After Atmel Studio is installed and working, download and install the Pololu AVR Development Bundle (~11MB exe). The Pololu AVR Development Bundle contains these components:
- The Pololu AVR C/C++ Library, which provides functions for interacting with the hardware on your Orangutan or 3pi robot.
- Pololu USB AVR Programmer drivers and software.
- Orangutan SVP drivers.
When you run the Pololu AVR Development Bundle installer, it will ask you which components to install. If you are not sure which ones you will need, it is OK to install them all.
The installer for the Pololu AVR C/C++ Library will ask you which AVR toolchains you want the library to be installed into:
The second screen of the Pololu AVR C/C++ Library installer for Windows.
If the checkbox for your version of Atmel Studio is grayed out, then the installer was unable to find that version of Atmel Studio and you should try reinstalling or repairing it. You should leave the checkbox checked so that the library can install its files into Atmel Studio.
During the installation, Windows will ask you if you want to install the drivers. Click “Install”.
If you have an Orangutan X2, you will also need to install our CP2102 drivers.