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.

NDK 2_1_0 that came with C6472 evm

Hi

CCSv4 cannot find the files when importing the ndk examples (i.e. client, cfgdemo, copyUDPTestee, etc). I followed the instructions on

C:\Program Files\Texas Instruments\ccsv4\emulation\boards\evmc6472\ndk_2_1_0\packages\ti\ndk\docs\evm6472\ReadMe.htm

But think I'm not doing step 5) correctly

5) For linked resources, set the path variable NDK_INSTALL_DIR in CCS to the root folder of NDK package installation, for example: <CCS_INSTALL_DIR>\ccsv4\emulation\boards\evmc6472\ndk_2_1_0

When it says "path variable", do they mean "Environment Variables" or "Macros"?

If not, how do I set the path variable?

6) All supported NSPs are by default installed with NDK package installation from release NDK v2.0 onwards. If NSP is already installed, this step can be skipped.

Copy the “ti.ndk.platforms.evm6472_2_1_0.zip” under <NDK_INSTALL_DIR>\packages directory, and unzip it. A new folder evm6472 can be seen now. Copy over the directory and contents of evm6472\ti to <NDK_INSTALL_DIR>\packages directory.

I believe I can skip this step since it seems the disk that came with the evm setup the directories.

Any ideas what I need to do to get the import to work?

Cheers
Eddie

  • Update:

    I restarted CCSv4. No change.

    I looked in the C:\Program Files\Texas Instruments\ccsv4\emulation\boards\evmc6472\ndk_2_1_0\packages\ti\ndk\example\network\cfgdemo\evm6472\.project file and saw that it is trying to get the files from the path

    <locationURI>NDK_INSTALL_DIR/packages/ti/ndk/example/tools/common/console/conping.c</locationURI>

    So I tried to define the environment variable NDK_INSTALL_DIR in Window->preferences->C/C++->Managed Build, and when I finished typing it, the link below popped up in the "Value" window:

    C:\Program Files\Texas Instruments\ccsv4\emulation\boards\evmc6472\ndk_2_1_0

    So obviously the NDK_INSTALL_DIR variable is defined.

    To check its correctness, I went to a DOS window and cd'd to the directory that I copied out of the "Value" window.

    C:\Program Files\Texas Instruments\ccsv4\emulation\boards>cd C:\Program Files\Texas Instruments\ccsv4\emulation\boards\e
    vmc6472\ndk_2_1_0

    C:\Program Files\Texas Instruments\ccsv4\emulation\boards\evmc6472\ndk_2_1_0
    >

    And that checks out OK. Any ideas what I can try next? I still cannot import and have the import tool find any of the files that are listed in the examples at

    C:\Program Files\Texas Instruments\ccsv4\emulation\boards\evmc6472\ndk_2_1_0\packages\ti\ndk\example\network

    Cheers

  • And the darn files are there! (below I cd'd to the copy pasted the NDK_INSTALL_DIR value and the .project path)

    C:\Program Files\Texas Instruments\ccsv4\emulation\boards\evmc6472\ndk_2_1_0>cd C:\Program Files\Texas Instruments\ccs
    \emulation\boards\evmc6472\ndk_2_1_0\packages\ti\ndk\example\tools\common\cgi\


    C:\Program Files\Texas Instruments\ccsv4\emulation\boards\evmc6472\ndk_2_1_0\packages\ti\ndk\example\tools\common\cgi>
    r
     Volume in drive C has no label.
     Volume Serial Number is 8892-3591

     Directory of C:\Program Files\Texas Instruments\ccsv4\emulation\boards\evmc6472\ndk_2_1_0\packages\ti\ndk\example\too
    \common\cgi

    05/28/2010  11:40 AM    <DIR>          .
    05/28/2010  11:40 AM    <DIR>          ..
    12/18/2007  07:01 AM             2,259 cgiparse.c
    12/18/2007  07:01 AM             1,053 cgiparse.h
    12/18/2007  07:01 AM             7,376 cgiparsem.c
    12/18/2007  07:01 AM             1,650 cgiparsem.h
                   4 File(s)         12,338 bytes
                   2 Dir(s)  48,617,656,320 bytes free


  • I had similar problem with the evmc6472 OOBDemo_Bios5.

    I finally find out a ReadMe.txt file in this demo directory. They explain a step I did not see in any other documentation and it did the job for me.

    <<<

    Also, the following path variable should be define in Code composer Studio v4 to point to NDK base directory.                 
    NDK_INSTALL_DIR: C:\Program Files\Texas Instruments\ccsv4\emulation\boards\evmc6472\ndk_2_1_0

    Perform the following steps to define a path variable in CCS v4:
    (1) Open menu Windows->Preferences.
    (2) Select General->Workspace->linked resource
    (3) Click "New" to add a new path variable.
    (4) Enter Name as "NDK_INSTALL_DIR" and Location as your base directory of NDK.
        ex: C:\Program Files\Texas Instruments\ccsv4\emulation\boards\evmc6472\ndk_2_1_0
    (5) User needs to restart CCS for CCS to access the newly created environment variables.

    >>>

    Hope it works for you too.

  • Hi

    Thanks for the suggestion. That solved the problem.

    So it appears the sprugT1 TMS3206472 Software Demo doc is wrong. I set it up exactly as per page sec 5 "Customizing the Demo". The way the .project is setup, it needs the linked resources path variables.

    Thanks again.


    Cheers