AnsweredAssumed Answered

STM32F407 Discovery & LwIP Udp Echo Server

Question asked by tonio on Nov 30, 2015
Latest reply on Jan 6, 2016 by pandey.mridul.001
Hi all,

I'm trying to run the example Udp Echo Server with raw API from LwIP (included in the cube 1.9.0) on a STM32F4 discovery board, with a STM32F4DIS-BB extension board. Unfortunately the code doesn't seem to work.
Basically, there is an infinite loop in the main function that (indirectly) calls the HAL_ETH_GetReceivedFrame in stm32f4xx_hal_eth.c. However, there is a test at the beginning of this function that checks whether the segment is not owned by DMA and that always fails. As a result, this function always returns an error and no frame ever gets read.

I didn't modify the sample code, so I don't really see why this doesn't work. Does anyone have an idea?

Thanks in advance

Outcomes