2025-06-27 11:11 AM
Hi everyone,
I am working with STM32H743ZIT6 and trying to implement basic Ethernet communication using LwIP. I downloaded the STM32CubeH7 package, and using the default LwIP example, I can successfully ping my STM32 board from my PC — no issues there.
However, when I try to replicate the same configuration in my own project, I cannot get ping to work. I suspect I am missing some configuration step or detail, even though I tried to match everything.
1. MCU: STM32H743ZIT6
2. Development Environment: STM32CubeIDE
3.LwIP Version: Provided with latest STM32CubeH7 package
4. PHY: LAN8742
5.Clock Configuration: HSE 25 MHz
, proper PLL setup
6.LwIP Example: LwIP_Ethernet example — works fine, I can ping
7.My Own Project: Same clock setup, same LwIP stack, but ping doesn't work
2025-06-27 1:31 PM - edited 2025-06-27 1:32 PM
What is different between your project and the example project? Start there. Do a code diff. No code presented.
2025-06-27 1:45 PM
https://github.com/stm32-hotspot/STM32H7-LwIP-Examples
I use this example and It was successfully ping
I want to learn how to config step by step please can I get any document .
2025-06-30 2:19 AM
Hello @sumanga, and welcome to the ST community!
Have you tried following the knowledge base guide linked to the GitHub project you used?. The guide provides step-by-step instructions to help you create and configure your own LwIP application. If you encounter any issues, I will be happy to assist you.
Best regards,
2025-06-30 4:37 AM
dear STackPointer64
I tried implementing LwIP on my STM32 using the code from the official ST GitHub repository. When I directly downloaded and flashed the precompiled binary or full project from GitHub, everything worked fine — I could ping the board without issues.
However, when I followed all the instructions provided on GitHub to set up and regenerate the project (for example, through STM32CubeMX and STM32CubeIDE), the project compiles, but I cannot ping the board anymore. I made sure to carefully follow all the setup steps exactly as mentioned.
Is there something missing or any known issue when regenerating the project via CubeMX? I would appreciate any advice or guidance.
Thank you in advance!