Skip to main content
Associate
June 10, 2026
Question

No matter what I do, I cannot get a ping out of STM32F7 (ETH, LWIP)

  • June 10, 2026
  • 2 replies
  • 19 views

Hi,

I made a post a few weeks ago but I can’t find it now because I think this forum may have been updated.

I have an STM32F779I-EVAL and I’ve managed to get LwIP_HTTP_Server_Raw compiled and running from this repo (STM32CubeF7/Projects/STM32F769I_EVAL/Applications/LwIP/LwIP_HTTP_Server_Raw).

The display turns on, and within the debugger, there is no issue. It shows a DHCP timeout and then states its IP is 192.168.0.10, this is fine by me.

With a normal ethernet cable connected to a network switch, or even using a crossover ethernet cable, I get nothing when I ping 192.168.0.10. Ethernet is set up correctly within Windows.

Does anyone have a clue what’s going on here?

I’ve tried basically every tutorial on the internet at this point to ping the device. The most hopeful looks like this one, but still nothing. I’ve also got a Nucleo-H755ZI-Q which doesn’t work with any example.

I’m starting to think maybe it is my set up but I’ve tried across multiple computers, all using the correct settings (as far as I’m aware).

Example of the settings I’ve been configuring on Windows. The board would have the same subnet mask and an IP like 192.168.0.10 or 192.168.0.123 for example

I just want to get a pingable board working. I know it’s a bit complicated because you have to sort out linkers, that’s why I want to just get a pre-existing sample project working first.

Thank you

2 replies

Pavel A.
June 10, 2026

Yes, you should’ve started from a pre-existing example - complete with the link file etc. If you’re sure that the network cable and switch are OK, the board may be defective.

 

jamieaAuthor
Associate
June 11, 2026

Thanks for the response. I’m not sure of anything, I’m hoping I’m missing something simple. I don’t think it’s a hardware problem because it’s quite a new and unused board.

I’ve also been using a Nucleo-H755ZI-Q which I can’t get to work either. The example I used for this is here (STM32H7-LwIP-Examples/STM32H745_Nucleo_M7_ETH).

I’m sorry if I’m being vague, I’d like to provide a minimal reproducible example but I don’t know how helpful it would be considering I’m just cloning repos and setting up from there.

The issue would lie in the example code but I don’t think this is so considering they’ve been verified at some point. Not sure how many issues can arise from firmware and software updates over time though. There are some people who’ve had issues too but maybe it’s also a setup problem.

I have no idea where to go from here. I feel like I’ve exhausted all resources regarding both of these boards, yet I can’t get a ping from any example or any project I produce. It must be a setup problem? But I don’t understand what I could’ve done wrong. I’ve been choosing to use static IPs for every example, and I’ve set up the network appropriately in Windows.

The Ethernet on the board shows a solid green LED and a Solid orange LED which dips off whenever I ping the device, yet nothing in Wireshark or CMD, just Destination host unreachable.

If you’ve got any ideas, I’d really appreciate it. Just feel like I’m at a dead end here.

jamieaAuthor
Associate
June 11, 2026

I’ve made another thread featuring an example for the H7 Nucleo board instead. 

I’d have just added it here but I’m shifting focus from F7 to H7.

Still want to get the Eval board working though.

Thanks