[En-Nut-Discussion] Switching between Ethernut versions

Harald Kipp harald.kipp at egnite.de
Fri Jan 9 11:16:40 CET 2004


Brett,

there are three major hardware revisions.

1. ATmega103 with RTL8019AS (green color)
2. ATmega128 with RTL8019AS (red color)
3. ATmega128 with LAN91C111 (red color)

On all boards, PE5 is used for the Ethernet Interrupt.

Rev. 1.3F uses PE7 for IOCHRDY, but R19 should
have been removed, because this feature doesn't
work as expected.

Rev. 1.0 and 1.1 (ATmega103) uses PE4 to reset
the Ethernet Controller.

The expansion port is upward compatible. Finally
Ethernut 2 uses all pins except 63 and 64, which
were and will never be used and are available for
your own mods.

To rebuild the libraries for the specific
revision (mainly ATmega103 -> ATmega128) use
nutconf.exe.

Basemon demontrates, that the same binary will
work on all ATmega128 boards.

Now the tricky part for ICCAVR users. If you use
the command line make, everything is OK for you.
But who pays for a nice GUI without using it? :-)
The Nut/OS samples expect ETHERNUT2 being defined
to switch from RTL8019AS to LAN91C111. Simply add
ETHERNUT2
to the macro defines in the project setting.

Using the additional banked RAM is a different
story.

If you like your application binary running on all
ATmega128 boards, look at basemon. But again, my
warning: Basemon is not suitable as a general
Nut/OS template.

Regards,

Harald





More information about the En-Nut-Discussion mailing list