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.

C6678 MSM SRAM

Other Parts Discussed in Thread: TMS320C6678

Can the TMS320C6678 - MSM SRAM be partitioned into a program memory AND data memory space?

  • Hi James,

    The MSMC can include data and code you can split the MSMC to two section's code/data and use #pragma DATA_SECTION and CODE_SECTION to define where the data/code will reside in the MSMC,

    Thanks,

    HR

  • James,

    With the DATA_SECTION and CODE_SECTION pragmas, as HR describes, you will define sections in your linker command file and use those pragmas to locate variables and functions into specific sections. These sections will have been placed in MSM SRAM in the linker command file.

    You can also move the .text and .bss and other standard sections to MSM SRAM space to let the linker naturally allocate your program and data in that space.

    You will usually want to make separate linker command files for each core so you can keep these allocations independent for the several cores. In some cases, you may want them allocated to the same space, but this must be done with special care. The easiest method is keeping them separated.

    Regards,
    RandyP