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.

CCS/OMAP-L138: Issue with ndk file missing during compile

Part Number: OMAP-L138
Other Parts Discussed in Thread: OMAPL138

Tool/software: Code Composer Studio

Hi

I have created a project with SYN/BIOS and the the NDK core stack.. When I complie I have the following single error...

#10010 errors encountered during linking; "arundemo.out" not built
<a href="processors.wiki.ti.com/.../10234"> unresolved symbols remain
gmake: *** [all] Error 2
gmake[1]: *** [arundemo.out] Error 1
unresolved symbol NIMUDeviceTable, first referenced in C:\ti\sdk\ndk_3_61_01_01\packages\ti\ndk\stack\lib\stk6_nat_ppp_pppoe.ae9<nimu.oe9>

Any Ideas appreciated,

Many thanks

Andrew

  • Hi Andrew,

    Did you click on that hyperlink in the error message?

    https://processors.wiki.ti.com/index.php/Compiler/diagnostic_messages/10234

    It explains what happened and how to resolve the issue.

    In your specific case, you need to make sure you link in the library or object file that defines "NIMUDeviceTable".

    Thanks

    ki

  • Hi Ki

    Many thanks for getting back to me on this.

    I have taken a good look around and can confirm that the stk6_nat_ppp_pppoe.ae9 file exists in the correct location. From what I have read the latest SDK installation should have the EMAC driver as well. so I am a little confused as I would expect that the NIMUDeviceTable was already defined in the NDK core stack...

    Would i be correct in thinking this or is it a oversight in the SDK?

    Best Regards

    Andrew

  • Mr A N Steward said:
    I have taken a good look around and can confirm that the stk6_nat_ppp_pppoe.ae9 file exists in the correct location

    The issue is not the stk6_nat_ppp_pppoe.ae9 file. The issue is that file is looking for the definition of NIMUDeviceTable. Where is that symbol defined? 

  • Hi

    Again many thanks for getting back to me on this.

    I have figured out that there was no emac driver in the design so I have gone to the NDK core stack/general settings and selected the EVMOMAPL138 device.  However, I now compile and get a new bunch of errors :-

    Description Resource Path Location Type
    could not find EVMOMAPL138 Ethernet driver. .xdchelp /arundemo line 172 C/C++ Problem
    Error: could not find EVMOMAPL138 Ethernet driver. app.cfg /arundemo Configuration Validation XDCTools Configuration Marker
    gmake: *** [build-1034013713] Error 2 arundemo C/C++ Problem
    gmake: Target 'all' not remade because of errors. arundemo C/C++ Problem
    gmake[1]: *** [build-1034013713-inproc] Error 1 arundemo C/C++ Problem
    xdctools_3_60_02_34_core\gmake.exe: *** [package/cfg/app_pe9.xdl] Deleting file 'package/cfg/app_pe9.c' arundemo C/C++ Problem
    xdctools_3_60_02_34_core\gmake.exe: *** [package/cfg/app_pe9.xdl] Deleting file 'package/cfg/app_pe9.h' arundemo C/C++ Problem

    So would I be correct in assuming that the OMAPL138 EMAC driver is not included in the NDK?  If not where could I find a copy?

    Many thanks in advance

    Andrew 

  • Mr A N Steward said:
    So would I be correct in assuming that the OMAPL138 EMAC driver is not included in the NDK?  If not where could I find a copy?

    This is a question best answered by the device experts. I will move this post to the device forum.

    Thanks

    ki

  • Hi Andrew,

    The EMAC driver is located in the PDK under ~\pdk_omapl138_1_0_10\packages\ti\drv\emac\

    EMAC documentation can be found here: http://software-dl.ti.com/processor-sdk-rtos/esd/docs/latest/rtos/index_device_drv.html#emac and in ~\pdk_omapl138_1_0_10\packages\ti\drv\emac\docs

    If you are looking for EMAC example projects, they can be created by following the steps here: http://software-dl.ti.com/processor-sdk-rtos/esd/docs/latest/rtos/index_overview.html#pdk-example-and-test-project-creation

    For example, to create the EMAC projects for the dsp core:

    cd pdk/packages
    pdksetupenv.bat
    pdkProjectCreate.bat OMAPL138 all little emac all dsp

    Regards,
    Sahin

  • Hi Sahin

    Many thanks for your email. I have taken a look at the PDK examples for a couple of days now together with the NDK core documentation and cannot any find reference on how to add the emac driver into the bottom end of the NDK core stack. The NIMU_emac examples appear to be self contained and do not use the NDK_core_stack, consequently appearing  as none relevant to a new Ti tools user...

    Is there any examples available that demonstrate the NDK_core_stack working on a LCDKOMAPl138 target board?  Interestingly I have tried to specify the EMAC device selection as EVMOPAML138 and this fails to compile which is a bit odd form a fresh install of SDK tool set..

    Any help would be greatly appreciated..

    Andrew

  • Hi Andrew,

    It sounds like you are creating the project from scratch and adding drivers one by one. This will result in build errors until all required paths, libraries, etc are added to the project. Due to this, we recommend starting with a working example.

    The NIMU_Emac example project includes NDK, NIMU, and EMAC. Have you tried building and running this project? 

    Regards,
    Sahin