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.

PHY chip problom.

I use C6747.CCS is 3.3.

but my PHY chip is not the one of EVM.

when I run helloworld.pjt  belonged to NDK_2_0_0,the stdout of CCS is :

EMAC OPEN Returned error 
Error: Unable to register the EMAC

I cann't find this error in the programme.

I just find it desplay this error,when programme run:  rc = NC_NetStart( hCfg, NetworkOpen, NetworkClose, NetworkIPAddr );

but this function don't have  this error desplay.

How to do?

My PHY chip is DM9161E.

 

  • Hello,

    I am nowhere near an NDK/EMAC/Ethernet expert, but I believe this error is generated in the HAL layer rather than in the core NDK stack. The purpose of the HAL is to abstract the hardware-specific code from the core stack functionality - this way you can keep the actual NDK stack as-is and only change the device driver for your particular PHY.

    This means a porting effort is required to convert the default driver from the PHY used by the EVM to the PHY used on your custom hardware. This wiki article might be of use to you.

  • Hi Tim,

    Is there any code for omapl137 for client(.out file)

    thank you