2025-07-25 12:09 PM - last edited on 2025-07-29 2:00 AM by KDJEM.1
Hi everyone,
I'm working on a project using an STM32H725 microcontroller running ThreadX and NetX Duo, and I've run into a persistent issue with the TCP server on port 502(Modbus).
Setup:
After running for a few minutes, Wireshark starts showing repeated [TCP Retransmission] packets being sent from the STM32, even though the socket on port 502 remains in the LISTEN state. At this point, the port stops accepting any new connections.
Why is NetX Duo sending retransmissions when the socket is in the LISTEN state?
How can I prevent the board from getting stuck and ensure it continues to accept new connections reliably?
Any insights, suggestions, or similar experiences would be greatly appreciated!
Regards, Rahul