2025-09-30 11:35 PM
Hey ST-Community,
I’m working with an STM32H7S78-DK board and trying to get Ethernet running. TouchGFX and FreeRTOS are working fine, but I’m stuck with lwIP. The task starts, but DHCP never succeeds (the printed IP is always 0.0.0.0). I also tried with a static IP, but I still can’t ping the board. Deactivating TouchGFX didn't help.
I've followed this video: STM32 : How to Get an IP Address via DHCP on STM32H7S78-DK with LwIP using IAR EWARM
LwIP has the following memory settings:
I've configured the MPU as well following the given Video.
I’m not sure where to look next – maybe I’m missing some configuration step? Has anyone successfully used lwIP with this board and could give me a hint?
Thanks a lot in advance!
2025-10-01 3:38 AM
Hello @hobbyloseruser, and welcome to ST Community!
Could you try enabling DHCP, regenerating the project, and monitoring the traffic using a tool like Wireshark? This will help us determine if the DHCP four-step sequence—Discover, Offer, Request, Acknowledge (DORA)—is halting mid-communication or not occurring at all. Also, for DHCP to work, you need to connect your board either directly to your router or to your computer with a DHCP server running. Please check these points and get back to me with your feedback.
Best regards,