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.

Custom Data Section



Thank you for response.

My next question is about the DSP/BIOS Textual Configuration Tool (Tconf).  How do I add a memory section. under the MEM module object? Within the same edma example I have been referring to in this post thread, I edit the main.tcf file and try to add "MYDATASECTION"  as specified below. 

bios.MEM.MYDATASECTIONSEG = prog.get("DDR");

When I save and compile main.tcf I get the following error. 

js: "./main.tcf", line 52: property 'MYDATASECTIONSEG' doesn't exist for instance MEM 

What do I have to do to add a new memory section?

  • You can create a new memory segment with the line:

    bios.MEM.create("DDR2");

    This creates a new memory segment with the name 'DDR2.' You can then alter the properties by using something like the following:

    bios.MEM.instance("DDR2").space = "code/data";

    You can find some more information on how to use the .tcf scripting in the TCONF User's Guide.