lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [lwip-users] Broadcast packets breaking my network traffic


From: Grubb, Jared
Subject: RE: [lwip-users] Broadcast packets breaking my network traffic
Date: Thu, 19 Jul 2007 07:22:34 -0700

If the problem is different between Windows and Linux, I might suspect the 
problem is not your boards.

When you look at the trace, right around the pause, does the PC's TCP window 
hit 0? I think my computer has a 16KB window, which would be filled up a few 
times a second at that speed. 

If *all* the boards pause at the *same* time, then the problem is probably at 
your host, and not at your boards.

Jared

-----Original Message-----
From: address@hidden on behalf of Caglar Akyuz
Sent: Wed 7/18/2007 3:58 PM
To: Mailing list for lwIP users
Subject: [lwip-users] Broadcast packets breaking my network traffic
 
Hi all,

I have an annoying problem which took my whole week and I have no
solution in my hand still.

I have many lwIP devices(6 to 12) which are connected to a PC through a
hub. I'm transferring ~66 kbytes/sec(992 bytes at every 16msec) from
each device to the PC, all the devices running at the same time. In some
place at some random time, maybe 5 mins or 5 hours, data transfer is
getting currupted such that for a period of approx. 200 msecs no
messages(packets) flying around. Then after 200 msecs, devices continue
sending packets to the PC. On the ethereal log, it's seen that this
happens right after an arp query by the PC. (or some other broadcast packet)

In my port, sys_arch_protect is implemented by disabling interrupts. I'm
using raw api(TCP) with lwIP 1.1.0. I suspect that this may be a phy
issue. I tried to switch to half-duplex mode with no help. Since I see
lost TCP segments in the ethereal log, I suspect that lwIP is sending
packets but they are not reaching the other end for some reason.

Where do yo think the problem can be? In my application code, my port's
ethernet driver, in my physical layer?

Thanks for your help,
Caglar AKYUZ


P.S. : Some test results:

1) Problem is not happening on a direct cable connection(without a hub)
2) Problem is happening with various hubs.
3) If I use a Linux PC, problem is rarely seen, with a Windows PC the   
   problem is more frequent.
4) All the devices losing connection at the same time.
5) If I use static arp entries in Linux, all goes well. I can not test

   this on Windows since Windows has a strange static arp understanding.






_______________________________________________
lwip-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users

<<winmail.dat>>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]