cancel
Showing results for 
Search instead for 
Did you mean: 

NUCLEO-F767ZI Ethernet can't reply ping without FreeRTOS - unreachable

emirhan37
Visitor

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.

emirhan37_0-1739873809824.pngemirhan37_1-1739873993787.pngemirhan37_2-1739874001125.pngemirhan37_3-1739874020809.pngemirhan37_4-1739874029569.png

 

emirhan37_6-1739874050321.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
STea
ST Employee

Hello @emirhan37 ,

Could you try this example I have shared you will need to change the IP address accordingly in lwip.c file.
Regards

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

5 REPLIES 5

@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?

emirhan37_0-1739879567170.png

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.

 

STea
ST Employee

Hello @emirhan37 ,

Could you try this example I have shared you will need to change the IP address accordingly in lwip.c file.
Regards

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

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?

STea
ST Employee

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

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.