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.

Reinstalling CG_XML_CCS after upgrading CCSv4.2.0.09000 to .10012

Guru* 84110 points
Other Parts Discussed in Thread: CCSTUDIO

When I was using CCSv4.2.0.09000, I installed CG_XML and CG_XML_CCS and had the menu showing the different scripts. Both CG_XML and CG_XML_CCSwere installed into the default Program Files\Texas Instruments folder.

Then I upgraded CCSv4 to 4.2.0.10012 and I would like to get CG_XML_CCS working again. I tried just importing the project, but that did not give me the Tools menu item or the icon.

So I uninstalled CG_XML_CCS and reinstalled it. Still no luck. Rebooted, still not there.

In the reinstallation process, I did get an error log when it was trying to finish up:

cgxml_ccs.log said:
Error in action CopyFile

error copying "C:/Program Files/Texas Instruments/cg_xml_ccs/com.ti.ccstudio.cgxmltools.link" to "/eclipse/links": no such file or directory
    while executing
"file copy -force $src $dst"
    (procedure "::InstallJammer::actions::CopyFile" line 7)
    invoked from within
"::InstallJammer::actions::$component $this"
Error in action CopyFile

error copying "C:/Program Files/Texas Instruments/cg_xml_ccs/com.ti.ccstudio.cgxmltools.link" to "/eclipse/links": no such file or directory
    while executing
"file copy -force $src $dst"
    (procedure "::InstallJammer::actions::CopyFile" line 7)
    invoked from within
"::InstallJammer::actions::$component $this"
    while executing
"$obj execute"
    (procedure "::InstallJammer::ExecuteActions" line 62)
    invoked from within
"::InstallJammer::ExecuteActions "Finish Actions""
    (procedure "::InstallJammer::exit" line 46)
    invoked from within
"::InstallJammer::exit"
    (procedure "::InstallJammer::FinishEventHandler" line 7)
    invoked from within
"::InstallJammer::FinishEventHandler .wizard"
    (command bound to event)

No idea what the "/eclipse/links" part would be.

Any idea how far backwards I need to go in uninstalling or cleaning things up to get this to work again?

  • Hi Randy,

    The CG_XML_CCS installer relies on an environment variable set by the CCSv4 installer (called TI_DIR) and it seems the newer v4 versions do not set it anymore, therefore the error.

    The workaround is simple: create a file named <com.ti.ccstudio.cgxmltools.link> with the contents below and copy it to the subdirectory /eclipse/links of your CCSv4 install directory.

    com.ti.ccstudio.cgxmltools.link said:

    path=C:/Program Files/Texas Instruments/cg_xml_ccs

    This file tells CCSv4 where cg_xml_ccs is installed so it can be used. Therefore, if you need to use the CG_XML_CCS in other CCSv4 versions you simply need to copy this file to the respective eclipse/links directory of each installation. The same principle applies if you are reinstalling CCSv4.

    In the meantime we will try to figure out a way to fix this installer problem.

    BTW, thanks for using the tools.

    Cheers,

    Rafael

  • Randy,

    As we spoke, please check the additional steps the installer missed because of this error:

    Set an environment variable called CGXMLCCS_INSTALL_DIR pointing to C:\Program Files\Texas Instruments\cg_xml_ccs (the cg_xml_ccs install directory)

    Add the cg_xml to the system PATH: C:\Program Files\Texas Instruments\cg_xml\bin (the cg_xml install directory)

    Cheers,

    Rafael