cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H747 lwip - freeRTOS

luca_sc
Visitor

Hi,

I am developing firmware for an STM32H747 with Ethernet connected via RMII to a LAN8742 PHY. The project uses lwIP and FreeRTOS. UDP communication works fine when sending data, but when receiving UDP packets, the system crashes after some rundom time, even just when pinging the device.

Has anyone encountered a similar issue or can suggest what might cause UDP receive-related crashes in this setup?

Thank you

1 REPLY 1
Imen.D
ST Employee

Hello @luca_sc and welcome to the Community,

Check FreeRTOS and LwIP configration and I advise you to follow the steps described in this article: How to create project for STM32H7 with Ethernet and LwIP stack working.

You can also, get started with the LwIP example available here stm32-hotspot/STM32H7-LwIP-Examples: Ethernet examples using LwIP + FreeRTOS for STM32H7 Discovery and Nucleo boards (github.com).

Hope this helps!

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen