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/TMDSEVM5517: Error in opening file.tcf in Code Composer Studio version 8

Part Number: TMDSEVM5517

Tool/software: Code Composer Studio

Hello everyone,

I'm Don from Viet Nam. I'm using Code Composer Studio version 8 and kit evm5517.

When I had compiled project CSL_McBSP_Master_AIC3204_48kbps_POLL in Chip Support Library of C55x, I got the error: 

I also created bios examples to test by using step by step below:

File -> New -> CCS Project -> DSP/Bios v5.xx Examples -> evm5517 Examples -> Hello example.

But I have still got the same error to project McBSP_Master_AIC3204_48kbps_POLL when compiling, and I coudn't open file hello.tcf in CCS. The following error showed up when I had tried to open tcf file:

I have followed the instructions of the link: e2e.ti.com/.../422003 , appending the system PATH:

But it doesn't work. The error is still remain.

I have uninstalled CCS v8 and reinstalled CCS v8 again. However, the error has still appeared.

Does anybody know what to do? Please give me the guide to solve this issue.

Thank in advance.

Best regard,

Don

  • Hi Don,

    Please refer to the linked below E2E thread:
    e2e.ti.com/.../1504198

    BR
    Tsvetolin Shulev
  • Hi Tsvetolin,

    Thank you for supporting me. But your supporting link have the same content to E2E thread e2e.ti.com/.../422003 which I had followed before.

    BR,
    Don
  • Hi Don,

    Please refer to e2e.ti.com/.../422003

    Todd
  • oops. I just saw you did. I'll have someone respond.

    Todd
  • Don,
    which product have you installed in CCS8 to get DSP/BIOS working? I am not really able to install a DSP/BIOS product in CCS8 to replicate the problem. Anyway, somewhere in the project properties there should be a tab named Tconf, which displays the Tconf command line, and the command line should be similar to "C:\ti\bios_5_42_02_10\xdctools\tconf -b". Add '--d' option to it, so it will look like this:
    "C:\ti\bios_5_42_02_10\xdctools\tconf --d -b".
    Then try to build again and post the output. There should be more debugging info in the output.
  • Dear Sasha,
    Thank you for suggestion. Today is the saturday that is a holliday of my company in VietNam, so I'll give you more debugging info in the next monday.
    Have a nice day.
    BR,
    Don
  • Dear Sasha,

    I have followed your instruction:

    I have gotten some debugging information:

    In project CSL_McBSP_Master_AIC3204_48kbps_POLL:

    **** Clean-only build of configuration Debug for project CSL_McBSP_Master_AIC3204_48kbps_POLL ****

    "C:\\ti\\ccsv8\\utils\\bin\\gmake" -k clean

    DEL /F "C5517_MCBSP.cdb" "McBSP_Master_AIC3204_48kbps_POLL.hex" "C5517_MCBSPcfg.cmd" "C5517_MCBSPcfg.s??" "C5517_MCBSPcfg_c.c" "McBSP_Master_AIC3204_48kbps_POLL.out" "C5517_MCBSPcfg.h" "C5517_MCBSPcfg.h??"
    DEL /F "C5517_MCBSPcfg.d"
    DEL /F "C5517_MCBSPcfg.obj" "C5517_MCBSPcfg_c.obj" "McBSP_Master_AIC3204_48kbps_POLL.obj" "aic3204_loop_mic_in.obj" "aic3204_loop_stereo_in1.obj" "aic3204_loop_stereo_in2.obj" "aic3204_test.obj" "aic3204_tone_headphone.obj" "aic3204_tone_stereo_out.obj" "csl_i2c_ioExpander.obj" "csl_mcbsp_codec.obj" "evm5515.obj" "evm5515_gpio.obj" "evm5515_i2c.obj"
    DEL /F "C5517_MCBSPcfg_c.d" "src\McBSP_Master_AIC3204_48kbps_POLL.d" "src\aic3204_loop_mic_in.d" "src\aic3204_loop_stereo_in1.d" "src\aic3204_loop_stereo_in2.d" "src\aic3204_test.d" "src\aic3204_tone_headphone.d" "src\aic3204_tone_stereo_out.d" "src\csl_i2c_ioExpander.d" "src\csl_mcbsp_codec.d" "src\evm5515.d" "src\evm5515_gpio.d" "src\evm5515_i2c.d"
    Could Not Find D:\c55_csl_3.08 - 1\ccs_v6.x_examples\mcbsp\McBSP_Master_AIC3204_48kbps_POLL\Debug\C5517_MCBSP.cdb
    Could Not Find D:\c55_csl_3.08 - 1\ccs_v6.x_examples\mcbsp\McBSP_Master_AIC3204_48kbps_POLL\Debug\C5517_MCBSPcfg.d
    Could Not Find D:\c55_csl_3.08 - 1\ccs_v6.x_examples\mcbsp\McBSP_Master_AIC3204_48kbps_POLL\Debug\C5517_MCBSPcfg.obj
    Could Not Find D:\c55_csl_3.08 - 1\ccs_v6.x_examples\mcbsp\McBSP_Master_AIC3204_48kbps_POLL\Debug\C5517_MCBSPcfg_c.d
    Could Not Find D:\c55_csl_3.08 - 1\ccs_v6.x_examples\mcbsp\McBSP_Master_AIC3204_48kbps_POLL\Debug\src\McBSP_Master_AIC3204_48kbps_POLL.d
    Finished clean

    **** Build Finished ****

    **** Build of configuration Debug for project CSL_McBSP_Master_AIC3204_48kbps_POLL ****

    "C:\\ti\\ccsv8\\utils\\bin\\gmake" -k all

    Building file: "../C5517_MCBSP.tcf"
    Invoking: TConf
    "C:/ti/bios_5_42_02_10/xdctools/tconf" --d -b -Dconfig.importPath="C:/ti/bios_5_42_02_10/packages;" "../C5517_MCBSP.tcf"
    TC - 0: TCF_create(../C5517_MCBSP.tcf, 0x19fed4, 0x19ff04)
    TC - 0: getClassPath(0x19f66c, 0x406010, 0x407f48)
    TC - 0: findFile(js.jar, 0x407f48)
    TC - 0: testing C:\ti\bios_5_42_02_10\xdctools\js.jar ...
    TC - 0: testing C:\ti\bios_5_42_02_10\xdctools\..\lib\js.jar ...
    TC - 0: testing C:\ti\bios_5_42_02_10\xdctools\packages\xdc\shelf\java\js.jar ...
    TC - 0: found C:\ti\bios_5_42_02_10\xdctools\packages\xdc\shelf\java\js.jar
    TC - 0: findFile(config.jar, 0x407f48)
    TC - 0: testing C:\ti\bios_5_42_02_10\xdctools\config.jar ...
    TC - 0: found C:\ti\bios_5_42_02_10\xdctools\config.jar
    TC - 0: findFile(antlr.jar, 0x407f48)
    TC - 0: testing C:\ti\bios_5_42_02_10\xdctools\antlr.jar ...
    TC - 0: testing C:\ti\bios_5_42_02_10\xdctools\..\lib\antlr.jar ...
    TC - 0: testing C:\ti\bios_5_42_02_10\xdctools\packages\xdc\shelf\java\antlr.jar ...
    TC - 0: found C:\ti\bios_5_42_02_10\xdctools\packages\xdc\shelf\java\antlr.jar
    TC - 0: default class path = C:\ti\bios_5_42_02_10\xdctools\packages\xdc\shelf\java\js.jar;C:\ti\bios_5_42_02_10\xdctools\config.jar;C:\ti\bios_5_42_02_10\xdctools\packages\xdc\shelf\java\antlr.jar;
    TC - 0: getLibraryPath(0x29e3771, 0x19fe78)
    TC - 0: findFile(config.jar, 0x407f48)
    TC - 0: testing C:\ti\bios_5_42_02_10\xdctools\config.jar ...
    TC - 0: found C:\ti\bios_5_42_02_10\xdctools\config.jar
    TC - 0: default library path = -Djava.library.path=C:\ti\bios_5_42_02_10\xdctools;C:\ti\bios_5_42_02_10\xdctools;C:\ti\bios_5_42_02_10\xdctools\..\bin;.
    TC - 0: findFile(jre\bin\java.exe, 0x407f48)
    TC - 0: testing C:\ti\bios_5_42_02_10\xdctools\jre\bin\java.exe ...
    TC - 0: found C:\ti\bios_5_42_02_10\xdctools\jre\bin\java.exe
    TC - 0: findFile(jre\bin\client\jvm.dll, 0x407f48)
    TC - 0: testing C:\ti\bios_5_42_02_10\xdctools\jre\bin\client\jvm.dll ...
    TC - 0: found C:\ti\bios_5_42_02_10\xdctools\jre\bin\client\jvm.dll
    TC - 0: createVM(0x29e334c, C:\ti\bios_5_42_02_10\xdctools\jre\bin\client\jvm.dll, 0x19fc70)
    TC - 0: JVM option[0] = -Xverify:none
    TC - 0: JVM option[1] = -Dconfig.importPath=C:/ti/bios_5_42_02_10/packages;
    TC - 0: JVM option[2] = -Djava.class.path=C:\ti\bios_5_42_02_10\xdctools\packages\xdc\shelf\java\js.jar;C:\ti\bios_5_42_02_10\xdctools\config.jar;C:\ti\bios_5_42_02_10\xdctools\packages\xdc\shelf\java\antlr.jar;
    TC - 0: JVM option[3] = -Djava.library.path=C:\ti\bios_5_42_02_10\xdctools;C:\ti\bios_5_42_02_10\xdctools;C:\ti\bios_5_42_02_10\xdctools\..\bin;.
    TC - 0: JVM option[4] = -Dconfig.scriptName=../C5517_MCBSP.tcf
    TC - 0: JVM option[5] = -Dconfig.rootDir=C:\ti\bios_5_42_02_10\xdctools
    TC - 0: JVM option[6] = -Dconfig.path=C:\ti\bios_5_42_02_10\xdctools;C:\ti\bios_5_42_02_10\xdctools\..\lib;C:\ti\bios_5_42_02_10\xdctools\packages\xdc\shelf\java;C:\ti\bios_5_42_02_10\xdctools\..\..\ccsv5\eclipse;
    TC - 0: JVM option[7] = -Dconfig.gopts=
    TC - 0: JVM option[8] = vfprintf
    TC - 0: JVM option[9] = exit
    TC - 0: JVM option[10] = abort
    TC - 0: getVMCreateFxn(0x29e334c, C:\ti\bios_5_42_02_10\xdctools\jre\bin\client\jvm.dll)
    GD - 0: GLD_create(C:\ti\bios_5_42_02_10\xdctools\jre\bin\client\jvm.dll)
    TC - 0: Can't load Java VM dll
    TC - 0: TCF_delete(0x29e334c)
    subdir_rules.mk:12: recipe for target 'build-1576691905-inproc' failed
    C:\ti\bios_5_42_02_10\xdctools\C:/ti/bios_5_42_02_10/xdctools/tconf: can't create session manager: create of JVM failed
    gmake[1]: *** [build-1576691905-inproc] Error 1
    gmake: *** [build-1576691905] Error 2
    subdir_rules.mk:9: recipe for target 'build-1576691905' failed
    gmake: Target 'all' not remade because of errors.

    **** Build Finished ****


    In example hello for DSP/BIOS: 


    **** Clean-only build of configuration Debug for project test_bios ****

    "C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 4 clean -O

    DEL /F "hello.cdb" "test_bios.hex" "hellocfg.cmd" "hellocfg.s??" "hellocfg_c.c" "test_bios.out" "hellocfg.h" "hellocfg.h??"
    DEL /F "hellocfg.d"
    DEL /F "hello.obj" "hellocfg.obj" "hellocfg_c.obj"
    DEL /F "hello.d" "hellocfg_c.d"
    Could Not Find D:\CCS_project\workspace_demo_evm5517\test_bios\Debug\hello.cdb
    Could Not Find D:\CCS_project\workspace_demo_evm5517\test_bios\Debug\hellocfg.d
    Could Not Find D:\CCS_project\workspace_demo_evm5517\test_bios\Debug\hello.obj
    Could Not Find D:\CCS_project\workspace_demo_evm5517\test_bios\Debug\hello.d
    Finished clean

    **** Build Finished ****

    **** Build of configuration Debug for project test_bios ****

    "C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 4 all -O

    Building file: "../hello.tcf"
    Invoking: TConf
    "C:/ti/bios_5_42_02_10/xdctools/tconf" --d -b -Dconfig.importPath="C:/ti/bios_5_42_02_10/packages;" "../hello.tcf"
    TC - 0: TCF_create(../hello.tcf, 0x19fed4, 0x19ff04)
    TC - 0: getClassPath(0x19f66c, 0x406010, 0x407f48)
    TC - 0: findFile(js.jar, 0x407f48)
    TC - 0: testing C:\ti\bios_5_42_02_10\xdctools\js.jar ...
    TC - 0: testing C:\ti\bios_5_42_02_10\xdctools\..\lib\js.jar ...
    TC - 0: testing C:\ti\bios_5_42_02_10\xdctools\packages\xdc\shelf\java\js.jar ...
    TC - 0: found C:\ti\bios_5_42_02_10\xdctools\packages\xdc\shelf\java\js.jar
    TC - 0: findFile(config.jar, 0x407f48)
    TC - 0: testing C:\ti\bios_5_42_02_10\xdctools\config.jar ...
    TC - 0: found C:\ti\bios_5_42_02_10\xdctools\config.jar
    TC - 0: findFile(antlr.jar, 0x407f48)
    TC - 0: testing C:\ti\bios_5_42_02_10\xdctools\antlr.jar ...
    TC - 0: testing C:\ti\bios_5_42_02_10\xdctools\..\lib\antlr.jar ...
    TC - 0: testing C:\ti\bios_5_42_02_10\xdctools\packages\xdc\shelf\java\antlr.jar ...
    TC - 0: found C:\ti\bios_5_42_02_10\xdctools\packages\xdc\shelf\java\antlr.jar
    TC - 0: default class path = C:\ti\bios_5_42_02_10\xdctools\packages\xdc\shelf\java\js.jar;C:\ti\bios_5_42_02_10\xdctools\config.jar;C:\ti\bios_5_42_02_10\xdctools\packages\xdc\shelf\java\antlr.jar;
    TC - 0: getLibraryPath(0x28c37d1, 0x19fe78)
    TC - 0: findFile(config.jar, 0x407f48)
    TC - 0: testing C:\ti\bios_5_42_02_10\xdctools\config.jar ...
    TC - 0: found C:\ti\bios_5_42_02_10\xdctools\config.jar
    TC - 0: default library path = -Djava.library.path=C:\ti\bios_5_42_02_10\xdctools;C:\ti\bios_5_42_02_10\xdctools;C:\ti\bios_5_42_02_10\xdctools\..\bin;.
    TC - 0: findFile(jre\bin\java.exe, 0x407f48)
    TC - 0: testing C:\ti\bios_5_42_02_10\xdctools\jre\bin\java.exe ...
    TC - 0: found C:\ti\bios_5_42_02_10\xdctools\jre\bin\java.exe
    TC - 0: findFile(jre\bin\client\jvm.dll, 0x407f48)
    TC - 0: testing C:\ti\bios_5_42_02_10\xdctools\jre\bin\client\jvm.dll ...
    TC - 0: found C:\ti\bios_5_42_02_10\xdctools\jre\bin\client\jvm.dll
    TC - 0: createVM(0x28c33ac, C:\ti\bios_5_42_02_10\xdctools\jre\bin\client\jvm.dll, 0x19fc70)
    TC - 0: JVM option[0] = -Xverify:none
    TC - 0: JVM option[1] = -Dconfig.importPath=C:/ti/bios_5_42_02_10/packages;
    TC - 0: JVM option[2] = -Djava.class.path=C:\ti\bios_5_42_02_10\xdctools\packages\xdc\shelf\java\js.jar;C:\ti\bios_5_42_02_10\xdctools\config.jar;C:\ti\bios_5_42_02_10\xdctools\packages\xdc\shelf\java\antlr.jar;
    TC - 0: JVM option[3] = -Djava.library.path=C:\ti\bios_5_42_02_10\xdctools;C:\ti\bios_5_42_02_10\xdctools;C:\ti\bios_5_42_02_10\xdctools\..\bin;.
    TC - 0: JVM option[4] = -Dconfig.scriptName=../hello.tcf
    TC - 0: JVM option[5] = -Dconfig.rootDir=C:\ti\bios_5_42_02_10\xdctools
    TC - 0: JVM option[6] = -Dconfig.path=C:\ti\bios_5_42_02_10\xdctools;C:\ti\bios_5_42_02_10\xdctools\..\lib;C:\ti\bios_5_42_02_10\xdctools\packages\xdc\shelf\java;C:\ti\bios_5_42_02_10\xdctools\..\..\ccsv5\eclipse;
    TC - 0: JVM option[7] = -Dconfig.gopts=
    TC - 0: JVM option[8] = vfprintf
    TC - 0: JVM option[9] = exit
    TC - 0: JVM option[10] = abort
    TC - 0: getVMCreateFxn(0x28c33ac, C:\ti\bios_5_42_02_10\xdctools\jre\bin\client\jvm.dll)
    GD - 0: GLD_create(C:\ti\bios_5_42_02_10\xdctools\jre\bin\client\jvm.dll)
    TC - 0: Can't load Java VM dll
    TC - 0: TCF_delete(0x28c33ac)
    subdir_rules.mk:19: recipe for target 'build-1213110335-inproc' failed
    C:\ti\bios_5_42_02_10\xdctools\C:/ti/bios_5_42_02_10/xdctools/tconf: can't create session manager: create of JVM failed
    gmake[1]: *** [build-1213110335-inproc] Error 1
    gmake: *** [build-1213110335] Error 2
    subdir_rules.mk:16: recipe for target 'build-1213110335' failed
    gmake: Target 'all' not remade because of errors.

    **** Build Finished ****

    Please check and give me some advices.

    Thank you.

    BR,

    Don.

  • Don,
    this points to msvcr71.dll or some other dll not being on the path. The easiest thing to verify that you have a correct path is to open a command line window and then set path:
    $> set PATH=C:\ti\bios_5_42_02_10\xdctools\jre\bin;C:\windows\system32
    and then run tconf
    $> c:\ti\bios_5_42_02_10\xdctools\tconf.exe --d
    If tconf still fails, then it's probably a different DLL and the debugging becomes more involved. I would recommend getting Process Monitor from docs.microsoft.com/.../procmon, and start it. It reports a lot of traffic, but you should go to Filter->Filter... and add a rule "Process Name is tconf.exe then Include". After that, run tconf again, and you should get a long list of events. Somewhere towards the bottom there will be "NAME NOT FOUND" or some similar error status. It will refer to a string under the column "Path". Whatever is listed under Path is the a DLL or another component that is missing.
  • Dear Sasha,
    I have followed your instructions. I've gotten some results:

    I used the ProcessMonitor which you suggestted. Like this:

    Then, I have compiled project CSL_McBSP_Master_AIC3204_48kbps_POLL, the error is still remaining.

    You can see the process monitor log in the attached file:

    Logfile.rar
    What should I do next?
    Thank you so much.
    BR,
    Don

  • The command window output shows that when jre/bin is in the path, tconf is working as expected, so the problem with tconf in CCS8 is that your PATH changes are not seen by CCS. I can't see from the thread what changes you have made previously, but you should adjust your PATH under Environment Variables to include jre/bin, then reboot your PC just in case, and then restart CCS.
  • Dear Sasha,

    As you can see from the beginning of the thread, I followed the instructions from link: e2e.ti.com/.../422003  and added two environment path variables:

    I've also checked in CCS enviroment PATH in CCSv8 by using step by step: Windows -> Preferences -> Code Composer Studio -> Build -> Variables -> Show system variables, two environment path variables can be seen in CCSv8 :


     

    Based on the list of processor monitor when debugging tconf.exe:

    I decided to copy file msvcr71.dll from C:\ti\bios_5_42_02_10\xdctools\jre\bin into C:\ti\bios_5_42_02_10\xdctools then I compiled project CSL_McBSP_Master_AIC3204_48kbps_POLL  again and it worked. It's so surprising. Here is a result:

    However, this error haven't disappeared yet after trying to open file file.tcf in CCSv8:

    Do you have any ideas? Please tell me.

    Thank you

    BR,

    Don

  • These two environment variables don't do anything. You have to add jre/bin to PATH as I mentioned in my previous post.

    The project compilation succeeded most likely because makefiles used in the project build add C:\ti\bios_5_42_02_10\xdctools to PATH, but these makefiles are not used when you are opening a TCF script in a graphical environment.
  • Dear Sasha,

    I have followed what you said:

    And it worked. I now open file.tcf in CCSv8. Here is the result:

    Thank you so much.

    BR,

    Don