Ethernut: Free Embedded-Ethernet Project

Posted in AVR, Embedded Ethernet, Favorite, RTOS, TCP/IP Stack
On Thursday, August 31, 2006

Ethernut is the name of an embedded-ethernet opensource project managed by Herald Kipp (egnite Software GmbH). The project includes hardware and software which you can freely download from egnite website.

ethernut-board-v1

Ethernut 1

You can download the schematic, pcb and software freely form egnite site. Maybe you can build your own board at your place, but I do not recommend that way. It can be very difficult. Just buy one or two ready to use board from Ethernut distributor.

Processor

Ethernut offers 3 versions of development board:

  • Ethernut 1
    Using Atmel AVR ATMega128 processor and Realtek RTL8019AS ethernet controller (10Mbps ).
  • Ethernut 2
    Still use ATMega128, but at this version they use LAN91C111 as ethernet controller (10/100 Mbps).
  • Ethernut 3
    Use Atmel ARM AT91R40008 and DM9000E ethernet controller (10/100 Mbps).

Nut/OS

Nut/OS is a bundle of simplified RTOS and TCP/IP stack. Ethernut’s RTOS supports simple cooperative multi-threading (non-preemtive!), event handler, dinamic memory allocation, interupt driven I/O, and timers. The TCP/IP stack offers: ARP, IP, ICMP, UDP and TCP, DHCP, DNS and HTTP.

Development

Ethernut Nut/OS was originaly writen using AVR-GCC (GNU Compiler Collection). AVR-GCC is also opensource AVR-GCC is available freely for Linux and Windows user.

Ethernut 1 and 2 use AVR ATMega128, so you need compiler and downloader tool for that chip. Fortunately you can get those tools for free.

For Windows user, you can download WinAVR , which contain AVR-GCC and other tools. Also, download AVR Studio, which has STK-200/500 downloader. All of those software are free.

Besides WinAVR, if you have money, you can use commercial compiler, ICCAVR from ImageCraft and CodeVisionAVR from HP InfoTech.

For Linux user, you can download AVR-GCC package. You will also need UISP downloader.

Note, to download your code to Ethernut board, you need to build or buy SPI or JTAG Programming Adapters.

Ethernut 2 and 3 implement Xilinx CPLD. If you want to modify the CPLD program, you need to download the free ISE Webpack Software from www.xilinx.com.

For ARM processor (Ethernut 3.0), you will need to download ARM-GCC.


ethernut-board-v2

Ethernut 2

Sample Applications

There are 2 sample application that you can use as starting point to explore Ethernut system:

  • Ethernet Boot Loader
    BOOTP/TFTP based boot loader
  • WebPort
    Simple web-sever to monitor and control I/O ports via browser.


ethernut-board-v3

Ethernut 3

Board Version

I directly get this table from egnite website.

Feature Ethernut 1.3 G Ethernut 2.1 B Ethernut 3.0 D
CPU ATmega128 14.7456 MHz ATmega128 14.7456 MHz AT91R40008 73.728 MHz
RAM 32 kBytes 32 kBytes + 30 banks a 16 kBytes 256 kBytes
Non-Volatile Memory 128 kBytes Flash
4 kBytes EEPROM
128 kBytes Flash
4 kBytes EEPROM
512 kByte serial Flash
4 MBytes Flash
512 Bytes serial EEPROM
Ethernet RTL8019AS 10 MBit LAN91C111 10/100 MBit DM9000E 10/100 MBit
Programmable Hardware No XC9536XL, internal use only XC95144XL, partly available
CY22393 programmable clock
Main RS232 DB9 female DB9 female with RTS/CTS DB9 male with full modem handshake
Secondary RS232 TTL at expansion port Via cable adapter (jumper) or
TTL at expansion port
Via cable adapter (CPLD) or
TTL at expansion port
RS485 No Yes, half duplex No
Digital I/O Ports 31 31 Up to 48, partly via CPLD
Analog Inputs 8 8 No
Memory Expansion Yes Yes Yes, via CPLD
Hardware
Clock / Calendar
No No Yes, with capacitor backup
Memory Card Slot No No Yes, MMC or SD Card
Power Supply Linear
8-12V 150mA
Linear
8-12V 400mA
Switcher
5V 200mA - 24V 70mA
Dimension mm 98 x 78 98 x 78 98 x 78

License

Ethernut is published under GPL. Please note, all code published under GPL forces you to publish all derived code and all modifications.

Source: www.ethernut.de

One Response to “Ethernut: Free Embedded-Ethernet Project”

  1. Microcontroller and Embedded Systems Hilite at EarthSync Network Says:

    [...] Ethernut: Free Embedded-Ethernet Project [...]


Possible Related Entries:
[Embedded System roll-b]
Caution:
Non-English page is generated by an automatic translation software which can rise inaccurate translation.
Consider to view the original English version via link at the bottom of this page.