I use W5500 as TCP server. When I connect W5500 to PC via ethernet Switch everything works file. But when I connect W5500 directly to PC (use crossover cable for that) send() function doesn’t work. I can ping W5500, I can see that eth link os ok from PC side:
eth0: negotiated 100baseTx-FD, link ok
But send() function can’t send data properly. I send 1200 bytes per package. Tx socket buffer size is 2k. After first send() call send returns normally. Second send() call takes too much time (about 20 sec) and finally return SOCKERR_SOCKSTATUS. PC client usually doesn’t get any data, but sometimes (rarely) it can receive some data.
I use latest ioLibrary_Driver from GitHub. I took loopback_tcps() example from the ioLibrary_Driver and use only “send” park from it.
What can be a problem in that case? What should I check?