Hot!DRV_ETHPHY_RES_CPBL_ERR error

Author
Skaptor
Super Member
  • Total Posts : 220
  • Reward points : 0
  • Joined: 2012/07/25 11:18:48
  • Location: Chih, Mex. CUU
  • Status: offline
2017/12/26 20:24:58 (permalink)
0

DRV_ETHPHY_RES_CPBL_ERR error

Hi all, I'm running harmony 2.04 with an MZ with a custom board which has an NXP (yes i know i should've used another chip, NXP is crap) TJA1100 automotive ethernet transceiver. And I keep getting this error
 
DRV_ETHPHY_RES_CPBL_ERR
 
It has something to do with the MAC capabilities vs the PHY's, but I'm lost since I couldn't find this definition in any type of documentation. I hope someone can help.
 
regards.

Try adding more delay, see if it fixes it
#1

3 Replies Related Threads

    Skaptor
    Super Member
    • Total Posts : 220
    • Reward points : 0
    • Joined: 2012/07/25 11:18:48
    • Location: Chih, Mex. CUU
    • Status: offline
    Re: DRV_ETHPHY_RES_CPBL_ERR error 2017/12/27 16:56:59 (permalink)
    0
    My phy responds:
     
    0x01E1
     
    matchCpbl = (hClientObj->operReg[0] & (MAC_COMM_CPBL_MASK | _BMSTAT_AN_ABLE_MASK)) & phyCpbl; // common features
        if(!(matchCpbl & MAC_COMM_CPBL_MASK))
        { // no match?
            _DRV_PHY_SetOperDoneResult(hClientObj, DRV_ETHPHY_RES_CPBL_ERR);
            return;
        }

     
     

    Try adding more delay, see if it fixes it
    #2
    rainad
    Super Member
    • Total Posts : 929
    • Reward points : 0
    • Joined: 2009/05/01 13:39:25
    • Location: 0
    • Status: online
    Re: DRV_ETHPHY_RES_CPBL_ERR error 2017/12/30 13:52:27 (permalink)
    0
    Give it a try with a fixed known mode, like: 100 Mbps, FD (that matches your network settings though, the switch/router/etc. you insert the ETH cable into) and see if that works.
    So, disable the auto-negotiation part and all the fancy capabilities, maybe this PHY doesn't support that.
    The answer is in the PHY data sheet.
     
    #3
    Skaptor
    Super Member
    • Total Posts : 220
    • Reward points : 0
    • Joined: 2012/07/25 11:18:48
    • Location: Chih, Mex. CUU
    • Status: offline
    Re: DRV_ETHPHY_RES_CPBL_ERR error 2018/01/02 10:40:07 (permalink)
    0
    Hello rainad,
     
    It is working now, the PHY wasn't bootstrapping and I had to manually write those registers with the fixed capabilities.
     
    Thank you

    Try adding more delay, see if it fixes it
    #4
    Jump to:
    © 2018 APG vNext Trial Version 4.5