2025-12-19 3:52 AM - last edited on 2025-12-19 4:07 AM by mƎALLEm
I'm trying to ping my NUCLEO-H723ZG board and I've failed with every attempt over many hours;
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/