2026-03-23 2:34 AM - last edited on 2026-03-24 3:52 AM by FBL
Hello!
I have been using the STM32H723ZG Nucleo board and am now trying to ping the STM32 device from a PC through an Ethernet connection, but the ping is not working.
For ex:
ping 192.168.10.XX (STM32 Static IP)
No response is received.
My board setup and module details are given below.
Board / Setup
Observed Behavior (STM32 side logs):
Who has 192.168.10.50? Tell 192.168.10.100 (Captured by wireshark).
2. lwIP processes the request and generates an ARP reply.
3. ARP reply frame content (from debug log):
192.168.10.XX is at 00:80:XX:XX:XX:XX
4. Transmission status:
HAL_ETH_Transmit_IT status = HAL_OK
5. TX complete callback is triggered:
HAL_ETH_TxCpltCallback()
Expected Behavior:
Actual Behavior (PC side)
Using Wireshark:
Memory Configuration (lwIP / DMA)
#define MEM_SIZE 16360
#define LWIP_RAM_HEAP_POINTER 0x30040000
Additional Observations
For your reference I have given the STM log that I get while I sent the ping command.
STM log:
RX: ARP request (broadcast)
Sender MAC: XX:XX:XX:XX:XX:XX
Sender IP : 192.168.10.XX
Target IP : 192.168.10.XX
TX: ARP reply
Sender MAC: XX:XX:XX:XX:XX:XX
Sender IP : 192.168.10.XX
Target MAC: XX:XX:XX:XX:XX:XX
Target IP : 192.168.10.XX
HAL_ETH_Transmit_IT status = 0
Questions
Any guidance would be appreciated.
Regards,
Siva
2026-03-25 4:42 AM
It could be an issue with the ETH DMA descriptors. Can you check at which address in memory are they stored? Run the code with the debugger and look for the DMARxDscrTab/DMATxDscrTab variables, see at which address are located. Some domain areas of the SRAM, like 0x20000000, are not accessible by the ETH DMA controller... 0x24000000 or 0x30000000 domains on the other hand should be good.
Given that the TX complete callback triggers, I think the issue is at the low-level, not at lwip level, most likely due to DMA failing to transmit. Or maybe the pins are not configured properly (pull and speed options)... you could try having a look at this ioc file as a reference and compare ETH pin setup against your own, it's part of a project that was tested and works.
2026-03-25 7:06 PM
Thank you for your suggestion regarding the ICMP configuration.
I have verified the LWIP configuration, and LWIP_ICMP is enabled. It has not been overwritten in my current setup
2026-04-01 10:15 AM
Hello @SivaElte, and welcome to ST Community!
To ensure your board works flawlessly, could you please try running this example and let me know if it successfully pings? If it does you could compare configurations.
Best regards,