ATMEL HOWTO

Step 1: Installation

See Installing the AVR Tools

Step 2 (AVR Studio): Creating and compiling your program

Grab a current version of OUlib: libou_atmega8.a and oulib.h and place it in your project directory (or place a shortcut to these files in your project directory). You may also want oulib_serial_buffered.h and buffer.h.

See the AVRstudio discussion.

Common Problems

With AVRstudio, it is not uncommon for things to be working, and then suddenly stop working (with respect to compiling and downloading)


Step 2 (non-AVR Studio): Creating and compiling your program


Step 3: A Basic Circuit

You may use the original led_flash2.fig file if you wish (this is an xfig file).

The key components are:


Hints

Atmel Mega8 Details


fagg [[at]] cs.ou.edu

Last modified: Tue Feb 15 00:53:42 2011