This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

c6678 NDK client demo:TCP: Retransmit Timeout

hi:

I  download  C6678 NDK client demo to my board, and use in echoc.exe to communicate with C6678, it works well, But  the  ccs console printf many info : "TCP: Retransmit

Timeout". It may effect my performance. I  want to know how can I solve this problem. I use CCS5.3, ndk_2_21_01_38, bios_6_33_06_50.

 

Best Regards

Si

 

  • Hi,

    1. I am using CCS  Version: 5.3.0.00090 , mcsdk_2_01_02_06, pdk_C6678_1_1_2_6, ndk_2_21_01_38, xdctools_3_23_04_60 for the custom C6678 board . I have successfully ported  C6678 NDK client demo example and I can telnet in. But in the CCS console it always print  " TCP: Retransmit Timeout" .

    00009.400 TCP: Retransmit Timeout
    00011.000 TCP: Retransmit Timeout
    00012.900 TCP: Retransmit Timeout
    00013.400 TCP: Retransmit Timeout
    00013.800 TCP: Retransmit Timeout
    00015.400 TCP: Retransmit Timeout

    I have tested with different frequency for C6678 DSP from 800 MHZ, 1000Mhz and 1200Mhz but i receive the same result for all the frequency.Can you please respond how to overcome this problem.

    2. I have one more issue , when i leave my telnet console unused for some time 'Connection to host lost' message come to console and connection is break. I have to telnet again. Can you please let me know the way to avoid this. for our project requirement its necessary to be active all the time.

     Thanks. Looking forward towards your reply .

    Kind Regards,

    Nitish

  • Nitish,

    In client.c, TCP Tx buffer size is 8192 bytes, can you increase this to see if it resolves the TCP transmission timeout?

    Regards, Eric

  • From Wireshark capture, it looks like DSP sent the echo packets back but didn't get the response from PC within time, so the packets re-transmitted via TCP, the PC received duplicates. The echoc.exe is not the way to benchmark DSP throughput, however you can use the HUA demo under mcsdk_2_01_02_06\demos\hua for TCP and UDP TX/RX throughtput purpose.

    Regards, Eric