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.

Error configuration of file.tcf

Other Parts Discussed in Thread: CCSTUDIO

HI,

I have this error:  " js: "./config_bios.tcf", line 10: Can't modify read-only field "   when i compile my project.

I am using dsp 6437.

Somebody can help me?? What is the problem?

In  general, how we can configure the bios of a dsp (like 6437)...somebody has some document?

Thanks.

 

PS: the message is:

 

----------------------  McBSP_SPI_with_BIOS.pjt - Debug  ----------------------

[config_bios.tcf] "C:\CCStudio_v3.3\bios_5_31_02\xdctools\tconf" -b -Dconfig.importPath="C:/CCStudio_v3.3/bios_5_31_02/packages"  config_bios.tcf

js: "./config_bios.tcf", line 10: Can't modify read-only field

  • There is an error in the BIOS tcf file at line 10. Open the .tcf file in a textual editor by right-clicking on the .tcf file in CCS 3.3, and selecting DSP/BIOS Config->Text Edit. Then take a look at what is at line 10 and see if it is a read-only field that cannot be modified. If that is the case, you may need to comment it out.

    Regarding general documentation on BIOS, there are several pdfs (can be found at C:\CCStudio_v3.3\bios_5_31_02\packages\ti\bios\doc) and online help included with CCS 3.3.

  • Hi,

    I have the same problem.

    ----------------------  McBSP_SPI_with_BIOS.pjt - Debug  ----------------------

    [config_bios.tcf] "C:\CCStudio_v3.3\bios_5_31_02\xdctools\tconf" -b -Dconfig.importPath="C:/CCStudio_v3.3/bios_5_31_02/packages"  config_bios.tcf

    js: "./config_bios.tcf", line 10: Can't modify read-only field

     

     

     

     

    My file bios.tcf is:

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

    utils.loadPlatform("ti.platforms.evmDM6437");

     

    /* The following DSP/BIOS Features are enabled.  */

    bios.enableMemoryHeaps(prog);

    //bios.enableRealTimeAnalysis(prog);

    //sbios.enableRtdx(prog);

    bios.enableTskManager(prog);

    bios.MEM.USEMPC = 1;

    bios.MEM.instance("IRAM").enableHeapLabel = 1;   /////////////////////////////////////////////////   THIS     IS    THE     LINE       10         /////////////////////////////////////////

    bios.MEM.instance("IRAM").createHeap = 1;

    bios.MEM.BIOSOBJSEG = prog.get("IRAM");

    bios.MEM.MALLOCSEG = prog.get("IRAM");

    bios.TSK.STACKSEG = prog.get("IRAM");

    // !GRAPHICAL_CONFIG_TOOL_SCRIPT_INSERT_POINT!

    prog.gen();

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

  • I am not sure why it is giving an error on that line but here is what I did to resolve it:

    1) Open the file config_bios.tcf in a text editor and comment out the line: bios.MEM.instance("IRAM").enableHeapLabel = 1;

    2) Start CCS and open the .tcf file in the graphical config tool. Go into System->Memory Section Manager->IRAM, right-click, select Properties, and check the box for "enter a user defined heap identifier label" to re-enable the heap.