This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PROCESSOR-SDK-AM64X: setLinkConfig Function not registered for an particular Phy

Part Number: PROCESSOR-SDK-AM64X
Other Parts Discussed in Thread: DP83869, DP83826E, TLK110

Tool/software:

I am trying to get the EtherNet/IP Adapter Intercore Tunneling example to work.

However, I get this error:

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

The problem is that in CUST_PHY_base.c the define CUST_PHY_DP83869 is not set:

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
};

Where does this define come from? Should I just set it to 1?