Question
STM32F107, LwIP and Maximal TCP Packet Reception
Posted on May 18, 2013 at 20:21
Hi All!
I am trying to run the LwIP code example with STM32F107 (LwIP ver 1.3.1) and I have faced the following issue - I am not able to receive the maximal allowable TCP fragment (1460 bytes) - the last 14 bytes are always corrupted. It seems like once and the complete Ethernet frame is more than 1500 byes, I have errors in TCP packet. The strange thing is that 1472 bytes long ping is working fine. The solution I found to the problem is increasing thePBUF_POOL_BUFSIZE
to 1514 bytes.
Is there some hidden bug in the example or I am just doing something wrong? Thanks, Alexey. #stm32 #lwip