[En-Nut-Discussion] Problems with network interface.

Gert Jan Kruizinga gjk at gjk4all.net
Sat Jan 11 16:48:37 CET 2003

I reinstalled the default basemon version and get the following:

Ethernut BaseMon Version 2.4.6
Baudrate select = 7
External SRAM Test...OK
NIC hardware reset...failed
Trying NIC software reset...failed
NIC id detection...  failed, got 0x0A0B, expected 0x5070
NIC hardware reset...failed
Trying NIC software reset...failed
NIC id detection...  failed, got 0x0A0B, expected 0x5070
I/O Port Test...     OK
Press any of the following keys:
    B - Send broadcasts
    E - Ethernet controller read/write
    F - Find Ethernet controller
    R - Ethernet controller hardware reset (Ethernut 1.0/1.1)
    S - SRAM read/write
    X - Exit BaseMon, configure network and start WebServer

What went wrong?

-----Original Message-----
From: en-nut-discussion-admin at egnite.de
[mailto:en-nut-discussion-admin at egnite.de]On Behalf Of Gert Jan
Sent: Saturday, January 11, 2003 4:37 PM
To: en-nut-discussion at egnite.de
Subject: [En-Nut-Discussion] Problems with network interface.

I have an ethernut v1.1 board here and i'm trying to compile network example
for it.

My sources using the console port work fine and now i'm trying to build
network support in it. My network at home is build on a linux infrastructure
with dhcp. Everything compiles with no errors or warnings but the
initialisation of the ethernet controller failed every time, no matter if i
ude nutautoconfig or hardcode ip with nutifconfig.

To exclude programming errors i compiled the example httpd code from nutos
and i get the same results here. I patched my nutos libs for the 20021217cvs
libc so maybe the problem is in there. therefore i removed my entire
development enviroment from my ps and installed the cdk-avr-*-20021028
release from sourceforge, backupped my patched tree and installed the
nut-2.5.91.tar.gz with the nut-2.5.91-troth.diff.txt patch.

Recompile with no errors or warnings and build the httpd example again. Got
the same result for autoconfig as well as for fixed ip config.

I have no clue what goes wrong here.

My current configuration is:
- Redhat linux 7.3
- cdk-avr-base-0.2-20021110.i586.rpm
- cdk-avr-binutils-021028-20021111.i386.rpm
- cdk-avr-gcc-20021028-20021102.i386.rpm
- cdk-avr-libc-20021028cvs-20021102.noarch.rpm
- nut-2.5.91.tar.gz
- nut-2.5.91-troth.diff.txt

IP configuration is

En-Nut-Discussion mailing list
En-Nut-Discussion at egnite.de

More information about the En-Nut-Discussion mailing list