TI中文支持网
TI专业的中文技术问题搜集分享网站

TMS320F28335: 无法编译,总是有四个错误两个警告,用的是ccs6.2添加了ccs5.5的仿真功能

Part Number:TMS320F28335

"D:\\TI\\ccsv6\\utils\\bin\\gmake" -k all'Building target: TEST6.out'
'Invoking: C2000 Linker'
"D:/TI/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt –float_support=fpu32 -g –display_error_number –diag_warning=225 –diag_wrap=off –printf_support=minimal -z -m"TEST6.map" –stack_size=0x300 –warn_sections -i"D:/TI/ccsv6/tools/compiler/c2000_15.12.3.LTS/lib" -i"D:/TI/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" –reread_libs –diag_wrap=off –display_error_number –xml_link_info="TEST6_linkInfo.xml" –rom_model -o "TEST6.out" "./hello.obj" "../28335_RAM_lnk.cmd" "../DSP2833x_Headers_nonBIOS.cmd" -llibc.a<Linking>
warning #10247-D: creating output section ".cio" without a SECTIONS specification

warning #10210-D: creating ".esysmem" section with default size of 0x400; use the -heap option to change the default size
>> Compilation failure
makefile:141: recipe for target 'TEST6.out' failed
"../28335_RAM_lnk.cmd", line 137: error #10099-D: program will not fit into available memory. run placement with alignment/blocking fails for section ".stack" size 0x300 page 1. Available memory ranges:
RAMM1 size: 0x400 unused: 0x0 max hole: 0x0error #10010: errors encountered during linking; "TEST6.out" not built
gmake: *** [TEST6.out] Error 1
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

Yale Li:

您好,看一下warning:

?? ? 说:warning #10247-D: creating output section ".cio" without a SECTIONS specification

您没有在链接器命令文件中为.cio指定内存分配;

?? ? 说:warning #10210-D: creating ".esysmem" section with default size of 0x400; use the -heap option to change the default size

.esysmem分配的是默认大小的内存,应该是不够。

?? ? 说:"../28335_RAM_lnk.cmd", line 137: error #10099-D: program will not fit into available memory. run placement with alignment/blocking fails for section ".stack" size 0x300 page 1.

给栈分配的大小也不够。可用的分配范围:

?? ? 说:Available memory ranges: RAMM1 size: 0x400 unused: 0x0 max hole: 0x0

赞(0)
未经允许不得转载:TI中文支持网 » TMS320F28335: 无法编译,总是有四个错误两个警告,用的是ccs6.2添加了ccs5.5的仿真功能
分享到: 更多 (0)