Correction to the "Ethernet problem"

Leon Pollak leonp at plris.com
Tue Feb 5 08:15:22 UTC 2008


On Tuesday, 5 February 2008, Thomas Doerfler wrote:
> Leon,
>
> Leon Pollak schrieb:
> > Well, the switch theory is clear.
> > But isn't the first arp request enough for the switch to learn that RTEMS
> > box has that MAC address? Actually, even the first arp "box to itself"
> > should teach it were is it, no?
> > Besides, IMHO, this can not explain the loss of INCOMING packet after two
> > outgoing were sent and I saw them in my PC via the same switch.
>
> Ok, this really points to the hardware reset at the "source" of the
> problem, either inside the PHY or the MPC8260.
>
> - Once again: After reset, the PHY has at least 5 seconds time for
> auto-negotiation, before the ethernet traffic starts? This should be
> ensured with the download time anyway...
Yes! Download time is about 6s already. And then I put a delay of 7s before 
opening the socket and still there were (very rarely) lost RX packets
>
> - Can you possibly send me the source of the ethernet driver just to
> double check, that everything is all right there?
Of course, I can.
But I really feel very ashamed to make you so busy with my problems...:(

The code is attached.
Please, note that the driver is intended to work with all 3 FCC's which the 
MPC8260 has, but now I test it with the first only.

> wkr,
> Thomas.
No words to express my thankfulness.


-- 
Leon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: network.c
Type: text/x-csrc
Size: 25298 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/users/attachments/20080205/78d1b5d1/attachment-0001.bin>


More information about the users mailing list