Hello everybody !
I am running into a weird behavior, which might be linked to my software, or hardware;
On my domino with an arduino WI5100 ethershield v5 board, I have been running several applications using WIZ5100 sockets. Either UDP or TCP. TCP : using either the httplistener class or regular sockets.
Either using static IPs or DHCP.
Powered via USB or external power.
After “some variable time”, the board stops accepting incoming calls. The “some time” can be between 12 and 48 hours. All the other process on the board keep working fine (writting data to the SD card every few minutes). It just behave as it was deaf to TCP and UDP incoming packets. However, ICMP/pings keep replying.
First I thought that in some cases (exeptions?), I was not properly closing the sockets, and I carrefuly monitored them (increasing counter when accepting, decreasing when closing) and it does not seem related.
If I perform a WIZnet_W5100.ReintializeNetworking() every few hours, the problem seem to be solved. However, due to the rare occurence of the problem, it takes a long time checking everything.
Has anyone already met this kind of problem ?
Or on the reverse, did anyone made an application, using the WIZ5100 board, work on the network fine for several days with no trouble ?
Just in case, I ordered another wiz5100 shield…
Thank you in advance for your help ;D !