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.

CCSv4 XDCtools build errors

I have been trying to make a CCSv4 project work with RTSC.  I have CCS Version: 4.1.0.02003 and have tried xdctools version 3_16_01_27 and xdctools_3_16_02_32.

I have tried the tutorial at http://rtsc.eclipse.org/docs-tip/Demo_of_RTSC_Project_Creation_in_CCSv4 but the program won't compile.  I have set the target device as EVMDM6437.  The following is the output from the build console. 

 

**** Build of configuration Default for project bios6_helloworld_configuration ****

C:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake -k all
'Building target: configPkg/linker.cmd'
'Invoking: XDCtools'
"C:/Program Files/Texas Instruments/xdctools_3_16_01_27/xs" --xdcpath="C:/Program Files/Texas Instruments/bios_6_21_00_13/packages";"C:/Program Files/Texas Instruments/ipc_1_00_05_60/packages";"C:/Program Files/Texas Instruments/xdais_6_25_01_08/packages";"C:/Program Files/Texas Instruments/xdais_6_25_01_08/examples"; xdc.tools.configuro -o configPkg -t ti.targets.C64P -p ti.platforms.evmDM6437 -r debug -c "C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c6000" "../common.cfg"
C:/Program Files/Texas Instruments/xdctools_3_16_01_27\packages\xdc\bld\xdc.mak:234: *** can't find TOOLS file in either C:/PROGRA~1/Texas Instruments/xdctools_3_16_01_27/etc or C:/PROGRA~1/Texas Instruments/xdctools_3_16_01_27.  Stop.
js: "C:/Program Files/Texas Instruments/xdctools_3_16_01_27/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
C:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake: *** [configPkg/linker.cmd] Error 1
C:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake: Target `all' not remade because of errors.
Build complete for project bios6_helloworld_configuration

 

I have verified that the TOOL file is prosent in the C:\Program Files\Texas Instruments\xdctools_3_16_01_27\etc.  The file contains comments but no definitions.

 

Any help would be much apprechiated.

Simon

 

 

  • Simon,

    Sorry you're having this problem. I've not been able to replicate it, but the output you gave shows that there's something weird going on. The error message names the XDCROOT directory as "C:/PROGRA~1/Texas Instruments/xdctools_3_16_01_27", but the tools should have already removed all the spaces in the directory name by this point. Internally it should have translated it into something like "C:/PROGRA~1/TEXASI~1/xdctools_3_16_01_27". For some reason it's translated only "Program Files" part, and not also the "Texas Instruments" part.

    Could you please open up a dos command window, manually execute the helper app that does this translation, and post the result?

     

    C:\>cd "C:\Program Files\Texas Instruments\xdctools_3_16_01_27\packages\xdc\services\io\release"
    C:\Program Files\Texas Instruments\xdctools_3_16_01_27\packages\xdc\services\io\release>path2dos "%CD%"
    C:\PROGRA~1\TEXASI~1\xdctools_3_16_01_27\packages\xdc\services\io\release

    Above is what's produced on my machine.  Bold stuff is for you to type, and red stuff is the expected result.

    Please bear with me, this might take a few rounds to solve.

    thanks,
    Jon

     

  • Simon,

    Actually I might have found it, there's a Windows registry setting that would break the path2dos helper app in this fashion. In addition to posting the result of the test above, can you also please open regedit, and verify that the following setting is non-zero on your machine?

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem\NtfsDisable8dot3NameCreation

    The comp.os... reference below implies that this is Vista-specific, but it's not. My XP machine has this registry entry also.

    thanks,
    Jon

    References:

     

  • John,

    Thanks for your suggestions.  I have run the test you asked, result below:

    C:\PROGRA~1\Texas Instruments\xdctools_3_16_01_27\packages\xdc\services\io\release

    I have also checked the registry and the value of HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem\NtfsDisable8dot3NameCreation is 1.  I changed it to 0 and still things didn't work, even after a reboot.  After some more reading on the web I found that the change only takes affect on new files, so I uninstalled all TI tools and reinstalled them.  I am now able to get the tutorial to work.

    The aim of this tutorial was to try and follow the instructions from your collogue, , in this post: http://e2e.ti.com/support/development_tools/f/81/t/28675.aspx  However I am still not able to get the DVSDK example projects to work in CCSv4, either by 

     

     

  • Simon,

    Thanks for the info on that problem. On your second question about using the DVSDK for 6437 in CCSv4, it'll take me another day to figure this out. Sorry, and thanks for your patience.

    By the way, which version of the DVSDK are you using?

    thanks,
    Jon 

  • Simon,

    I was able to get a DVSDK example working with CCSv4. It's probably about the same difficulty as creating a project from scratch in CCSv4. Not to overstate the case, it still took a few hours and some head-scratching. I'm not that familiar with the DVSDK so it would have either way. To keep the information on DVSDK + CCSv4 together I continued the discussion on the other thread, here.

    Jon

  • Jon,

     

    That worked well and I am now able to recreate a v3.3 project in v4.1 using your instructions. 

     

    Many thanks for your help.

     

    Simon