主题中讨论的其他器件:DP83869、 DP83826E、 TLK110
工具/软件:
我正在尝试获取 EtherNet/IP 适配器 Intercore Tunneling 工作示例。
但是、我得到以下错误:
Error: 0x000d0020, Fatal: yesPruicss max =3 selected PRU:3 PRU_PHY_detect:123 PHY0 not ok PRU_PHY_detect:131 PHY1 not ok PRU_PHY_detect:152 Phy 3 alive PRU_PHY_detect:152 Phy 15 alive PRU_PHY_detect:123 PHY0 not ok PRU_PHY_detect:131 PHY1 not ok PRU_PHY_detect:152 Phy 3 alive PRU_PHY_detect:152 Phy 15 alive PRU_PHY_detect:123 PHY0 not ok PRU_PHY_detect:131 PHY1 not ok PRU_PHY_detect:152 Phy 3 alive PRU_PHY_detect:152 Phy 15 alive PRU_PHY_detect:123 PHY0 not ok PRU_PHY_detect:131 PHY1 not ok PRU_PHY_detect:152 Phy 3 alive PRU_PHY_detect:152 Phy 15 alive PRU_PHY_detect:123 PHY0 not ok PRU_PHY_detect:131 PHY1 not ok PRU_PHY_detect:152 Phy 3 alive PRU_PHY_detect:152 Phy 15 alive PRU_PHY_detect:123 PHY0 not ok PRU_PHY_detect:131 PHY1 not ok PRU_PHY_detect:152 Phy 3 alive PRU_PHY_detect:152 Phy 15 alive PRU_PHY_detect:123 PHY0 not ok PRU_PHY_detect:131 PHY1 not ok PRU_PHY_detect:152 Phy 3 alive PRU_PHY_detect:152 Phy 15 alive PRU_PHY_detect:123 PHY0 not ok PRU_PHY_detect:131 PHY1 not ok PRU_PHY_detect:152 Phy 3 alive PRU_PHY_detect:152 Phy 15 alive PRU_PHY_detect:123 PHY0 not ok PRU_PHY_detect:131 PHY1 not ok PRU_PHY_detect:152 Phy 3 alive PRU_PHY_detect:152 Phy 15 alive PRU_PHY_detect:123 PHY0 not ok PRU_PHY_detect:131 PHY1 not ok PRU_PHY_detect:152 Phy 3 alive PRU_PHY_detect:152 Phy 15 alive PRU_PHY_setLinkConfig: 0xd0020 EC is fatal=1, SRC:PRU_PHY_setLinkConfig:1597
问题在于 CUST_PHY_BASE.c 中的定义 CUST_PHY_DP83869 未设置:
static CUST_PHY_CBextPhyLibDetect_t CUST_PHY_knownImplementation_s [] =
{
#if (defined CUST_PHY_DP83869) && (1==CUST_PHY_DP83869)
    CUST_PHY_DP83869_detect,
#endif
#if (defined CUST_PHY_DP83826) && (1==CUST_PHY_DP83826)
    CUST_PHY_DP83826E_detect,
    CUST_PHY_DP83826B_detect,
#endif
#if (defined CUST_PHY_TLK110) && (1==CUST_PHY_TLK110)
    CUST_PHY_TLK110_detect,
#endif
    NULL
};
这一定义从何而来? 我是否应该将其设置为1?
				