RT1052移植LWIP可以DHCP但是PING不通

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

RT1052移植LWIP可以DHCP但是PING不通

564 Views
gossipboy
Contributor II

最近移植LWIP,通过打印可以看到成功DHCP到IP地址,DHCP相关的数据也能正常接收到,但是过后就是不能用其它IP(同一网络下的地址) PING通,只有在获取到IP的一瞬间好像可以PING通一次,然后两次超时,接下来就是无法访问目标主机了。但是其它的IP可以相互PING通,也无法打印ping的数据包。请问可能是什么原因导致的?下图为DHCP打印的部分数据,message为打印的接收的数据包:1.jpg

Labels (1)
0 Kudos
1 Reply

560 Views
jeremyzhou
NXP Employee
NXP Employee

Hi,
非常感谢使用NXP产品,很高兴为你提供技术支持!
首先,建议你直接参考恩智浦SDK软件包的Lwip例程,其次,我建议使用wireshark等抓包工具分析一下,提高锁定问题的效率。
Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos