cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F4 ETHERNET RECEIVE ISSUE WITH LARGE PACKET

MGOEL.1
Associate II

HI

I am using stm32f429 microcontroller for receiving 14000 byte packet continuously in TCP in Raw tcp.I am using LWIP 2.1.2 version for this .My packet gets received one or two times sometimes continuously receiving 14000 byte packet i have choosen underneath setting for lwip(out of 20 times one time it works flawlessly without fail)

  • PBUF_POOL_BUFSIZE:1460
  • TCP_WND: Four times the TCP_MSS would be:TCP_WND = 4 * 1460 = 5840 bytes
  • TCP_SND_BUF:   5840 
  • MEM_SIZE: MEM_SIZE = 20 * 1500 = 30000 bytes
  • PBUF_POOL_SIZE: PBUF_POOL_SIZE = 20
  • i have attached my project file as attachment for review
  • Kindly help to identify the potential issue why receive packets gets stopped in between My microcontroller doesn't hang
  • I have checked with wireshark also but it shows TCP_window full i have increased TCP_window to 28500 still same result
  • Kindly help on the same I am trying to figure it out for past several days almost stuck now
0 REPLIES 0