STM32F4-Discovery LWIP - Stops receiving data after X packets
Hi,
I have configured STM32 as a server using tcp_echoserver example. I'm receiving data through tcp_echoserver_revc() function.
I'm receiving packets in this way: #INIT*
When STM32 receive X packets (Around 14), it stops receiving data and TCP connection disconnects from PC. However, STM32 still working normally (except lwip part). It can't receive or send any packet.
All configuration is by default, IP fixed.
This is a capture from wireshark. 192.168.1.40 is the IP of STM32. When STM32 fails, black lines appear.

As I say, it is all by default. I have only modified tcp_echoserver.c file. I write below functions that belongs to that file.
