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.

TMS320F28388D: CMD文件stack分配问题

Part Number: TMS320F28388D
Other Parts Discussed in Thread: TMS320F28377D, C2000WARE

原项目使用TMS320F28377D,stack size设置为0x400。新项目使用TMS320F28388D,stack size设置为0x400,CCS12编译报错"../device/2838x_FLASH_lnk_cpu1.cmd", line 73: error #10099-D: program will not fit into available memory, or the section contains a call site that requires a trampoline that can't be generated for this section.

现有以下3个疑问:

1.stack是否一定要设置在RAMM1中,是否可以放在其他区域,比如RAMLS0 ,RAMGS0 中?

2.使用以下语句,把stack放进RAMM0 , RAMM1

   .stack              : >> RAMM0 | RAMM1

编译会报错,"../device/2838x_FLASH_lnk_cpu1.cmd", line 73: error #10099-D: program will not fit into available memory, or the section contains a call site that requires a trampoline that can't be generated for this section. run placement with alignment/blocking fails for section ".stack" size 0x400 page 0.  Available memory ranges:

这是为什么?要怎么才能把stack放进RAMM0 , RAMM1

3.比如我想设置一个更大的stack size,该怎么设置。

感谢回答!