你的浏览器版本过低,可能导致网站不能正常访问!
为了你能正常使用网站功能,请使用这些浏览器。

stm32H750B-DK demo板调试LAN8740无法ping通

[复制链接]
cpt121 提问时间:2019-12-18 15:55 /
最近在调试STM32750的lwip用cubeMX生成的工程。 但是一直ping不通,下图是板子运行的LOG。[15:54:24.555]收←◆sct calling h=cyclic_timer arg=080105e4
tcpip: ip_reass_tmr()
sys_timeout: 24001014 msecs=1000 handler=cyclic_timer arg=080105e4
sct calling h=cyclic_timer arg=080105fc
tcpip: dns_tmr()
dns_tmr: dns_check_entries
sys_timeout: 24000fec msecs=1000 handler=cyclic_timer arg=080105fc
sct calling h=cyclic_timer arg=080105f0
tcpip: etharp_tmr()
etharp_timer
sys_timeout: 24001000 msecs=1000 handler=cyclic_timer arg=080105f0
LWIP
dns_init: initializing
sys_timeout: 24001014 msecs=1000 handler=cyclic_timer arg=080105e4
sys_timeout: 24001000 msecs=1000 handler=cyclic_timer arg=080105f0
sys_timeout: 24000fec msecs=1000 handler=cyclic_timer arg=080105fc
netif: netmask of interface \0\0 set to 255.255.255.0
netif: GW address of interface \0\0 set to 192.168.1.1
netif_set_ipaddr: netif address being changed
netif: IP address of interface \0\0 set to 192.168.1.35

[15:54:26.596]收←◆etharp_request: sending ARP request.
pbuf_alloc(length=28)
pbuf_alloc(length=28) == 30044008
etharp_raw: sending raw ARP packet.
pbuf_header: old 30044028 new 3004401a (14)
ethernet_output: sending packet 30044008
pbuf_free(30044008)
pbuf_free: deallocating 30044008
netif: added interface st IP addr 192.168.1.35 netmask 255.255.255.0 gw 192.168.1.1
netif: setting default interface st
sct calling h=cyclic_timer arg=080105e4
tcpip: ip_reass_tmr()
sys_timeout: 24001014 msecs=1000 handler=cyclic_timer arg=080105e4
sct calling h=cyclic_timer arg=080105f0
tcpip: etharp_tmr()
etharp_timer
sys_timeout: 24001000 msecs=1000 handler=cyclic_timer arg=080105f0
sct calling h=cyclic_timer arg=080105fc
tcpip: dns_tmr()
dns_tmr: dns_check_entries
sys_timeout: 24000fec msecs=1000 handler=cyclic_timer arg=080105fc

[15:54:27.664]收←◆sct calling h=cyclic_timer arg=080105fc
tcpip: dns_tmr()
dns_tmr: dns_check_entries
sys_timeout: 24000fec msecs=1000 handler=cyclic_timer arg=080105fc
sct calling h=cyclic_timer arg=080105e4
tcpip: ip_reass_tmr()
sys_timeout: 24001014 msecs=1000 handler=cyclic_timer arg=080105e4

收藏 评论3 发布时间:2019-12-18 15:55

举报

3个回答
天臆弄人 回答时间:2020-1-9 08:26:22
看不懂,你贴代码我就懂了
butterflyspring 回答时间:2020-1-19 22:06:35
刚好遇到了一位大神,用过这板子,下面是他的建议,希望对你有帮助:Ping 不通有很多原因。建议参考CUBE库中NUCLEO-H743ZI的LWIP例子,检查以太网的初始化是否有问题。
另外H750的内核CM7带有cache,所以应该用MPU将DMA descriptor和发送buffer的地址区配置成Non Cacheable,同样可以参考NUCLEO-H743ZI的LWIP例子。
最后一个容易忽略的简单错误,如果是直连的话,配置IP地址时,电脑应该和stm32H750B-DK demo板在一个子网内。如果用了HDCP,就不要给板子配置固定的IP,HDCP服务器会自动分配。
aiherong 回答时间:2020-1-21 06:00:52
LWIP占用资源应该算是很少了,若直接联网电脑形成对等网,需是交叉连接型网线

所属标签

相似问题

关于意法半导体
我们是谁
投资者关系
意法半导体可持续发展举措
创新和工艺
招聘信息
联系我们
联系ST分支机构
寻找销售人员和分销渠道
社区
媒体中心
活动与培训
隐私策略
隐私策略
Cookies管理
行使您的权利
关注我们
st-img 微信公众号
st-img 手机版