I have an issue with my board based on W5500. I have successfully implemented a TCP client that sends an HTTP message and then waits for a response. The behavior, however, is quite puzzling. Just about half the time everything works perfectly, while the other half - the TCP socket opens, connects without error and then hangs on
There is no return from that function, and it seems like the program is stuck in some sort of infinite loop.
wizchip_gettimeout, I have a value of 2000 for timeout and 8 for retries. If I’m not mistaken 2000 means 0.2 seconds?
I’m not sure why it hangs, and why only half the time, and not sure where to start debugging.
Any help would be greatly appreciate.