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.

Combine contiguous RAM sections in DSP/BIOS?

Other Parts Discussed in Thread: TMS320F28069

I'm working with DSP/BIOS on a TMS320F28069 device. The "MEM - Memory Section Manager" in the XDCTools configurator has some existing rigidly-defined memory sections based on the "ti.platforms.control28069" platform.

I'd like to combine the L56DPSARAM and L78DPSARAM sections into one 32KB section, or split the .bss and .ebss sections across these two sections, as is possible when manually editing the linker command file, described in this FAQ post on the Processors Wiki...

Is this possible to do within DSP/BIOS?

Thanks,
Dave 

  • Dave,
    the memory layout defined in the platform is just a starting point. You can click on '+' to expand the Memory Section Manager view and then right-click on any of the memory objects. You can right-click on L78DPSARAM, delete it and then right-click on L56DSARAM, select Properties and adjust its size (the property 'len') to include the space previously occupied by L78DPSARAM.

    The section allocations are also managed in the Memory Section Manager. Right-click on the Memory Section Manager and select Properties. Then select Compiler Sections tab. For each section you can select the memory region in the drop-down list on the right.

  • Sasha - Thank you - I have tried deleting sections ('child' nodes) after expanding the Memory Section Manager, but the "Delete" option is disabled in the right-click menu.

    As an interim solution, I have resized L78DSARAM to 0x1000 long, and L56DPSARAM to 0x7000 long. I can further reduce the size of the L78 section if needed.

    What is constraining the deletion of sections in the Memory Section Manager? Is there any way to "unlock" these?

    Thanks,
    Dave 

  • If there are sections allocated to a memory object, I think the object can't be deleted. You have to right-click on the properties of the Memory Section Manager, and then go through all tabs, including compiler sections. If any section is assigned to L78DSARAM you have to reassing it first, to L56DPSARAM, and then you should be able to delete L78DSARAM.

  • Sasha - Thank you - I hadn't thought of that! I will give it a try...