Network dies randomly - help debugging it
Posted: Fri Jul 24, 2015 1:55 pm
I have a Nano 54415 with 2.7.1 and am experiencing random network issues. I would like some help or orientation about how to debug it.
My project consists on one 54415 that talks via UDP with two motors and one computer. The motors are identical (just different IPs) and I am exchanging around 160 UDP pps with each one of them (receiving one answer per packet, so it's double). The packets are very small, just a few bytes. I am also exchanging with the computer around 150 pps around 40 bytes each.
The system can run for several hours with no problem, but there are random interruptions. It can happen after 5 minutes or after 2 hours. I've seen it running for 8 hours straight with no problem. Most of the times if fails after 10-20 minutes. When it fails the netburner keeps sending "some" information to the top end, but I cannot ping it and it doesn't receive or send anything to the motors.
I have tried increasing the amount of traffic (to the motors and computer) to see if I can force an error, but it doesn't seem to affect.
Any suggestion about how to start debugging it are appreciated. For example, is there any way to monitor the available memory to detect a memory leak?
My project consists on one 54415 that talks via UDP with two motors and one computer. The motors are identical (just different IPs) and I am exchanging around 160 UDP pps with each one of them (receiving one answer per packet, so it's double). The packets are very small, just a few bytes. I am also exchanging with the computer around 150 pps around 40 bytes each.
The system can run for several hours with no problem, but there are random interruptions. It can happen after 5 minutes or after 2 hours. I've seen it running for 8 hours straight with no problem. Most of the times if fails after 10-20 minutes. When it fails the netburner keeps sending "some" information to the top end, but I cannot ping it and it doesn't receive or send anything to the motors.
I have tried increasing the amount of traffic (to the motors and computer) to see if I can force an error, but it doesn't seem to affect.
Any suggestion about how to start debugging it are appreciated. For example, is there any way to monitor the available memory to detect a memory leak?