cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F207VC LWIP TCP SERVER Stop Responding

colmolungma
Associate II

I make a TCP Server using STMCubeIDE on STM32F207VC board. It works fine, but always after 1500-1600 bytes data receieved, it stopped responding, and it is also disconnected from network. No replied ping too. I have read discussions about bug of LWIP or ethernet library, i have made -1 optimization and no optimization but it still doesn't work. And about memory barriers, i dont know how and where to add _DMB() or _DSB(). Or maybe it need another solution?

Edited

I followed the tutorial at ​https://narodstream.ru/stm-urok-98-lan8720-lwip-tcp-server-chast-2/

After debugging few days, i found the solution at that tutorial itself. ​ In the comments (because it's in russian, so i didnt read it carefully), that should free the buffer. Now everything is working pretty well.

0 REPLIES 0