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.

Configuration Tool fails to launch

When I double click on a .tcf file I get the following message (below). Can you tell me what it means and how I can fix it?

js: "C:\bios_5_20_04\xdctools\include\utils.tci", line 838: uncaught JavaScript exception: Error: Can't find Platform.tc[ip] file for 'ti.platforms.generic' (C:\bios_5_20_04\xdctools\include\utils.tci#838)

    "./Pdu.tcf", line 10
    "./<stdin>", line 4


Correct any script errors in C:/Users/E0089923/workspace_v5_2/.metadata/.plugins/org.eclipse.rtsc.xdctools.buildDefinitions.DSPBIOS/.gconf/PDU/PDU/Pdu.tcf
using the Configuration Tool or a text editor, if necessary.


TConf initialization arguments:
-e environment['config.importPath']='C:/Users/E0089923/workspace_v5_2/PDU;C:/ti/bios_5_41_13_42/packages' -e environment['config.scriptName']='Pdu.tcf'

  • Hi Robert,

    Can you confirm what version of DSP/BIOS and CCS are you using ? From the log you shared it looks like you are using DSP/BIOS 5.20.04 and running on CCS v5.2. If that is the case, then you maybe seeing an issue with launching the config tool because DSP/BIOS 5.20.04 is not compatible with CCS v5.2 (It is missing the required eclipse plugins). If you want to continue to use CCS v5.2, then please move to latest DSP/BIOS 5.41 or 5.42 release.

    Best,
    Ashish
  • We are actually using DSP/BIOS 5.41.13.42 as seen in the last part of the log:
    -e environment['config.importPath']='C:/Users/E0089923/workspace_v5_2/PDU;C:/ti/bios_5_41_13_42/packages' -e

    I don't know why it is looking in:
    js: "C:\bios_5_20_04\xdctools\include\utils.tci", line 83

    Is there a path setting I need to change to fix this?
  • Robert,

    You probably have an environment variable set to the old BIOS directory.  Might be 'BIOS_INSTALL_DIR' or something like that.

    Judah

  • Thanks Judah. I set BIOS_INSTALL_DIR = C:/ti/bios_5_41_13_42/.

    I also added BIOS_INSTALL_DIR here:

    Unfortunately this did not fix the problem. The same error (described above) occurs.


    Do you have any other suggestions?

  • Can you confirm that BIOS_INSTALL_DIR is not being set in your windows environment window to BIOS 5.20.04?
    When you double click on a .tcf file...I'm assuming you're doing this from windows explorer (outside of ccs), I don't think its looking at your project settings.
  • Judah,

    BIOS_INSTALL_DIR is not being set (it does not show up when I type set from a command prompt).

    However XDCROOT did show up and was incorrect so I fixed it. Unfortunately this did not fix this issue.

    The issue occurs when I double click a .tcf file from inside CCS5. When I tried launching a .tcf file from windows explorer I got the following prompt and entered the path you see here:

    This did launch the configuration tool successfully.

    So, I am concerned that my CCS5 is not configured correctly because I should be able to launch it from inside CCS5.

    Does this info help and is there anything else I can try?

    Thanks.

    Robert

  • Robert,

    Can you make sure that you have the right DSP/BIOS release checked in CCS?

    Select menu item  "Windows" --> "Preferences".  You should see a screen pop up like the below.  Make sure you have BIOS and XDCTools version set.

     

    Judah

  • Judah,
    I did not have this page set. Unfortunately after setting it to the correct values it did not fix the issue.

    Robert
  • Robert,

    Okay, I've exhausted what I thought could be the problem.  I can't think of anything else.
    At this point it might be that your installation is somehow corrupted.

    Judah