Part Number:AM6442Other Parts Discussed in Thread:TMDS64EVM
运行评估板配套的sdk程序,ethercat_slave_simple_demo_am64x-evm_r5fss0-0_freertos_ti-arm-clang,SDK版本号为ind_comms_sdk_am64x_09_00_00_03,运行起来之后程序提示找不到PHY,这个要怎么搞,该不会板子有问题吧,今天刚收到的货,我让程序中打印进入函数时的phyid,一直都是读取到的0
Phy Reset: 1.35 Phy Reset: 0.17 Phy UnReset: 1.35 Phy UnReset: 0.17 Configure Phy bits: PhyAddr:5, LinPol:HIGH, PhyAddr:3, LinPol:LOW, (0x8) phy_id:0 PRU_PHY_detect:156 PHY0 not ok phy_id:0 PRU_PHY_detect:164 PHY1 not ok phy_id:0 PRU_PHY_detect:156 PHY0 not ok phy_id:0 PRU_PHY_detect:164 PHY1 not ok phy_id:0 PRU_PHY_detect:156 PHY0 not ok phy_id:0 PRU_PHY_detect:164 PHY1 not ok phy_id:0 PRU_PHY_detect:156 PHY0 not ok phy_id:0 PRU_PHY_detect:164 PHY1 not ok phy_id:0 PRU_PHY_detect:156 PHY0 not ok phy_id:0 PRU_PHY_detect:164 PHY1 not ok phy_id:0 PRU_PHY_detect:156 PHY0 not ok phy_id:0 PRU_PHY_detect:164 PHY1 not ok phy_id:0 PRU_PHY_detect:156 PHY0 not ok phy_id:0 PRU_PHY_detect:164 PHY1 not ok phy_id:0 PRU_PHY_detect:156 PHY0 not ok phy_id:0 PRU_PHY_detect:164 PHY1 not ok phy_id:0 PRU_PHY_detect:156 PHY0 not ok phy_id:0 PRU_PHY_detect:164 PHY1 not ok phy_id:0 PRU_PHY_detect:156 PHY0 not ok phy_id:0 PRU_PHY_detect:164 PHY1 not ok No PHYs found !!! PRU_MDIO_initPhy: 0x120003 EC is fatal=1, SRC:PRU_MDIO_initPhy:339
Gary Lu:
看了您提供的日志,看样子PHY的复位操作是正常的
确保PHY地址配置正确、查看一下PRU_MDIO_initPhy的实现
,
yy z:
问题找到了,phy地址没错,之前用了其他的厂家的板子,他们phy复位的io口和tmds64evm的不一样,我今天删了整个sdk文件重新安装,导入ccs后正常了,对比之后才想起来改了这个没改回去,现在正常了