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.

Compiler/TMS320F28377D: Stack Section in the Linker Command File

Part Number: TMS320F28377D
Other Parts Discussed in Thread: C2000WARE

Tool/software: TI C/C++ Compiler

Hello experts,

the RAM of the F28377D is devided in the following memory types:

Mx, Dx, LSx and GSx

What memory type is recommended for the STACK ?

Are there any advantages/disadvantages ?

Thank you in advance,

Jan

  • Hi Jan,

    These RAM block differ in number of bus masters it has access to. For example, Mx and DX RAMs are only accessible by C28x core whereas LS RAMs are shared with C28x and CLA. GS RAMs are shared between the 2 CPU subsystems, so you need to make sure the ownership of the RAM is correct assigned to the core which uses it. The GS RAM is also accessible by DMA.

    Please refer to the device TRM (chapter Memory Controller Module) for more details regarding the difference.

    Since stack is only used by C28x core, I would recommend using Mx/Dx RAM. You could also refer to the sample linker command files available in C2000ware.

    Regards,

    Veena

  • Hi Veena,

    now it's clear ;-)

    Thank you very much for your fast and detailed answer,

    Regards,

    Jan