AnsweredAssumed Answered

Bugs using LwIP with FreeRTOS on STM32F107

Question asked by mb300sd on Jan 5, 2016
Latest reply on Jan 5, 2016 by mb300sd
LwIP works with all default settings if FreeRTOS is not enabled. Adding a single MX_LWIP_Process(); in the main loop makes the board pingable.

 If FreeRTOS is enabled, it gets stuck at HAL_Delay() during the initialization because HAL_IncTick is never called in the SysTick interrupt. Adding it there allows the code to make it past initialization, however the board is still not pingable. It appears that the ethernet receive interrupt is never triggered, although I've gotten stuck debugging it beyond this point. The NISE and RIE bits are set in the ETH_DMAIER register, but my brakepoint at ETH_IRQHandler is still never hit.

Outcomes