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.

Trying to add ethernet support to simple project - getting linker error.

Trying to build simple project to run on evm6457l.

Using SYS/BIOS 6_32_05_54, NDK 2_20_02_22

This is the linker error I am getting:

undefined                   first referenced

symbol                      in file

--------- ----------------

_NIMUDeviceTable C:\CCS_51\ndk_2_20_02_22\packages\ti\ndk\lib\C64plus\stack.lib<nimu.o64P>

Thank you for help.

  • NDK questions may be answered on the BIOS forum under Embedded Software. This thread will be moved there for you.

    My recommendation would be to start from a working NDK example project and then add your new project features to that. I always start out the same way you did, and many times it is easy to pull another project into the new project. But when it does not work, the easiest solution is to copy the NDK project, verify it still works in the copied version, and then start adding to it.

    Regards,
    RandyP

     

    If you need more help, please reply back. If this answers the question, please click  Verify Answer  , below.

  • RandyP,

    Thank you for your help.  I imported one of the example projects and built it with no problems.  After studying the example project, and some trial and error, I was able to get my original project to build.  My original project is a SYS/BIOS project in CCS version 5.1.0.09000 using the RTSCs for the NDK Core Stack.  To link successfully I had to have these libraries listed in the "Include Library File as Input" of the File Search Path propertiy of the project:

    "libc.a"

     

    "C:\CCS_51\mcsdk_1_00_00_08\packages\ti\platform\nimu\lib\nimu_eth.lib"

     

    "C:\CCS_51\pdk_c64x_1_00_00_06\packages\ti\drv\emac\lib\emac_drv_c6457.lib"

     

    "C:\CCS_51\mcsdk_1_00_00_08\packages\ti\platform\lib\platform_utils_evm6457l.lib"

     

    "C:\CCS_51\pdk_c64x_1_00_00_06\packages\ti\csl\c6457\csl_c6457\lib\csl_c6457.lib"

    I have not yet been able to run the example project or my original project as I do not have access to hardware at this time.

    Regards,

    Brian

  • I was typing a response when you posted this last update, glad you figured it out.  I just wanted to point out that if you have a single EVM, you can run the loopback tests at:

     

    C:\Program Files\Texas Instruments\pdk_c64x_1_00_00_06\packages\ti\drv\emac\test\loopback

     

    Regards,

    Travis