Skip to main content
Associate II
January 27, 2025
Solved

unable to ping ethernet connection with stm32h7

  • January 27, 2025
  • 14 replies
  • 3251 views

..

Best answer by STea

Hello @CJ007 ,

Here is an example of ping working on H723 board without RTOS and without DHCP.
Regards

14 replies

mƎALLEm
ST Technical Moderator
January 27, 2025

Hello @CJ007 and welcome to the community,

You provided few wording for a relative complex subject. Need to provide more details on you environment: which board? which middleware are you using? LWIP? with without RTOS? etc etc ..

See the tips on how to post a thread.

PS: see this article on How to create a project for STM32H7 with Ethernet and LwIP stack working

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
Andrew Neil
Super User
January 27, 2025

@mƎALLEm wrote:

You provided few wording for a relative complex subject


actually, no wording at all:

AndrewNeil_0-1737971652044.png

 

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Andrew Neil
Super User
January 27, 2025
A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
ST Employee
January 27, 2025

Hello @CJ007,

Please ensure that your PC and the board are on the same network and subnet.

Additionally, verify that the static IP, subnet mask, and gateway are correctly set in your code.

You can find helpful examples at the following link: STM32CubeH7/Projects/NUCLEO-H723ZG/Applications/LwIP at master · STMicroelectronics/STM32CubeH7

 

With Regards,

"If your question is answered, please close this topic by clicking ""Accept as Solution""."
CJ007Author
Associate II
January 27, 2025

Hello @ASEHST Pc and board are on the same network and subnet. Also the static ip , subnet mask and gateway is correctly set in the code . Ethernet callback is coming and netlink is setup , physical layer  connection is also established , still unable to ping

Visitor
June 29, 2026

Hello @ASEHST  also me facing the same issue….