zynq调试网口所遇到的问题记录

zynq调试网口所遇到的问题记录

AMENG
2023-07-19 / 0 评论 / 12 阅读 / 正在检测是否收录...
温馨提示:
本文最后更新于2023年07月19日,已超过283天没有更新,若内容或图片失效,请留言反馈。

1、显示连接正常,出了IP和端口,但tcp client连不上。

-----lwIP TCP echo server ------
TCP packets sent to port 6001 will be echoed back
link speed for phy address 0: 1000
DHCP Timeout
Configuring default IP of 192.168.1.10
Board IP: 192.168.1.10
Netmask : 255.255.255.0
Gateway : 192.168.1.1
TCP echo server started @ port 7

解决方法:bank电压设置不对,电压要设置为1.8V

2、网络速率协商失败。

Start PHY autonegotiation 
Waiting for PHY to complete autonegotiation.
autonegotiation complete 
Phy setup error 
Assert due to phy setup failure

解决方法:手动设置速率

3、网络一直循环连接和断开

Link speed for phy address 0: 1000
Ethernet Link up
Ethernet Link down
Link speed for phy address 0: 1000
Ethernet Link up
Ethernet Link down

解决方法:此为自带demo的bug,屏蔽掉platform_zynq.c以下代码。

/* For detecting Ethernet phy link status periodically */
//if (DetectEthLinkStatus == ETH_LINK_DETECT_INTERVAL) {
//eth_link_detect(echo_netif);
//DetectEthLinkStatus = 0;
//}


0

评论 (0)

取消