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.

DSP/BIOS tcf file and CCS 5

Other Parts Discussed in Thread: CCSTUDIO

All:

In working with C6713, there is a section of code applied at the end of the .tcf file:

// !GRAPHICAL_CONFIG_TOOL_SCRIPT_INSERT_POINT!

 

if (environment["ver"] == "Release" || environment["ver"] == "DebugFlash")

{

    ti_tcapps_utils = {};

//    utils.importFile( "../applyTable.tci" );

}

 

if (config.hasReportedError == false) {

    prog.gen();

 

    if (environment["ver"] == "Release" || environment["ver"] == "DebugFlash")

    {

        // after generating *cfg.cmd file, now modify it for table() operator

 //       ti_tcapps_utils.applyTableBinitCmdFile (prog.name + "cfg.cmd",

 //                                               prog.name + "cfg.cmd",

 //                                               ", table(BINIT)" );

    }

}

 

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

In order to work with the .tcf file in graphical mode, I need to go into text mode and comment out 4 lines (shown above). I can then close the .tcf file and open in graphical mode. When I am done with graphical mode, I then have to go into text mode and uncomment these 4 lines before building.

This is different than CCS 3.3 - is there a way to NOT have to do this?

 

  • Todd,
    what happens if you don't comment these lines out? Are you getting some error messages?
    Are you using the same DSP/BIOS version in both CCSes?

  • Here is the error screen contents:

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

    js: "C:/ae1000nxBios/7450010/applyTable.tci", line 68: MW6713cfg.cmd (The system cannot find the file specified)

     Correct any script errors in C:/ae1000nxBios/.metadata/.plugins/org.eclipse.rtsc.xdctools.buildDefinitions.DSPBIOS/.gconf/7450010/7450010/bios/MW6713.tcf using the Configuration Tool or a text editor, if necessary.

    TConf initialization arguments: -e environment['config.importPath']='C:/ae1000nxBios/7450010;C:/ae1000nxBios/7450010/release;C:/ccs5/bios_5_42_01_09/packages;C:/ae1000nxBios/7450010;C:/CCStudio_v3.3/bios_5_31_02/packages' -e environment['ver']='Release' -e environment['config.scriptName']='MW6713.tcf'

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

    This does not happen with CCS 3.3, and the only workaround that I have is to go in with a text editor to comment out the "offending lines." I can then bring up the graphical editor, make changes, and close. Finally, I need to go back in with the text editor and uncomment the commented lines. Cumbersome, but I can work with it until it gets fixed. Any plans to fix this?

     

     

  • Todd,
    as far as I can tell your script applyTable.tci is trying to read the file that gets generated by the script itself. In CCS5.5, that file is on a slightly different path, so you probably have to adjust the path you are using in applyTable. Find that file on the disk, it's in Debug or Release subdirectory of your project. Try using the absolute name first, and then if that works, then you just need to find the right relative path.
    I think that the file is in the working directory, but you are loading applyTable.tci from your TCF script and I don't know if that has any additional effect.