Download - teslabs

Transcript
1. Introduction
Since setting up a working development environment for AVR microcontrollers has taken me
so many hours and reading from lots of websites, I decided to write this document explaining
the process as clearly as possible. I will only make use of open source software since it can be
accessed by everybody without any cost and offers a very good quality. That process will be
explained for the three operating systems mainly used: Linux, MacOS and Windows (note that
the process between Unix systems is quite similar). The following topics will be treated:
●
●
●
●
●
Installing AVR GNU Toolchain (gcc, binutils and avr-libc)
Installing the programming tool avrdude and learning how to use it with
JTAGICEmkII and a home-made Parallel port ISP.
Introduction on how to create a Makefile
Installing Eclipse IDE and integrating with AVR development tools
Graphical debugging with JTAGICEmkII using avarice and gdb through Eclipse
If you find any mistakes in this document, please, report them at gerardmarull@gmail.com.
3