2026-01-20 9:06 PM - last edited on 2026-01-21 12:39 AM by Imen.D
I am using STM32F767 with LWIP and LAN8742 PHY.
Ethernet initializes but I am facing Ping does not work reliably.
This is the Schematic.
2026-01-20 10:10 PM
There is an error in your code.
Please fix it before complaining.
2026-01-20 10:36 PM - edited 2026-01-20 10:44 PM
Using the same firmware and LWIP configuration, Ethernet ping works correctly on the Nucleo-F767ZI and another custom STM32F767-based board. On this custom PCB, however, the device does not respond to ping.
This is my code snippet used to ping the IP address. I am using only the libraries provided by STM32CubeIDE, and no additional custom code has been added.
2026-01-20 11:44 PM - edited 2026-01-20 11:45 PM
Hello @Vinayak_B_H ,
Verify your hardware and PHY initialization, and try debug and check the registers to confirm whether the issue is software or hardware.
These articles may help you: