2026-01-20 11:12 AM - last edited on 2026-01-20 1:24 PM by mƎALLEm
Hi,
I want to set up the Ethernet peripheral of the STM32H743 microcontroller using lwIP, but I’m facing a problem and I can’t get a ping response. I have reviewed some codes, but they don’t fully explain the cause of the issue. Does anyone have experience with this problem and can provide the correct configuration/settings?
Solved! Go to Solution.
2026-01-21 4:31 AM
Hello @HexatronicOmid, and welcome to ST community,
Attached is a project for the NUCLEO-H753 (which is pin-to-pin compatible with the NUCLEO-H743, except for the crypt module). You can compare configurations and have a working project. Please make sure to add the proper linker file configuration to your project. Let me know if you need further assistance.
Best regards,
2026-01-20 1:26 PM
Hello,
Please refer to this knowledge base article: How to create a project for STM32H7 with Ethernet and LwIP stack
2026-01-20 10:13 PM
please set mac to 00:00:00:12:33:44, ip to 192.168.1.1 and change all other 128 Ethernet and clock settings according to IDE board setting.
2026-01-20 11:46 PM
Hi,
You can try to run a Mongoose example to compare with your project and to determine if the issue is directly related to your lwip configuration or something else. Go to https://mongoose.ws/wizard/#/output?board=h743&ide=CubeIDE&rtos=baremetal&file=README.md and select the destination directory from the settings tab to download this project to your local machine. Then, open it with CubeIDE, build the project and flash the binary to your board. You should then see the logs on the serial console, such as the PHY status, network link status and IP address if successfully connected to the network (you can then ping the IP address and see if it works).
2026-01-21 4:31 AM
Hello @HexatronicOmid, and welcome to ST community,
Attached is a project for the NUCLEO-H753 (which is pin-to-pin compatible with the NUCLEO-H743, except for the crypt module). You can compare configurations and have a working project. Please make sure to add the proper linker file configuration to your project. Let me know if you need further assistance.
Best regards,
2026-01-21 12:01 PM
Thank you for your guidance, I managed to solve it and everything is OK now. I would like to implement Modbus TCP/IP — do you have any recommended libraries or resources for this?
2026-01-22 12:12 AM
@HexatronicOmid wrote:
Thank you for your guidance, I managed to solve it and everything is OK now. I would like to implement Modbus TCP/IP — do you have any recommended libraries or resources for this?
Hello,
That's another question, so please mark as solution the post that has answered your question or guided you to the solution and post an new question for ModBus.
Thank you for your understanding.