Keil™, An ARM® Company

Technical Support

ARTX: PACKETS LOST ON TCP/IP STACK


Information in this article applies to:

  • ARTX-ARM All Versions
  • ARTX-166 All Versions

QUESTION

I have implemented a TCP/IP application and I am using the PING utility to send periodic pings to the system. On a high ping rate it appears that packets are lost. Is this normal behaviour.

ANSWER

The TCP/IP stack provides the module ANet_Debug.c that may be used for debugging of the TCP/IP stack. When you send pings at a very high rate, the TCP/IP stack may output error text and due to the error output via a serial interface, the system may get slow.

To make sure that this is not the case on your computer, disable all debug output. Alternatively you may use a terminal program (such as Hyperterm) and analyze the debug output of your system. If there is a lot of output, your system may slow down.

MORE INFORMATION

  • ARTX User's Guide, TCPnet, Debugging

Last Reviewed: Tuesday, January 23, 2007


Did this article provide the answer you needed?
 
Yes
No
Not Sure