Other Parts Discussed in Thread: TM4C1294KCPDT
My proprietary board has a TM4C1294KCPDT running ndk_2_24_03_35 on tirtos_tivac_2_14_00_10. I am using the Telnet code invoked by XCONF.
I have a PC application that communicates properly with a Stellaris version of the proprietary board (has shipped for a couple of years). When I run the TIVA version on the new board, the EMAC (or some related code) seems to hang after a random period that is almost always less than 2 minutes.
My application does two things -- every few seconds it sends out a UDP broadcast "discovery" packet to 255.255.255.255 port 23; the TIVA board responds back via Port 23. Every ~100 milliseconds the PC application sends a command to the target's IP address (also port 23) via Telnet over TCP; the target responds back to the PC via Telnet. This also seems to work correctly with occasional TCP retransmissions when the PC does not ACK soon enough in response to the target telnet responses.
After a brief period of functioning correctly, the target stops responding to anything. Using wireshark I can see that the target ignores TCP packets, the UDP broadcast packets, pings, and even ethernet ARP packets. I have not been able to identify anything wrong using ROV, but I am a beginner so I may be overlooking things. The Heap has more than 0x9000 free; the HWI does not report a pending interrupt, etc.
The only consistent thing I have noticed is that when the hang mode happens the target had just sent a telnet response to the PC. The Telnet packet was immediately followed by a broadcast UDP packet from the PC. The UDP packet was followed by an ACK packet from the PC. The target never sends anything after the original telnet response. But this may not be the whole story because I have captured (using wireshark) this same sequence without the target hanging.
Based on guidance from TI on a different issue, I looked at the ips.Delivered counter. This increases steadily during normal operation but it does not increment at all once the target gets into this "hung" state.
I did find some references to a similar issue on a DSP-family chip about a year ago that was ultimately fixed with an updated driver, but nothing related to TIVA devices.
Any suggestions on how to proceed?
Tom
