Difference between revisions of "AVR Hardware and Software Setup"
Line 83: | Line 83: | ||
*Once the hex file is generated check the steps under [[Using XploreFlash]] to transfer it to target MCU. | *Once the hex file is generated check the steps under [[Using XploreFlash]] to transfer it to target MCU. | ||
}} | }} | ||
+ | =Programming the AVR Microcontrollers= | ||
+ | AVR microcontrollers can be programmed in the following ways. | ||
+ | *'''SPI''': Most development boards have a either of two pin breakouts. | ||
+ | |||
+ | |||
=Hardware Tools= | =Hardware Tools= |
Revision as of 11:57, 23 September 2014
Contents
Introduction:
In this tutorial we will look at the basic setup required to get started with AVR series of microcontrollers. There are two aspects to it, the software and the hardware. Fortunately, we for AVR there are free software tools available and even some of it is open-source! In this entire tutorial series we will be demonstrating the hardware on aspects on Ultra AVR Development board and also on breadboard and Starter AVR development board wherever possible. Having said that we will release all the schematics and code for you to hack and build on your own.
Software
Let’s talk about software first:
- Atmel Studio 6.2: This is complete software suite from Atmel; it is an integrated development Environment that allows you to write C/C++ programs, complies with a free AVRGCC compiler and produces hex files. You can download it here. Choose the download option according to your existing setup.
- The Programming Software: The programming SW is required to transfer hex file to the target MCU. There are various options available depending on the programmer you’re using. In this tutorial series we will be using Xplore Flash. There are other software that you could also try
Setting up Atmel Studio 6:
- The first section Creating a new project describes, a fresh new project without any additional configurations.
- The second section show importing libraries, this would be helpful if you're trying to use library files created by Explore Embedded or anyone else and importing them in your projects.
- The third section show very important additional configurations that you need to make in order to compile and run the programs the right way.