cancel
Showing results for 
Search instead for 
Did you mean: 

H723 problems with ping (ETH+LWIP)

ten_filip
Visitor

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/ 

Screenshot 2025-12-19 at 12.46.14.png

Screenshot 2025-12-19 at 12.46.33.png

Screenshot 2025-12-19 at 12.46.57.png

Screenshot 2025-12-19 at 12.47.21.png

Screenshot 2025-12-19 at 12.47.44.png

Screenshot 2025-12-19 at 12.47.57.png

 

0 REPLIES 0