2025-01-05 10:50 PM - last edited on 2025-01-06 12:04 AM by SofLit
Hello ST Community,
I am currently working with the Nucleo H723ZG board and facing issues establishing a ping response using the LWIP stack. Despite following various examples and configurations, I have been unable to get it to respond to pings. Here are the details of my setup:
I have tried multiple versions of the H7 package ( 1.12.1 - 1.12.0 - 1.11.1 - 1.11.0 - 1.10.0 ) and tested various configurations without success. The ping command consistently results in "destination host unreachable."Could anyone provide insights or suggestions on what might be missing or misconfigured?
//*****************************
My Ethernet configuration :
//*****************************
Ethernet GPIO Configuration:
//*****************************
MPU Configuration :
//*****************************
LWIP configuration :
I added this part to the STM32H723ZGTX_FLASH.ld file:
//************************************************************************************
..........
. = ALIGN(8);
} >RAM_D1
.lwip_sec (NOLOAD) : {
. = ABSOLUTE(0x30000000);
*(.RxDecripSection)
. = ABSOLUTE(0x30000080);
*(.TxDecripSection)
. = ABSOLUTE(0x30000100);
*(.Rx_PoolSection)
} >RAM_D2 AT> FLASH
/* Remove information from the standard libraries */
/DISCARD/ :
//**********************************************************
and its result is like this:
My main.c code:
//**********************************************************
/* USER CODE BEGIN PV */
extern struct netif gnetif;
/* USER CODE END PV */
++++++++++++++++++++++++++++++++++++++++++++++++++++
in int main(void)
while (1)
{
/* USER CODE END WHILE */
/* USER CODE BEGIN 3 */
ethernetif_input(&gnetif);
sys_check_timeouts();
}
//**********************************************************
ressult:
My CPU clock is 520Mhz. I am sure the hardware has no problem because I can give a ping from the st package example.
But when I configure according that example it does not work.
.Thank you for your assistance!Best regards,
[Your Name]
2025-01-06 03:07 AM
Hello @Saliwan128
Please, refer to this article to create your application.
2025-01-06 05:07 AM
Hello @Saliwan128 ,