Other Parts Discussed in Thread: AM3359, TMDXICE110
Hi experts,
This is a continuation of the original thread.
My customer has run the following two example projects on TMDSICE3359.
NIMU_FtpExample_icev2AM335x_armExampleproject
NIMU_ICSS_FtpExample_icev2AM335x_wSoCLib_armExampleproject
In both projects, a socket error 10054 occurs after about 3855 communications in fixed format communication. Can you please tell me how to avoid this problem?
The test method and details are listed below.
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.
To test this, disconnect from the PC at (for example) 3850 times before reaching 3855 times, and reconnect, and this error will not occur. The above suggests that the error is occurring because AM3359 disconnects when the communication frequency exceeds a certain limit.
It would be great if you could give me some related information, including whether this is a NDK specification or not.
Best regards,
O.H