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.

TMDXICE110: Socket error 10054: occurs after about 1 hour

Expert 2945 points
Part Number: TMDXICE110
Other Parts Discussed in Thread: AMIC110, TMDSICE3359

Hi experts,

My customer is using the following sample project created by pdk_am335x_1_0_17 and is experiencing problems.

NIMU_ICSS_FtpExample_icev2AM335x_wSoCLib_armExampleproject

Q1:Could you please tell me how to avoid this problem?

They have rewritten the target board information in the following file of this sample to run on the evaluation board TMDXICE110.

Change "Am335x_app_icev2_wSoCLiv.cfg" line 214 from "icev2AM335x" to "iceAMIC110".

Now, in "ftpsever.c", add IP address and send/receive process to test the communication between PC and evaluation board. (Other than that, change the stack size of the client to 32768)

[Modbus/TCP]
Client command: 00 00 00 00 00 06 01 03 00 01 00 04
Server response :00 00 00 00 00 0B 01 03 08 01 02 03 04 05 06 07 08
(Fixed format response)

In this case, if they send and receive repeatedly in a 1 second cycle after connecting the line, Socket Error 10054: will occur after about 1 hour. Even if the cycle is changed, the same error will occur after about the 3856th communication. If they reset the client (disconnect to connect) after the error occurs, communication resumes again, but the error occurs again after the same number of communications.

Q2:Also, to begin with, does "NIMU_ICSS_FtpExample" support AMIC110?

I'm confused because there seems to be a difference between the following two threads.
e2e.ti.com/.../processor-sdk-amic110-http-ftp-server
https://e2e.ti.com/support/processors-group/processors/f/processors-forum/957320/amic110-support-for-http-and-ftp-server

Best regards,
O.H

  • Hi O.H,

    According to the NDK example description table given here,  "NIMU_ICSS_FtpExample" is not supported on AMIC 110.

    Regards,

    Jianzhong

  • Hi jianzhongxu,

    Thanks for the quick reply. I understand the support status.

    If we proceed with AMIC110, am I correct in understanding that technically we can use the FTP server application with AMIC110?

    If so, I understand that the only way to implement "NIMU_ICSS_FtpExample" is to proceed with porting on their own(or 3rd party).

    Best regards,
    O.H

  • If we proceed with AMIC110, am I correct in understanding that technically we can use the FTP server application with AMIC110?

    Yes, because the AMIC110 has exactly the same ARM core as AM335x.

  • Hi jianzhongxu,

    I'm sorry for the late reply. I understood.

    I have passed on your feedback to my customer. The customer has decided to proceed with checking the difference with "TMDSICE3359", and we will create a new thread if a similar problem occurs.

    Best regards,
    O.H