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.

AM5749: TI-RTOS Task stack in L2SRAM

Part Number: AM5749

Hi Dears,

I am using the TMS320C66x DSP CorePac of this SoC.

As data exchanges are required with the Dual Cortex-A15, we retained the IPC stack solution.

Seems that stack is only available on TI-RTOS (no baremetal version is available).

Today, my basic code has really low performance (50 C66x instructions need 2µs to be executed), I suspect the fact that the stacks for the various tasks are in DDR is at the source of this poor performance.

I tried to place the heap in L2SRAM by adding the lines below to the Dsp.cfg file. Unfortunately, this is not enough to place it in L2SRAM.

Program.sectMap[".bss"] = "L2SRAM";

Program.sectMap[".neardata"] = "L2SRAM";

Program.sectMap[".rodata"] = "L2SRAM";


Is there a solution for placing the task stack in L2SRAM?

What other optimizations are possible, given that I'm already compiling the application as release?

Many thanks in advance

Kind regards,