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 v.4 and NDK 2.0.0

Other Parts Discussed in Thread: TMS320C6455, CCSTUDIO

Hello

 

I'm working with a TMS320C6455 DSK and CCS v4.2.3. I want to develop a net application and I've installed NDK 2.0.0 but I have some problems when importing 'helloworld.pjt".

 

Could you help me, please?

Best regards.

Manuel Fernández Ros

  • Hello, more information:

    I've installed CCS v3.3.38 and the problen is the same:

    js: "C:/CCStudio_v3.3/bios_5_31_02/xdctools/include/utils.tci", line 484: exception from uncaught JavaScript throw: Error: Can't find import file: 'helloWorld.tci' (not found along 'C:\CCStudio_v3.3\ndk_2_0_0\packages\ti\ndk\example\network\helloWorld\dsk6455/;/packages/ti/ndk/inc/tci;/packages/ti/ndk/example/network/helloWorld/common;C:/CCStudio_v3.3/bios_5_31_02/packages;C:\CCStudio_v3.3\bios_5_31_02\xdctools/include;C:\CCStudio_v3.3\bios_5_31_02\xdctools/packages')
        "./dsk6455.tcf", line 13

    How can I get that file and next?

    Regards.

    Manuel Fernández Ros

  • Manuel,

    Could you check the page below? It was created using NDK 2.0.0 as an example for the project import tool of CCSv4.x:

    http://processors.wiki.ti.com/index.php/Importing_CCSv3_Projects_into_CCSv4

    Apart from the details above, be sure to also have the appropriate dependencies configured and installed in your system. Check the NDK release notes for this, typically installed at:

    <NDK_INSTALL_DIR>\packages\ti\ndk\docs\dsk6455\ReadMe.htm

    Hope this helps,

    Rafael

  • Hello Rafael,

     

    thank you for your quick response. I know the wiki and the ReadMe.htm file. I follow all the steps but CCS don't find 'helloWorld.tci' and others. See the message in the post above.

    One thing: My CCS v.4 is installed on this path (I use W7 64 bits): C:\Archivos de programa (x86)\Texas Instruments\ccsv4,   Must I install NDK in this path?, beacuse now it installed on C:\CCS v3.3\ndk_2_0_0 ........., do you know if it is the problem?

    Could you help me, please?

    Regards

    Manuel

  • Manuel,

    Looking at the error message you sent, the environment variable NDK_INSTALL_DIR is missing (required by NDK as stated in the release notes I mentioned before). You must set this variable in Windows to build the project correctly.

    Opening the helloWorld TConf Script Compiler options, you can see it points to several import paths that depend on this environment variable: the helloWorld.tci file is located in the third path shown in the box Configuration import path.

    Hope this helps,

    Rafael

     

  • Hello Rapahel,

     

    I'm sorry for my inability, but now it doesn't find 'ndk.tci' , Do I need to add other environment variable? Why doesn't work the second path shown in the box Configuration import path.

     

    js: "C:/Program Files (x86)/Texas Instruments/xdctools_3_16_02_32/include/utils.tci", line 553: Error: Can't find import file: 'ndk.tci' (not found along 'C:\CCStudio_v3.3\ndk_2_0_0\packages\ti\ndk\example\network\helloWorld\common/;C:/Program Files (x86)/Texas Instruments/bios_5_41_10_36/packages;C:/CCStudio_v3.3/ndk_2_0_0/packages/ti/ndk/inc/tci;C:/CCStudio_v3.3/ndk_2_0_0/packages/ti/ndk/example/network/helloWorld/common;;C:\Program Files (x86)\Texas Instruments\xdctools_3_16_02_32/include;C:\Program Files (x86)\Texas Instruments\xdctools_3_16_02_32/packages')

    Regards.

    Manuel

  • Hello Rafael

    I think this is the error, in the image: NDK_INSTALL_DIR/packages/ti/ndk/inc/tci, but the correct path is: C:/CCStudio_v3.3/ndk_2_0_0/packages/ti/ndk/PACKAGE/inc/tci.

     

    Regards.

    Manuel

  • Manuel,

    Interesting, as my ndk.tci file is located in C:\CCStudio_v3.3\ndk_2_0_0\packages\ti\ndk\inc\tci, and my NDK_INSTALL_PATH is set to C:\CCStudio_v3.3\ndk_2_0_0

    In any case, I noticed something else when I was working with the import tool: make sure the environment variable is set before you import the project, as some linked references that depend on it may be broken when the project is imported. At least that happened to me.

    In any case, I hope you are able to successfully build the project.

    Regards,

    Rafael

  •  

    Hello Rafael,

    now I build the project correctly. I hope I have the solution, but I've installed NDK via 'setupwin32_ndk-2_0_0_source.exe' in two different paths. In one case appears /package/ in the other NOT. I don't understand why but I don't want to make more questions.

    Regards.

    Manuel

     

  • Hello Rafael,

     

    I'm here again.

    I'm learning net tasks with spraax4 labs, but I have some problems:

    -In Lab 1, building the project, there are a lot of warnings like: 'function declared implicitly    client    condns.c    line 263    1321787148659    295'
    -In Lab 1, I send music from PC to DSK6455 board (via LINE IN) and I should hear music on my headphones (via HEADPHONE out) but I don't. LEDs D9 and D10 are blinking and there is a message on the console with some parameters like IP address. I make ping to that address and board responses correctly. Do you know why I don't hear the music?

    -In Lab 2, building the project, the migration.log file has these two lines:

     

    !WARNING: Reference to the legacy 'Install_dir' macro detected.  This reference has been replaced with new, yet undefined, macro 'CCSv3_INSTALL_ROOT'.  No local CCSv3.x installation has been found - please define the 'CCSv3_INSTALL_ROOT' macro manually after migration completes (Window > Preferences > C/C++ > Managed Build > Macros).  It is recommended, however, that you do not reference any resources from the legacy CCSv3.x installation - consider copying these resources into a product-independent location, and referencing them using a new user-defined macro.

    !WARNING: Reference to the legacy 'Install_dir' macro detected in a linked-resource path (file 'dsk6455bsl.lib').  This reference has been replaced with new, yet undefined, linked-resource variable 'CCSv3_INSTALL_ROOT'.  No local CCSv3.x installation has been found - please define the 'CCSv3_INSTALL_ROOT' linked-resource variable manually after migration completes (Window > Preferences > General > Workspace > Linked Resources).  It is recommended, however, that you do not link any resources from the legacy CCSv3.x installation - consider copying these resources into a product-independent location, and linking them into your project using a new variable.

    I don't understand them well. In the images you can see the contents.

     

    Could you help me, please?

    Best regards.

    Manuel Fernández Ros