Other Parts Discussed in Thread: C2000WARE
Hello all.
As you well know from these threads
There is a serious issue about Lwip implementation on F2838X family, acknowledge by Texas Instruments over UDP. However, I have been testing MQTT example provided on the same library, which uses TCP and the issue is also present there.
The messages are lost in the stack, and lwip loses control of the connection because of the port provided by Texas Instruments.
To provide an example, if I run the program against a Mosquitto broker on a PC connected to the F28388D device, the connection fails after some time. We have seen that MQTT messages arrive to the broker but suddenly, a message (TCP) get lost in the stack and a retransmission starts by the lwip MQTT app....however, the stack at this point is corrupted, so all messages are lost and the CM4 core freezes waiting for some event to happen.
Luckily, some times the lost connection is detected (or the disconnection message from the broker is received), other times, the disconnection message is not received at the lwip app level, and the CM4 core waits for ever.

Depending on the circumstances, we have seen the system stuck at tcp_output function because useg->next is pointing to itself!!!
The problems are now demostrated to be on TCP and UDP.
I hope there is a strong effort in correcting and providing a realiable software, since many users are reporting these issues. The reason we decided to use F2838X family (and many others) is the Ethernet connectivity to talk to the world and connect easily.
This issue is taking too long, almost a year and no solution yet.
Thank you


