
Uint16_t usPort = FreeRTOS_htons( 32002 ) If you copy it to your project ( or link it ), then you can run it as follows: uint32_t ulAddress = FreeRTOS_inet_addr_quick( 192, 168, 2, 5 ) I just prepared a simple TCP-client session to run in an MCU: See this readme.md about non-cached memory.Īre you using BufferAllocation_1.c or BufferAllocation_2.c? If so, have you put the DMA buffers in non-cached memory? #define ipconfigDRIVER_INCLUDED_RX_IP_CHECKSUM 1ĭo you enable data caching by calling SCB_EnableDCache() ? Your project sets them both in FreeRTOSIPConfig.h : #define ipconfigDRIVER_INCLUDED_TX_IP_CHECKSUM 1 * both the IP and the protocol checksums will be calculated * using the ETH_CHECKSUM_BY_HARDWARE option: But I believe the STM32F7 does have hardware IP checksum checking, so this should be set to a 1 value right (for optimal performance)?Īlso check this, setting CRC offloading: #if ( ipconfigDRIVER_INCLUDED_TX_IP_CHECKSUM != 0 ) IpconfigDRIVER_INCLUDED_RX_IP_CHECKSUM to either 1 or 0. You can find an example in this STM32F7 demo project.Ĭould you attach stm32f7xx_hal_conf.h to your post? * Enable the Ethernet global Interrupt */ĭo you have a version of HAL_ETH_MspInit() somewhere in the project?
Stm32f767zi code#
You must have seen this declaration in NetworkInterface.c : void ETH_IRQHandler( void )ĭo you have the following code somewhere? void HAL_ETH_MspInit( ETH_HandleTypeDef* heth ) Looking at your earlier Wireshark_defunct_TCP_package.pcapng, it seems to me that you do not have RX-interrupts. So you will get as many RX-interrupts as there are packets received. When an error has occurred ( or a drop in the Link Status ).

I can’t seem to find much about how often the ETH_IRQHandler() function needs to be calledĪn Ethernet IRQ handler normally has three reasons to be called: Does UDP now run in both directions and with a high wrote:
