Skip to main content
Visitor II
July 2, 2025
Question

STM32H747 lwip - freeRTOS

  • July 2, 2025
  • 1 reply
  • 365 views

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

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    July 2, 2025

    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!