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.

CCS6 with DSP/BIOS 5.49 was working, now gives error when opening tcf file: Unable to create BIOS config server

Hi,

I have a F2812 project that was building fine and also debugging with CCS6 using DSP/BIOS 5.49. I could open the tcf file in the config tool and edit, and build the project without any problems. Now, without any changes to the tcf file, I get an error when building that I traced to the tcf file being unable to open with the config tool. Here is the error when opening the tcf file:

Unable to create BIOS config server.

And the error when building the project is:

Buildfile generation error occurred..
Cannot build project. Referenced project 'SingenX05-3a' contains build-errors.
Build stopped..

In the Problems view, I get an error: gmake error 1, which I think is just saying it can't build the project, but it's not really saying why. I'm fairly sure it's due to not being able to open the tcf file. Also, while troubleshooting this an hour ago, I was getting a slightly different build error: "can't create session manager: create of JVM failed".

I've looked at some related posts and wikis but I'm stumped on this. I even tried re installing CCSv6.1.0, although I didn't uninstall first. 

I know that there's nothing wrong with my tcf file as I just moved the project yesterday from CCSv5.5 to CCSv6.1.0 and copied over the tcf file along with the rest of the project to my new CCS6 workspace. In case I did mess up the tcf, I recopied the original CCSv5 version into the CCS6 project and there is no change in the result.

Please help as I'm completely stumped. Thanks.

 

 

  • Do you have anything else in the console window when trying to build the project except:
    Buildfile generation error occurred..
    Cannot build project. Referenced project 'SingenX05-3a' contains build-errors.
    Build stopped..

    Try to clean and rebuild the project and see if you get more output in the console.
    Have you installed any other products in CCS between the last time your project was working and now? You can see the installation history in CCS6 if you go to Help->Installation Details->Installation History. If you reinstalled CCS6 in the same location without uninstalling first, you might have ended up with a broken installation. In that case, you would be better off uninstalling, deleting everything from that directory and installing CCS again.

  • OK, yesterday I tried cleaning and rebuilding several times. But I finally got the same JVM failed error after manually deleting the items in the "Problems" view of CCS. Here it is with the same JVM error I was getting yesterday:

    **** Build of configuration Debug for project SingenX05-3a ****

    "C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
    'Building file: ../SingenX05-3.tcf'
    'Invoking: TConf'
    "C:/ti/bios_5_42_01_09/xdctools/tconf" -b -Dconfig.importPath="C:/ti/bios_5_42_01_09/packages/ti/bios/include/;C:/ti/bios_5_42_01_09/packages;" -Dconfig.compilerOpts="-ml" -js -w "../SingenX05-3.tcf"
    C:\ti\bios_5_42_01_09\xdctools\C:/ti/bios_5_42_01_09/xdctools/tconf: can't create session manager: create of JVM failed
    gmake: *** [SingenX05-3cfg.cmd] Error 1
    gmake: Target `all' not remade because of errors.

    **** Build Finished ****

    -------------------------------------------------------------------------------------------------------------------------------------

    There's nothing in the install history from yesterday until the time of the reinstall, and about 2-days previous was the last update (03-23-15) but things were working fine for me yesterday up till about 6pm. I hope you can make something out of this information. Also, why do I have to manually delete items in "Problems" view for the project to give additional build information in the console?

    Thanks.

  • Also, please note that when I try to open any tcf file, including the ones from ti example projects like hello.tcf (unmodified) I get the error: Unable to create BIOS config server.
  • The cause of the both errors is most likely the same. Java VM that's needed for the GUI and the project build can't be started. There should be a directory 'jre' in C:\ti\bios_5_42_01_09\xdctools, and that's where necessary Java files should be found. You can add some more debug info to the console that should help us figure out the problem. Go to Project Properties->CCS Build->TConf. In the text field command, you should have something like <Tconf path>/tconf -b. Add '--d' so the command line will be <Tconf path>/tconf --d -b, then save, rebuild and post the console output.
  • While waiting for your reply I uninstalled then reinstalled CCSv6.1.0, then DSP/BIOS 5.42.01.09 & SYS/BIOS 6.41.02.41. I checked for the Java in the location you specified and it is there in DSP/BIOS 5.42.01.09. I also added the --d in front of the -b in tconf build settings. Are you sure it should be --d and not -d? I checked in installed software in CCSv6 and I don't see DSP/BIOS 5.42.01.09 nor do I see SYS/BIOS 6.41.02.41 as I did yesterday before the uninstall/reinstall. Here is the console and Problems output from my build after the reinstall of CCSv6 and DSP/BIOS 5.42:

    This project was created using a version of DSP/BIOS tools that is not currently installed: 5.42.1.09. Please install the DSP/BIOS tools of this version, or migrate the project to one of the supported versions.
    Build stopped..
    --------------------------------------------------------------------------------------------------------------
    Here's the Problem view Errors output:
    This project was created using a version of DSP/BIOS tools that is not currently installed: 5.42.1.09. Please install the DSP/BIOS tools of this version, or migrate the project to one of the supported versions.
    Here's Project view Warnings output:
    1) Build variable 'RTDX_INCLUDE_DIR' cannot be resolved.
    2) Build variable 'RTDX_LIB_DIR' cannot be resolved.
    ---------------------------------------------------------------------------------------------------------------
    Keep in mind that I did the DSP/BIOS 5.42 install from a file I downloaded yesterday from the TI site and this was after successfully re-installing CCS v6.1.0. After the DSP/BIOS install, there were no install errors. It does bother me though that before I uninstalled CCS, I could see DSP/BIOS and SYS/BIOS in the CCS installed software view in help, whereas today I cannot see either.
  • While waiting again, I went to build settings and added the two missing directories as follows:
    1) RTDX_INCLUDE_DIR = C:\ti\bios_5_42_01_09\packages\ti\rtdx\include
    2) RTDX_LIB_DIR = C:\ti\bios_5_42_01_09\packages\ti\rtdx\lib
    I don't know for sure if those are correct, but it's the best I could figure for now. But the build still doesn't work. This time I get the same error in Problems view, but the two warnings are gone. The console error also remains the same, even with the --d added to tconf settings. Also, I still cannot open a tcf file and the error I get now when trying is: "Unable to find a supported DSP/BIOS tool to open this file".

    Why didn't the complete uninstall and re-install fix the problems? It makes me wonder what other path/dir variables I'm missing in my installaton. Is there a list someplace I could use to check?
    Thanks.
  • I don't know how you installed BIOS 5.42 in your initial CCS6 installation. It's possible that you chose BIOS 5.42 to be added during installation the first time, and then the second time you didn't. But, the current situation is that you don't have BIOS 5.42 installed, and I don't think that defining RTDX environment variables will help. Either you need to go to Window->Preferences->Code Compser Studio->RTSC->Products, and then use "Install New..." to install BIOS 5.42, or you reinstall CCS6 again and be sure to check BIOS 5.42 as one of the products to be installed in CCS. The first approach is definitely faster, and you should try that first. Once you have BIOS 5.42 installed then you can try building the project, and adding '--d' to debug if the build fails.

  • Sasha, I figured out most if it. I had bad variables in the path statement in the build settings in both the debug and release versions. These are now fixed and I can now open my tcf file in the config tool and most of the project builds. I still have one error, but I think it's releated to CCS, so I'll call this fixed. It's still a mystery as to why it was building and debugging fine in CCSv6.1.0 and without any changes it started with this problem, which probably got worse from the un-install and re-install of CCSv6 a couple of times. The symptoms seemed to have nothing to do with the problem.
    Thanks.
  • Ran into this as well on DSP/BIOS 5.42

    Here's the debug out would have looked like.

    Built on CC6.1.0.00104 w/ bios_5_42_01_09 + c55_caf_02.00.02.04

    **** Build of configuration Debug for project CSL_USB_IsoFullSpeedExample_Out ****

    "C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
    'Building file: C:/c55_lp/c55_caf_02.00.02.04/build/VC5505_CSL_BIOS_cfg.tcf'
    'Invoking: TConf'
    "C:/ti/bios_5_42_01_09/xdctools/tconf" --d -b -Dconfig.importPath="C:/ti/bios_5_42_01_09/packages;C:/ti/bios_5_42_01_09/packages;" -DBuildPlatform="C5515EVM" "C:/c55_lp/c55_caf_02.00.02.04/build/VC5505_CSL_BIOS_cfg.tcf"
    TC - 0: TCF_create(C:/c55_lp/c55_caf_02.00.02.04/build/VC5505_CSL_BIOS_cfg.tcf, 0x18fedc, 0x18ff0c)
    TC - 0: getClassPath(0x18f674, 0x406010, 0x407f48)
    TC - 0: findFile(js.jar, 0x407f48)
    TC - 0: testing C:\ti\bios_5_42_01_09\xdctools\js.jar ...
    TC - 0: testing C:\ti\bios_5_42_01_09\xdctools\..\lib\js.jar ...
    TC - 0: testing C:\ti\bios_5_42_01_09\xdctools\packages\xdc\shelf\java\js.jar ...
    TC - 0: found C:\ti\bios_5_42_01_09\xdctools\packages\xdc\shelf\java\js.jar
    TC - 0: findFile(config.jar, 0x407f48)
    TC - 0: testing C:\ti\bios_5_42_01_09\xdctools\config.jar ...
    TC - 0: found C:\ti\bios_5_42_01_09\xdctools\config.jar
    TC - 0: findFile(antlr.jar, 0x407f48)
    TC - 0: testing C:\ti\bios_5_42_01_09\xdctools\antlr.jar ...
    TC - 0: testing C:\ti\bios_5_42_01_09\xdctools\..\lib\antlr.jar ...
    TC - 0: testing C:\ti\bios_5_42_01_09\xdctools\packages\xdc\shelf\java\antlr.jar ...
    TC - 0: found C:\ti\bios_5_42_01_09\xdctools\packages\xdc\shelf\java\antlr.jar
    TC - 0: default class path = C:\ti\bios_5_42_01_09\xdctools\packages\xdc\shelf\java\js.jar;C:\ti\bios_5_42_01_09\xdctools\config.jar;C:\ti\bios_5_42_01_09\xdctools\packages\xdc\shelf\java\antlr.jar;
    TC - 0: getLibraryPath(0x1d1691, 0x18fe80)
    TC - 0: findFile(config.jar, 0x407f48)
    TC - 0: testing C:\ti\bios_5_42_01_09\xdctools\config.jar ...
    TC - 0: found C:\ti\bios_5_42_01_09\xdctools\config.jar
    TC - 0: default library path = -Djava.library.path=C:\ti\bios_5_42_01_09\xdctools;C:\ti\bios_5_42_01_09\xdctools;C:\ti\bios_5_42_01_09\xdctools\..\bin;.
    TC - 0: findFile(jre\bin\java.exe, 0x407f48)
    TC - 0: testing C:\ti\bios_5_42_01_09\xdctools\jre\bin\java.exe ...
    TC - 0: found C:\ti\bios_5_42_01_09\xdctools\jre\bin\java.exe
    TC - 0: findFile(jre\bin\client\jvm.dll, 0x407f48)
    TC - 0: testing C:\ti\bios_5_42_01_09\xdctools\jre\bin\client\jvm.dll ...
    TC - 0: found C:\ti\bios_5_42_01_09\xdctools\jre\bin\client\jvm.dll
    TC - 0: createVM(0x1d126c, C:\ti\bios_5_42_01_09\xdctools\jre\bin\client\jvm.dll, 0x18fc78)
    TC - 0: JVM option[0] = -Xverify:none
    C:\ti\bios_5_42_01_09\xdctools\C:/ti/bios_5_42_01_09/xdctools/tconf: can't create session manager: create of JVM failed
    TC - 0: JVM option[1] = -Dconfig.importPath=C:/ti/bios_5_42_01_09/packages;C:/ti/bios_5_42_01_09/packages;
    TC - 0: JVM option[2] = -DBuildPlatform=C5515EVM
    TC - 0: JVM option[3] = -Djava.class.path=C:\ti\bios_5_42_01_09\xdctools\packages\xdc\shelf\java\js.jar;C:\ti\bios_5_42_01_09\xdctools\config.jar;C:\ti\bios_5_42_01_09\xdctools\packages\xdc\shelf\java\antlr.jar;
    TC - 0: JVM option[4] = -Djava.library.path=C:\ti\bios_5_42_01_09\xdctools;C:\ti\bios_5_42_01_09\xdctools;C:\ti\bios_5_42_01_09\xdctools\..\bin;.
    TC - 0: JVM option[5] = -Dconfig.scriptName=C:/c55_lp/c55_caf_02.00.02.04/build/VC5505_CSL_BIOS_cfg.tcf
    TC - 0: JVM option[6] = -Dconfig.rootDir=C:\ti\bios_5_42_01_09\xdctools
    TC - 0: JVM option[7] = -Dconfig.path=C:\ti\bios_5_42_01_09\xdctools;C:\ti\bios_5_42_01_09\xdctools\..\lib;C:\ti\bios_5_42_01_09\xdctools\packages\xdc\shelf\java;C:\ti\bios_5_42_01_09\xdctools\..\..\ccsv5\eclipse;
    TC - 0: JVM option[8] = -Dconfig.gopts=
    TC - 0: JVM option[9] = vfprintf
    TC - 0: JVM option[10] = exit
    TC - 0: JVM option[11] = abort
    TC - 0: getVMCreateFxn(0x1d126c, C:\ti\bios_5_42_01_09\xdctools\jre\bin\client\jvm.dll)
    GD - 0: GLD_create(C:\ti\bios_5_42_01_09\xdctools\jre\bin\client\jvm.dll)
    TC - 0: Can't load Java VM dll
    TC - 0: TCF_delete(0x1d126c)
    gmake: *** [VC5505_CSL_BIOS_cfg.cmd] Error 1
    gmake: Target `all' not remade because of errors.

    **** Build Finished ****

    Also a warning for the missing a ""${XDAIS_CG_ROOT}/packages/ti/xdais"" Path.

  • Issue further characterized and resolved (with pictures :-) ) in the following thread.