[En-Nut-Discussion] Full Duplex operation

Damian Slee damian at commtech.com.au
Fri Mar 12 07:32:02 CET 2004


Realtek Full duplex mode is only available if an eeprom is used or
emulated via some of the mega128 pins.  The eeprom has to have the FUDUP
bit set in the correct byte.

The FUDUP bit in the CONFIG3 register is read only.  Page 11 of the data
sheet.  In the table for Page3 registers, CONFIG3 register.

So the following code in NicStart() in nicrtl.c will never enable full
duplex;

    /*
     * Disable sleep and power down, enable FDX
     */
    nic_write(NIC_PG3_CONFIG3, NIC_CONFIG3_FUDUP);
	



-----Original Message-----
From: Damian Slee 
Sent: Friday, 12 March 2004 8:56 AM
To: Ethernut User Chat (English)
Subject: RE: [En-Nut-Discussion] Full Duplex operation

Ha, so's mine.  Never noticed that.  I presumed it was running full
duplex.  That would explain why I occasionally noticed the DFR bit set
in the receive status register.

Has anyone ever played with the realtek initialisation to force it full
duplex, or double check auto is working?


-----Original Message-----
From: Stephen Noftall [mailto:stephenn at lcsaudio.com]
Sent: Friday, 12 March 2004 8:17 AM
To: en-nut-discussion at egnite.de
Subject: [En-Nut-Discussion] Full Duplex operation

Hello everyone; I asked this question before, a few years ago, but
couldn't figure it out. Apparently, Ethernut seems to always want to
come up in half-duplex when connected to an auto-negotiating switch. I
have tried to make it come up in full duplex, but with no luck.

I have been able to make it use full duplex when I hook it into a
managed switch, and manually setting it to full duplex for that port. It
then uses full duplex without a problem.

The reason I am asking this is we have ran into a problem with packets
being dropped, and the connection going dead for >2 seconds when there
is allot of traffic. Switching it from half to full duplex corrects this
problem.

I have been thinking that it can be changed by hooking up to the EEPROM
lines, and then reprogramming the EEPROM. But the EEPROM is already set
to full duplex. My only guess is that the auto-negotiating aspect of the
8019AS is broken.

Has anyone else been able to get full duplex to work?

Cheers

Stephen Noftall
_______________________________________________
En-Nut-Discussion mailing list
En-Nut-Discussion at egnite.de
http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion


_______________________________________________
En-Nut-Discussion mailing list
En-Nut-Discussion at egnite.de
http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion





More information about the En-Nut-Discussion mailing list