[En-Nut-Discussion] Problem with Ethernut Startup

en-nut-discussion-admin at egnite.de en-nut-discussion-admin at egnite.de
Mon Jun 23 17:49:29 CEST 2003


I  always use external watchdog timer, which resets everything. Only after
that I've got secured from hang-ups during failed TCP connections.
----- Original Message ----- 
From: <en-nut-discussion-admin at egnite.de>
To: <en-nut-discussion at egnite.de>
Sent: Monday, June 23, 2003 11:27 AM
Subject: Re: [En-Nut-Discussion] Problem with Ethernut Startup


> Looks like the Ethernet controller reset has a problem.
>
> Background: A simple software reset doesn't work, the
> NIC needs a hardware reset after power up. Since board
> version 1.3 the Ethernet controller reset is tied to the
> general reset line, which is controlled by the reset chip.
> On older boards the reset line is connected to Bit 4 of
> Port E. NicReset() in dev/nicrtl.c should toggle this line
> after it fails to read the NIC ID for ten times.
>
> No idea, why NicReset fails. You may add the following
> workaround at the beginning of your application, before
> registering devEth0:
>
>    sbi(DDRE, 4);
>    sbi(PORTE, 4);
>    NutDelay(100);
>    cbi(PORTE, 4);
>
> Harald
>
> _______________________________________________
> En-Nut-Discussion mailing list
> En-Nut-Discussion at egnite.de
> http://www.egnite.de/mailman/listinfo/en-nut-discussion




More information about the En-Nut-Discussion mailing list