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.

[CCS3.3] Error in .tcf file - can't find platform file

Other Parts Discussed in Thread: CCSTUDIO

Hi

I am building a CCS 3.3 C6400 project that was configured by a third party.  I get the following error related to the project's tcf file 'MyProj.tcf':

['MyProj.tcf] "C:\CCStudio_v3.3\bios_5_31_02\xdctools\tconf" -b -Dconfig.importPath="C:/CCStudio_v3.3/bios_5_31_02/packages"  'MyProj.tcf
js: "C:/CCStudio_v3.3/bios_5_31_02/xdctools/include/utils.tci", line 784: exception from uncaught JavaScript throw: Error: Can't find Platform.tc[ip] file for 'myplatforms.pt_faraday'
"./'MyProj.tcf", line 1

The first line of MyProj.tcf is:

utils.loadPlatform("myplatforms.pt_faraday");

Is myplatforms.pt_faraday a file that I should provide?

BR

David

 

  • David,
    that platform is not a platform shipped with XDCtools, which means it was probably created by the third party you got the project from. If you don't have the directory 'myplatforms/pt_faraday' among the files developed by the third party, you'll have to create it yourself, and then create the file Platform.tci in there. Once you create the directory and the file, you should add the directory that contains 'myplatforms' to your config.importPath.

    If you need to create a new platform, there should be a help topic for it somewhere in CCS 3. I haven't used that version of CCS for some time, so I am not sure where the help topic is, but there should be a link to it in the dialog box that pops up when you create a new platfofm.

  • Hi Sasha

    Thanks - your reply helped me fix the problem.

    David

  • hi david

        Could you tell me how to fix the problem?

    zhihu