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.

TMS320F28027: 因为是UPS逆变故电压和电流采集的AD值均以数组形式保存,但数组个数多的时候出现如下错误

Part Number: TMS320F28027


>> Compilation failure
makefile:182: recipe for target '28027_SIN.out' failed
"../M_F28027.cmd", line 135: error: 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 ".cio" size 0x120 page 1. Available memory ranges:
RAMM1 size: 0x400 unused: 0x0 max hole: 0x0
DRAML0 size: 0x800 unused: 0xb8 max hole: 0xb8
.cio : >> RAMM1 | DRAML0 PAGE = 1// //.cio 这个在HFUPS文件开头 : >> RAMM1 | DRAML0 | DRAMLL0 PAGE = 1// .cio : >> RAMM0 | RAMM1 | DRAML0 PAGE = 1
error: errors encountered during linking; "28027_SIN.out" not built
gmake: *** [28027_SIN.out] Error 1
gmake: Target 'all' not remade because of errors.

以上是CC12编译器的错误信息提示,请问这怎么解决?

还有怎么看编译后生成的代码的大小?

谢谢!