Question
H723 problems with ping (ETH+LWIP)
- December 19, 2025
- 3 replies
- 101 views
I'm trying to ping my NUCLEO-H723ZG board and I've failed with every attempt over many hours;
- Nucleo board is connected to my MacBook over USB + ethernet cable with an ethernet adapter
- I'm using STM32CubeMX with VSC extension (this setup works, I am able to program the board and debug it)
My goal: Ping the STM32 over ethernet
Results:
Request timeout for icmp_seq 301
ping: sendto: Host is down
Or it will hardfault
Code:
/* USER CODE BEGIN PV */
extern struct netif gnetif;
/* USER CODE END PV */
...
/* Infinite loop */
/* USER CODE BEGIN WHILE */
while (1)
{
/* USER CODE END WHILE */
/* USER CODE BEGIN 3 */
ethernetif_input(&gnetif);
sys_check_timeouts();
}
/* USER CODE END 3 */
Config:
These config files are based from .ioc files from this thread: https://community.st.com/t5/stm32-mcus-embedded-software/h723-ethernet-lwip-ping-problem/m-p/758419#M58561 (No help from linked topic helped here)
I've also tried this tutorial with the same results: https://rafalbartoszak.com/stm32-ethernet-the-first-launch/






