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.

C6474 EMAC DHCP fault

Hi all,

I am having Spectrum Digital's C6474 EVM (REV D).

and I am using the NDK 2.0.0.2.

Example HelloWorld program was running fine.

But after integrating the same program to my application, it is giving fault : 002.

and My application runs in DDR2 so, i enabled EXTERNEL_MEMORY in ethdriver. 

When I load and run the application, I get the following output:

TCP/IP Stack 'Hello World!' Application

Core Number on which NDK is running = 0
Since EFUSE MAC address is Zero we use the MAC Address = 00-01-02-03-04-05
Only on CORE 0: SGMII reset successful........
Only on CORE 0: SGMII config successful........
Only on CORE 0: SerDes should be up and running
EMAC has been started successfully
Registeration of the EMAC Successful
DHCPOpen(): Warning: HOSTNAME for DHCP client may be invalid!
Service Status: DHCPC    : Enabled  :          : 000
Service Status: DHCPC    : Enabled  : Running  : 000
BuildDiscover
dhcpBuildHeader: Start
PacketReceive
GetMessageType
BuildDiscover
dhcpBuildHeader: Start
PacketReceive
GetMessageType
BuildDiscover
dhcpBuildHeader: Start
PacketReceive
Link Status: 100Mb/s Full Duplex on PHY 1
GetMessageType
BuildDiscover
dhcpBuildHeader: Start
PacketReceive
GetMessageType
BuildDiscover
dhcpBuildHeader: Start
PacketReceive
GetMessageType
BuildDiscover
dhcpBuildHeader: Start
PacketReceive
GetMessageType
BuildDiscover
dhcpBuildHeader: Start
PacketReceive
GetMessageType
BuildDiscover
dhcpBuildHeader: Start
PacketReceive
GetMessageType
BuildDiscover
dhcpBuildHeader: Start
PacketReceive
GetMessageType
BuildDiscover
dhcpBuildHeader: Start
PacketReceive
GetMessageType
BuildDiscover
dhcpBuildHeader: Start
PacketReceive
GetMessageType
BuildDiscover
dhcpBuildHeader: Start
PacketReceive
GetMessageType
BuildDiscover
dhcpBuildHeader: Start
PacketReceive
GetMessageType
BuildDiscover
dhcpBuildHeader: Start
PacketReceive
GetMessageType
BuildDiscover
dhcpBuildHeader: Start
PacketReceive
GetMessageType
BuildDiscover
dhcpBuildHeader: Start
PacketReceive
GetMessageType
BuildDiscover
dhcpBuildHeader: Start
PacketReceive
GetMessageType
BuildDiscover
dhcpBuildHeader: Start
PacketReceive
GetMessageType
BuildDiscover
dhcpBuildHeader: Start
PacketReceive
GetMessageType
BuildDiscover
dhcpBuildHeader: Start
PacketReceive
GetMessageType
BuildDiscover
dhcpBuildHeader: Start
PacketReceive
GetMessageType
BuildDiscover
dhcpBuildHeader: Start
PacketReceive
GetMessageType
BuildDiscover
dhcpBuildHeader: Start
PacketReceive
GetMessageType
BuildDiscover
dhcpBuildHeader: Start
PacketReceive
GetMessageType
BuildDiscover
dhcpBuildHeader: Start
PacketReceive
GetMessageType
BuildDiscover
dhcpBuildHeader: Start
PacketReceive
GetMessageType
BuildDiscover
dhcpBuildHeader: Start
PacketReceive
GetMessageType
BuildDiscover
dhcpBuildHeader: Start
PacketReceive
GetMessageType
BuildDiscover
dhcpBuildHeader: Start
PacketReceive
GetMessageType
BuildDiscover
dhcpBuildHeader: Start
PacketReceive
GetMessageType
BuildDiscover
dhcpBuildHeader: Start
PacketReceive
GetMessageType
BuildDiscover
dhcpBuildHeader: Start
PacketReceive
GetMessageType
BuildDiscover
dhcpBuildHeader: Start
PacketReceive
GetMessageType
BuildDiscover
dhcpBuildHeader: Start
PacketReceive
GetMessageType
BuildDiscover
dhcpBuildHeader: Start
PacketReceive
GetMessageType
BuildDiscover
dhcpBuildHeader: Start
PacketReceive
GetMessageType
Service Status: DHCPC    : Enabled  : Fault    : 002

Have I missed any thing?

Your help is highly appreciated.

 

Thanks,

Bala

  • Hi Bala,

    I think you probably already went through the following thread and added all the necessary source files to your project.

    http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/439/p/55630/197390.aspx?PageIndex=1

     

    If so, you can try the modification in the following thread. There is one bug in the NDK 2.0 to prevent it to properly recognize 10/100Mbps connections.

    http://e2e.ti.com/support/embedded/f/355/p/57649/205966.aspx

     

    Please let us know if it can solve your problem. Thanks.

     

    Sincerely,

    Steven

     

  • Hi Steven,

    Im using MCSDK 1.0 which contains the NDK 2.20.02.22 on an EVM c6474 Board.

    Has the fix for not recognizing 10/100 Mbps connections solved in this latest release of NDK. Please let me know.


    Santosh

  • Hi Santosh,

    Sorry for that I am not an expert of NDK. I looked at the source code of NDK 2.20.02.22. It seems like the structure is different from the previous version and I can not identify if the fix for DM648 is applied for C6474.

    Since you have another thread about the NDK, I think we can continue addressing the issues there and the NDK experts may give you some help. Thanks.

     

    Sincerely,

    Steven