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.

TDA3XEVM: TDA3X/NDK/TFDTP:- TFDTP target side application always stuck in error

Part Number: TDA3XEVM

Hi i want to evaluate TFDTP protocol stack as provided as part of PROCESSOR_SDK_VISION_03_07_00_00.

For that i successfully compiled C:\PROCESSOR_SDK_VISION_03_07_00_00\ti_components\networking\nsp_gmacsw_4_16_01_01\utils\tfdtp_test .

NDK version in SDK is ndk_2_24_02_31.

Running this application on TDA3x platform always gives me following log and final error message

[Cortex_M4_IPU1_C0]
MAC Port 0 Address:
b0-7e-11-89-76-5c

MAC Port 1 Address:
b0-7e-11-89-76-5d
GMACSW has been started successfully
Registration of the GMACSW Successful
Service Status: DHCPC : Enabled : : 000
[Test server]: netOpenHookvishal!
Service Status: DHCPC : Enabled : Running : 000
TFDTP App Task has been started

Service Status: DHCPC : Enabled : Fault : 002 

Led are blinking on PHY as from logs I guesses it is something can be related that it is not getting access DHCP server.

I build complete software with static IP enabled bit SW always cause exception.

I also kept debug print in function to know IP address of target 

/* Get IP Address NDK hook function. This function is called from NDK every time IP address changes */
TFDTPApp_ndkIPAddrHookFxn
But it seems this hook function is never called.

Please let me know how I can go ahead what this error Service Status: DHCPC : Enabled : Fault : 002 means any hints regarding this will be useful.

Thanks and Regards

Vishal Singh

  • Hi Vishal,

    You have mentioned that you have built the app with static IP enabled. But from the logs it doesn't seem so, the app is in fact looking for a DHCP server to provide the IP Address. How have you connected the board to network? Is it connected to the same network your PC is connected? 

  • Hi Anand

    Sorry for confusion.

    I mean i tried first with DHCP and this are the error message I got.

    I a seperate step I also quickly tried with static IP enabled but that SW didn,t even run and giving exception in very beginning.

    So I want to know more about DHCP Sw which gives above error.

    What all settings should I check on target and host side to resolve this.

    Thanks and Regards

    Vishal Singh

  • Hi Vishal,

    When you are using Static IP, you should connect your EVM directly to the PC using ethernet cable. And your PC should have an IP Address which is on the same subnet as the static IP address which you have set in your EVM. Without this setup, static IP won't work. On the other hand, for DHCP, I would recommend to use a private DHCP server running on a linux machine preferably. Please try both ways and let me know the results.