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.

XDC runtime error

Other Parts Discussed in Thread: SYSBIOS

Hi All,

Would like help on the following error and pointers to information....

Description    Resource    Path    Location    Type
ti.platforms.evm6748.Platform.Instance#0: 'codeMemory' is sealed    app.cfg    /Amodem2K_sysBios_1_0_0    123    C/C++ Problem
Description    Resource    Path    Location    Type
XDC runtime error: ti.platforms.evm6748.Platform.Instance#0: 'codeMemory' is sealed    app.cfg    /Amodem2K_sysBios_1_0_0    Configuration Validation    XDCTools Configuration Marker

Thanks

Manjula


  • Manjula,
    it seems that you are trying to change Program.platform.codeMemory property in your config script app.cfg. That property is readonly in the config script. Can you explain what do you want to do? There could be an easier way to do that.

  • Hi Sasha

    Thank you for the reply. I am trying to change the code memory from DDR to the IRAM. I tried to do this in SysBios (XGCONF editor) under "Current Program Configuration state - view" . When I got the error I changed it back to DDR but the error remained. How can I get rid of the error and how do I change from DDR to IRAM? I am using the LCDK eval board.

    Best regards

    Manjula

  • Manjula,
    you need to remove from your CFG script the line that changes Program.platform.codeMemory. If you right-click on your CFG script in Project Explorer, you'll see the option to open the script in the XDCscript editor. Then, you can look for the line that changes Program.platform.codeMemory, and delete it. That should fix the error.

    Back to your original question, you can't change codeMemory configuration parameter in the config script because the script runs at the time when Program.platform property is set to be readonly. You'll have to create another file in your project and name it config.bld. The only content of that file is one line that defines codeMemory for the platform you are using. I am assuming it's evm6748, but you should replace it with the actual name of the platform you specified in Project Properties->CCS General->RTSC.

    Build.platformTable["ti.platforms.evm6748"] = {codeMemory: "IRAM"};

    The Build.platformTable documentation is here: http://rtsc.eclipse.org/cdoc-tip/xdc/bld/BuildEnvironment.html#platform.Table. You also need to verify that the file config.bld is referenced in Properties->CCS Build->XDCtools->Advanced Options->Build configuration file.

     

  • Hi Sasha

    Thank you very much for answering my questions. I have now sorted out the problem and working on changing the memory allocation.

    Best regards

    Manjula