EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

Quiet Ethernet problem

Started by Jano December 17, 2010
We are running application written in C# under .NET framework under Windows
CE 6.0 on our hardware based on LPC3240 with PHY DP83848I. This application
communicates with PC over Ethernet. Everything goes well when there is
other activity on Ethernet. When we have quite Ethernet (no communication
from other nodes) our application stops after couple of hours, e.g. every 2
hours. If during stop state we do ping against our IP address it continues
to work. 
On Ethernet where other packet activity happens our application was running
10 days without any stop. Does anybody know what can be wrong?


	   
					
---------------------------------------		
Posted through http://www.EmbeddedRelated.com
In article <HbGdnT-r5tiX9JbQnZ2dnUVZ_v6dnZ2d@giganews.com>, 
nizky@n_o_s_p_a_m.contal.sk says...
> We are running application written in C# under .NET framework under Windows > CE 6.0 on our hardware based on LPC3240 with PHY DP83848I. This application > communicates with PC over Ethernet. Everything goes well when there is > other activity on Ethernet. When we have quite Ethernet (no communication > from other nodes) our application stops after couple of hours, e.g. every 2 > hours. If during stop state we do ping against our IP address it continues > to work. > On Ethernet where other packet activity happens our application was running > 10 days without any stop. Does anybody know what can be wrong? >
I'm just spit ballin' here, but maybe the sockets are timing out and getting closed? I have an embedded system that opens a pipe to a Win PC and we have to make sure that we send a handshake every 30 seconds or so, so Windows doesn't close the socket and free the resources. Obviously if you are opening and closing the sockets as needed, this wouldn't be an issue. You did say that it appeared that if ANY activity was going on everything continued OK, so maybe it is some type of switch issue where the switch is doing something funky during quiet periods. Get a sniffer on one of the nodes and see what is going on. Wireshark is free.
On Fri, 17 Dec 2010 07:43:38 -0600, Jano wrote:
> We are running application written in C# under .NET framework under Windows > CE 6.0 on our hardware based on LPC3240 with PHY DP83848I. This application > communicates with PC over Ethernet. Everything goes well when there is > other activity on Ethernet. When we have quite Ethernet (no communication > from other nodes) our application stops after couple of hours, e.g. every 2 > hours. If during stop state we do ping against our IP address it continues > to work. > On Ethernet where other packet activity happens our application was running > 10 days without any stop. Does anybody know what can be wrong? > > > > > --------------------------------------- > Posted through http://www.EmbeddedRelated.com
-- Linux Home Automation Neil Cherry ncherry@linuxha.com http://www.linuxha.com/ Main site http://linuxha.blogspot.com/ My HA Blog Author of: Linux Smart Homes For Dummies

The 2024 Embedded Online Conference