工程:sdk自带LwIP UDP Pref Server例程

ZYNQ SDK跑lwip协议栈,xemac_add()函数无法退出

环境:vivado2019.1

现象:

测试demo,标准输入输出口打印信息如下:


-----lwIP RAW Mode UDP Server Application-----
WARNING: Not a Marvell or TI or Realtek Ethernet PHY. Please verify the initialization sequence
Start PHY autonegotiation 
Waiting for PHY to complete autonegotiation.
autonegotiation complete 
link speed for phy address 3: 0
 

调试过程发现xemac_add()无返回值

找到资料:

lwip中如何用xemac_add ()正确地初始化网口?

原因:板卡接到百兆路由,时钟无法自动适配。

解决办法:

设置BSP中lwip中phy_link_speed参数,默认为自动适配更改为100Mbps

ZYNQ SDK跑lwip协议栈,xemac_add()函数无法退出

 

相关文章:

  • 2022-12-23
  • 2021-07-02
  • 2021-11-13
  • 2021-10-19
  • 2021-08-15
  • 2021-11-27
  • 2021-11-16
  • 2021-08-16
猜你喜欢
  • 2021-09-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-22
  • 2021-07-29
  • 2022-12-23
相关资源
相似解决方案