2026-03-12 6:47 PM - last edited on 2026-03-13 2:49 AM by Andrew Neil
"I am currently working on implementing Ethernet communication using a NUCLEO-H753 board.
As a first step, I attempted to perform a ping test. I followed the official tutorial videos provided by STMicroelectronics step-by-step, but unfortunately, I am not getting the expected results (the ping is failing).
I would appreciate any guidance or advice on what might be causing this issue or which specific configurations I should double-check."
"Let me share my CubeMX configuration with you first so we can review the setup."
1. System Core - CORTEX_M7
2. Connectivity - ETH
3. LwIP
4. Clock
I will also share the modified source code with you.
STM32H753ZITX_FLASH.ld
/* Modification start */
.lwip_sec (NOLOAD) :
{
. = ABSOLUTE(0x30040000);
*(.RxDecripSection)
. = ABSOLUTE(0x30040100);
*(.TxDecripSection)
. = ABSOLUTE(0x30040200);
*(.Rx_PoolSection)
} >RAM_D2
/* Modification end */
ethernetif.c
/* USER CODE BEGIN 2 */
#if defined ( __ICCARM__ ) /*!< IAR Compiler */
#pragma location = 0x30040200
extern u8_t memp_memory_RX_POOL_base[];
#elif defined ( __CC_ARM ) /* MDK ARM Compiler */
__attribute__((at(0x30040200)) extern u8_t memp_memory_RX_POOL_base[];
#elif defined ( __GNUC__ ) /* GNU Compiler */
__attribute__((section(".Rx_PoolSection"))) extern u8_t memp_memory_RX_POOL_base[];
#endif
/* USER CODE END 2 */
main.c
while (1)
{
/* USER CODE END WHILE */
/* USER CODE BEGIN 3 */
ethernetif_input(&gnetif);
sys_check_timeouts();
}or
while (1)
{
/* USER CODE END WHILE */
/* USER CODE BEGIN 3 */
MX_LWIP_Process();
}
I have modified the source code as shown above.
The results are shown below.
Pinging 192.168.10.123 with 32 bytes of data:
Reply from 192.168.10.50: Destination host unreachable.
Reply from 192.168.10.50: Destination host unreachable.
Reply from 192.168.10.50: Destination host unreachable.
Reply from 192.168.10.50: Destination host unreachable.
I am receiving these messages as shown in the screenshot,
and I'm reached out because I’m not sure what I might be missing in the configuration.
As you can see, I am getting 'Destination host unreachable' errors.
I would appreciate it if you could help me identify what's wrong.
Edited to apply proper source code formatting - please see How to insert source code for future reference.
2026-04-21 8:43 AM
Hello again @KBae.1, Have you managed to resolve the issue?