Skip to main content
HexatronicOmid
Associate
January 20, 2026
Solved

Ethernet Lwip Ping

  • January 20, 2026
  • 4 replies
  • 348 views

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?

Best answer by STackPointer64

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,

4 replies

mƎALLEm
Technical Moderator
January 20, 2026

Hello,

Please refer to this knowledge base article: How to create a project for STM32H7 with Ethernet and LwIP stack

"To give better visibility on the answered topics, please click on ""Accept as Solution"" on the reply which solved your issue or answered your question."
mbarg.1
Senior III
January 21, 2026

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.

Graduate
January 21, 2026

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).

STackPointer64Best answer
Technical Moderator
January 21, 2026

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,

To improve visibility of answered topics, please click 'Accept as Solution' on the reply that resolved your issue or answered your question.
HexatronicOmid
Associate
January 21, 2026

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?

mƎALLEm
Technical Moderator
January 22, 2026

@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.

"To give better visibility on the answered topics, please click on ""Accept as Solution"" on the reply which solved your issue or answered your question."