i am trying to transfer large amount of data through UDP to PC from my STM32F407.
the problem is when i want to send more than 1500 bytes , i get nothing on PC side.
it seems LWIP (which is generated and configured by CubeMX) is limiting the packet size. by default UDP packet should transfer about 64kb in each packet.
i found in stm32f4xx_hal_conf.h these 2 lines :
#define ETH_RX_BUF_SIZE ETH_MAX_PACKET_SIZE /* buffer size for receive */
#define ETH_TX_BUF_SIZE ETH_MAX_PACKET_SIZE /* buffer size for transmit */
#define ETH_RXBUFNB ((uint32_t)4) /* 4 Rx buffers of size ETH_RX_BUF_SIZE */
#define ETH_TXBUFNB ((uint32_t)4) /* 4 Tx buffers of size ETH_TX_BUF_SIZE */
i increased the value of ETH_TXBUFNB to 10 but i still can not send about 2k packet.
any help would be great.
Thanks in Advance