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.

EVMOMAPL138 NDK install

Other Parts Discussed in Thread: SYSBIOS, OMAPL138

How do you install the NDK and NSP software on Code Composer?

I am trying to run the examples for the NSP package nsp_1_00_00_09. I have installed the latest Code composer, and downloaded ndk_02_20_03_04 and followed the instructions for importing the example projects. It will not compile. It cannot find the header files, or the xdc tools fails looking for a package along the path "D:\".  The .cfg file compile fails at this line: 

var Bios = xdc.useModule('ti.sysbios.BIOS');

Severity and Description    Path    Resource    Location    Creation Time    Id
xdc.PACKAGE_NOT_FOUND: can't locate the package 'ti.sysbios' along the path: '/packages;/packages;D:/Project/NetworkExamples/ndk_evm6748_bios6_helloWorld/.config/;E:\Texas Instruments\xdctools_3_20_08_88\packages;'. Ensure that the package path is set correctly.    ndk_evm6748_bios6_helloWorld    helloWorld.cfg    Configuration Validation    1302008958890    23

All the tools are installed on E:. I am using the OMAPL138 evm board with the C6748 SOM installed.

The properties dialog for the helloWorld project has a reference to "NDK_INSTALL_DIR" and "NSP_INSTALL_DIR".  I don't see where these are set.  The instructions said to set environment variables for these if you are using bios5, but I am using bios6.  I think something is set up wrong or missing.

Thanks in advance.



  • Mary,

    It sounds like CCS has not registered your NDK and NSP installations.

    Where did you extract the NDK and NSP tar files?  Did you extract them into "C:\Program Files\Texas Instruments"?  Or at a different location? (CCS automatically checks this directory for new products and then registers them)

    Can you right click on your project within CCS and select Build properties?  Then click the "CCS Build" and then "RTSC" tab, as shown in the below screen shot?  Do you see NDK and NSP under "products and repositories" as shown below?

    If you don't see that, then this means they are not registered, and perhaps you have installed/extracted them into a different location.  If so, then you can point CCS to the directory where you installed/extracted the NDK and NSP.

    You can do this by opening the CCS preferences (select Window -> preferences...).  Then you can add a "tools discovery path" under "CCS ->RTSC->Products".  You should click "Add..." then point to where you installed/extracted the NDK and NSP.  Here's a screenshot to help:

    Steve

  • Thanks for your response.  I wish your instructions had been included in the release notes.  My tools are all installed under E:\Texas Instruments.  The instructions said to extract the files to <install directory>nsp_xx_xx_xx which would be E:\Texas Instruments\nsp_xx_xx_xx.  My mistake was to "extract to" E:\Texas Instruments\nsp_xx_xx_xx which created another directory underneath i.e. E:\Texas Instrruments\nsp_xx_xx_xx\nsp_xx_xx_xx.  I figured out to "extract to" E:\Texas Instruments and CCS discovered the tools and all was well.  I have since switched to using BIOS 5.x in order to use the psp drivers.