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.

Fail to open .TCF file with configuration tools and complie error

Other Parts Discussed in Thread: CCSTUDIO

Hi,

I use CCS v4.2 and copy multiple projects (dependent to each other) from my colleague's computer.

He use Winxp system, I use Win 7. That is the only difference.

However, with same setting and configuration, I found I can not open .TCF file with DSP/BIOS configuration tools.

It always show

 js: "C:/CCStudio_v3.3/bios_5_33_05/xdctools/include/utils.tci", line 827: exception from uncaught JavaScript throw: Error: Can't find Platform.tc[ip] file for 'ti.platforms.evm6748'    "./C6748_128M_RAM.TCF", line 1
    "./<stdin>", line 4


Correct any script errors in C:/Dan/MODEME/Subsea/CCS_4_Projects/Testbed/.gconf/Testbed/C6748_128M_RAM.TCF
using the Configuration Tool or a text editor, if necessary.


TConf initialization arguments:
-e environment['config.importPath']='C:/Dan/MODEME/Subsea/CCS_4_Projects/Testbed;C:/CCStudio_v4.2/bios_5_41_07_24/packages;C:/CCStudio_v4.2/bios_5_41_07_24/packages;' -e environment['config.scriptName']='C6748_128M_RAM.tcf'

I asked this question before, got no answer. However, I let it go since I can still open the .TCF file with System Editor.

Now, I found if I make any changed to the .TCF file with system editor and save it. I fail to compile the project.

The error message is as follow.

#10010: errors encountered during linking; "Testbed.out" not built
CACHE_L1D memory range has already been specified
CACHE_L1D memory range overlaps existing memory range CACHE_L1D 
CACHE_L1P memory range has already been specified  
CACHE_L1P memory range overlaps existing memory range CACHE_L1P 
CACHE_L2 memory range has already been specified  
CACHE_L2 memory range overlaps existing memory range CACHE_L2  
DDR memory range has already been specified  
DDR memory range overlaps existing memory range DDR
IRAM memory range has already been specified  
IRAM memory range overlaps existing memory range IRAM
L3_CBA_RAM memory range has already been specified 
L3_CBA_RAM memory range overlaps existing memory range L3_CBA_RAM

My colleague has no such problem. Please help me solve this problem. It is really important. Otherwise, I can not do my job.

  • Lu Dong said:

     js: "C:/CCStudio_v3.3/bios_5_33_05/xdctools/include/utils.tci", line 827: exception from uncaught JavaScript throw: Error: Can't find Platform.tc[ip] file for 'ti.platforms.evm6748'    "./C6748_128M_RAM.TCF", line 1
        "./<stdin>", line 4



    For some reason, CCS seems to be looking in your CCS3.3/BIOS 5.3x path for the platform file. In BIOS 5.4x, the platform definitions are all contained within the xdctools folder, which is your case is likely xdctools_3_20_03_63 (or some version close to it).

    Check the following settings in your CCS Project Build Properties:

    1) Under CCS Buid, General tab, check that the DSP/BIOS version selected there matches with what you have installed
    2) Under C/C++ Build, Macros tab, check that BIOS_CG_ROOT points to the root folder of that same version of BIOS and XDC_CG_ROOT points to the version of xdctools that you have installed.

    If the paths are all set up correctly, the .tcf build should display something like this in the build console:

    'Invoking: TConf Script Compiler'
    "C:/CCStudio_v4.2.0.10018/xdctools_3_20_03_63/tconf" -b -Dconfig.importPath="C:/CCStudio_v4.2.0.10018/bios_5_41_07_24/packages;" "../bigtime.tcf"

  • Hi, Aarti,

    Thank you for the reply.

    I checked those path macros, BIOS_CG_ROOT, BIOS_INCLUDE_DIR, BIOS_LIB_DIR, RTDX_INCLUDE_DIR and RTDX_LIB_DIR are all started with "C:/CCStudio_v4.2/bios 5_41_07_24".

    The XDC_CG_ROOT is "C:/CCStudio_v4.2/xdctools_3_20_03_36". I think XDC_CG_ROOT is OK, since I installed there.

    However, I installed 5.41.10.36 version and the DSP/BIOS version setting in CCS Build is also 5.41.10.36. So those macros are not correct.

    I installed the version 5.41.10.36 in C:/program Files/Texas Instruments. But I can not change BIOS_CG_ROOT etc. to that path.

    I did reinstalltion, still does not work.

    Should I uninstall 5.41.07.24 and reinstall 5.41.10.36?

    Lu

  • I uninstalled 5.41.07.24 and reinstalled 5.41.10.36.

    All the macros disappeared. So compiling shows "This project was created using a version of DSP/BIOS tools that is not currently installed: 5.41.10.36. Please install the DSP/BIOS tools of this version, ormigrate the project to one of the supported versions."

    Lu

  • Problem solved.

    I used "help->software updates" to install bios 5.41.10.39 instead of runing the downloaded "setup.exe" file.

    The install path is "C:/CCStudio_v4.2/bios_5_41_10_36" now.