2025-02-18 02:21 AM - last edited on 2025-02-18 03:18 AM by Andrew Neil
Hi, I am trying to develop ethernet project on stm32f767zi. I am facing the problem when I am trying to pinging from PC to stm32. "Destination host unreachable." How can I fix this? I read similar topic but anything couldn't solve the problem. I shared the configurations and main code with you. I am waiting for the answers. They will really help me I believe.
Have a nice day.
Solved! Go to Solution.
2025-02-18 04:41 AM
Hello @emirhan37 ,
Could you try this example I have shared you will need to change the IP address accordingly in lwip.c file.
Regards
2025-02-18 03:20 AM
@emirhan37 wrote:I am trying to pinging from PC to stm32. "Destination host unreachable."
So is the STM32 actually on network that should be reachable from the PC?
@emirhan37 wrote:I am waiting for the answers.
So what debugging have you done?
Have you used Wireshark or similar to see what's going on?
2025-02-18 03:54 AM
This is the log when I try to ping from pc to stm32.
I tried to ping from pc to raspberry pi with same cable and same target ip and it was successfully done. I need to see ping communication between pc and stm32f767zi over ethernet.
2025-02-18 04:41 AM
Hello @emirhan37 ,
Could you try this example I have shared you will need to change the IP address accordingly in lwip.c file.
Regards
2025-02-18 04:56 AM
Hi, You project is worked! Thank you so much. Can you describe the changes or differences with my code. What is the problem in my configurations?
2025-02-18 05:22 AM
Hello @emirhan37 ,
I didn't go throw you configuration enough, so I recommend you compare the two projects to see the difference with a tool like winmerge.
Regards