Hello
I'm trying to port LwIP with FreeRTOS to the WCH32V307. It seems to kind of work. DHCP is working, even though it sometimes takes quite some time to gather an IP Address.
But TCP is not really working. I'm using httpd server in LwIP. Tracing it down lead to getting a RST from the LwIP Server. The RST is sent due to an incorrect ACK number.
Putting a printf into tcp_in.c after /* expected ACK number? */ lead to the following:
Ackno is: 6511, expected ackno is: 6510
This results in LwIP sending a RST.
Any idea why this can happen?
Thanks