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.

RTOS: TDA2xx Can't Set eth1 IP adress of ndk_nsp_hook.c

Tool/software: TI-RTOS

I  want to set IP adress of 2 ports of TDA2xx , My process is as follows

(1)Set  enableStaticIpEth0 and enableStaticIpEth1 value = 1 in NDK_config.cfg

(2)Set  eth0 IP adress  in NDK_config.cfg                                                                              

(3)Set  eth1 IP adress of function named stackInitHookStaticEth1 in  ndk_nsp_hooks.c 

(4) compiler and update AppImage

the result of (2) is work, and it can be shown on the serial console  output, but (3)'s IP show "0.0.0.0",  how to resolve this problem? thanks~

  • Hi,

    from VisionSDK_FAQs.pdf:

    Q. How to enable DUAL MAC in NSP/Vision SDK
    Follow below 2 steps:
    1. Rebuild NSP package with DUAL MAC feature enabled
    Refer ti_components\networking\nsp_gmacsw_4_16_00_00\docs\ nsp_gmacsw_4_16_00_00_user_guide.html for rebuilding NSP package with Dual MAC feature enabled
    2. Apply BSP patch & Rebuild Vision SDK
    Apply BSP patch shared in vision_sdk\docs\Patches (0001-PAD-Mux-changes-to-enable-Dual-MAC.patch) to ti_components\drivers\pdk\packages\ti\drv\vps repository & Follow User Guide to rebuild Vision SDK

    Can you try to enable Dual MAC and see if it works?

    Regards,

    Yordan