AnsweredAssumed Answered

STM32F107, LwIP and Maximal TCP Packet Reception

Question asked by tsirlin.alexey on May 18, 2013
Latest reply on May 26, 2013 by xol.xol
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 the PBUF_POOL_BUFSIZE to 1514 bytes.
Is there some hidden bug in the example or I am just doing something wrong?

Thanks,
Alexey.

Outcomes