mega-eth - Atmel AVR ethernet board

This project is a basis for developing microcontroller applications connected to an ethernet network.

The hardware

Hardware components already integrated on the reference design include:

The hardware design is expandable by connecting additional components to the existing pin header. Several digitial I/Os, A/D inputs as well as the standard SPI and I2C (TWI) serial interfaces are available for user-defined purposes.

The curcuit board is designed as a two-layer board of size 100mm x 80mm. Most components use SMD packages.

mega-eth_rev10.jpg

The mega-eth board running with a memory card and ethernet connected.

mega-eth_rev10_layout.png

The layout of the revision 1.0 circuit board.

The software

The software is written in pure standard ANSI-C. Sure, it might not be the smallest or the fastest one, but I think it is quite flexible.

By providing the software for this project under the GPLv2, great flexibility is achieved. The following modules are already available:

I implemented a simple command prompt which is accessible via the UART at 115200 Baud. With commands similiar to the Unix shell you can setup the network parameters, browse the SD/MMC memory card and more.

Adapting the software to your needs

The software has been written with reusability in mind. Most modules are hardware independent, and hardware abstraction has been used where hardware access is needed. That said, it should be fairly easily adaptible to different hardware configurations.

By changing the MCU* variables in the Makefile, you can use other Atmel microcontrollers or different clock speeds. Some modules are configurable, the parameters reside in extra files named for example tcp_config.h or ethernet_config.h.

Bugs or comments?

If you have comments or found a bug in the software - there might be some of them - you may contact me per mail at feedback@roland-riegel.de.

Copyright 2006-2008 by Roland Riegel

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation (http://www.gnu.org/copyleft/gpl.html). At your option, you can alternatively redistribute and/or modify the following files under the terms of the GNU Lesser General Public License version 2.1 as published by the Free Software Foundation (http://www.gnu.org/copyleft/lgpl.html):

Generated on Thu May 22 18:12:36 2008 for mega-eth by  doxygen 1.5.5