I am testing LwIP on the S32K3. When using iPerf, the transmission aborts after a hundred seconds or so. I'm unsure of the cause, but it seems to be due to a lack of response from both the K3 and the PC, leading to the termination, as shown in the attached imag#SJA1110e.
This is one of the issues. The other problem is that after the transmission aborts, I'm unable to test iPerf again, and there's no response to ping. I've checked the system, and it appears to be running normally.
Please assist me in adjusting the parameters or identifying where to check.
"Another issue is how to make the SJA1110 blink and display the correct indicator light when transmitting and receiving data?
Attached is the firmware for the SJA1110.
Thank you.
Hello,
I had a discussion with application team. We would like to ask you read out the diagnostic counters of the SJA1110 (UM11107 - 5.9.4 Ethernet port statistics). If the issue is related to the SJA1110, you will most likely see that frames are discarded on the involved ports. In case counters do increase due to discarded frames, they will provide some additional information as of what could cause the issue.
Best regards,
Pavel
Hello,
lwIP example limits the test time. Please check the last FAQ in S32K3 Automotive Telematics Box (T-Box) lwIP Example Guide Training Presentation (sign in is required).
Best regards,
Pavel
Is it normal for the IPerf test speed to be this slow?
I have already adjusted the buffer.
IPERF report: type=0, remote: 192.168.1.55:12948, total bytes: 12533784, duration in ms: 10011, kbits/s: 10016
IPERF report: type=1, remote: 192.168.1.55:5001, total bytes: 54617164, duration in ms: 10000, kbits/s: 43688
IPERF report: type=0, remote: 192.168.1.55:12993, total bytes: 20766744, duration in ms: 10010, kbits/s: 16592
IPERF report: type=1, remote: 192.168.1.55:5001, total bytes: 54773384, duration in ms: 10000, kbits/s: 43816
I have already referred to the examples above, but I'm still encountering these issues. I can ping the device, and Iperf works, but it disconnects or gets stuck at GAMC_DEV_ASSERT.
Hello,
as I've already replied, diagnostic counters of SJA1110 need to be checked if the SJA1110 configuration is correct. Looking to your SJA1110's setup, DPI is used. If applicable, you may try to disable DPI and keep SJA1110 in as simplest configuration as possible - it might help with LWIP debug.
As David already replied to here S32K3 Lwip iperf test issue - NXP Community, LWIP is an open source and we do not have resources to support.
Best regards,
Pavel