生成VLFFT (C6678)工程镜像时,出现如下问题,请问是什么原因?
**** Build of configuration Debug for project vlfft_evmc6678l ****
"D:\\signal\\ti\\ccsv5\\utils\\bin\\gmake" -k all'Building target: vlfft_evmc6678l.out'
'Invoking: C6000 Linker'
"D:/signal/ti/c6000_7.4.14/bin/cl6x" -mv6600 –symdebug:none -O3 –display_error_number –diag_warning=225 –abi=eabi -z -m"vlfft_evmc6678l.map" –warn_sections -i"D:/signal/ti/c6000_7.4.14/lib" -i"D:/signal/ti/c6000_7.4.14/include" -i"D:/signal/ti/edma3_lld_02_11_05_02/packages/ti/sdo/edma3/drv/lib/66/release" -i"D:/signal/ti/edma3_lld_02_11_05_02/packages/ti/sdo/edma3/rm/lib/c6678-evm/66/release" -i"D:/signal/ti/edma3_lld_02_11_05_02/packages/ti/sdo/edma3/drv/sample/lib/c6678-evm/66/release" –reread_libs –xml_link_info="vlfft_evmc6678l_linkInfo.xml" –rom_model -o "vlfft_evmc6678l.out" -l"./configPkg/linker.cmd" "./vlfftApps/vlfftApps.obj" "./vlfftApps/genTestData.obj" "./vlfftEDMA/vlfftEdmaInit.obj" "./vlfftEDMA/vlfftEdmaConfig.obj" "./vlfftSrc/vlfft_2ndIter.obj" "./vlfftSrc/vlfft_1stIter.obj" "./vlfftSrc/vlfftUtil.obj" "./vlfftSrc/vlfftParamsInit.obj" "./vlfftSrc/tsc_h.obj" "./vlfftSrc/transpose_2Rows_8XCols_cplxMatrix_sa.obj" "./vlfftSrc/transpose_2Cols_rowsX8_cplxMatrix_sa.obj" "./vlfftSrc/multiTwiddle_1_sa.obj" "./vlfftSrc/multTwiddle.obj" "./vlfftSrc/messgQUtil.obj" "./vlfftSrc/genTwiddle.obj" "./vlfftSrc/dmaParamInit.obj" "./vlfftSrc/dft.obj" "./vlfftSrc/DSPF_sp_radix4_fftSPxSP.obj" "./vlfftSrc/DSPF_sp_mixedRadix_fftSPXSP.obj" -ledma3_lld_drv.ae66 -ledma3_lld_drv_sample.ae66 -ledma3_lld_rm.ae66 -l"libc.a"<Linking>
"./configPkg/linker.cmd", line 170: error #10099-D: program will not fit into
available memory. run placement with alignment fails for section ".fardata"
size 0x56e8 . Available memory ranges:
L2SRAM size: 0x26000 unused: 0x6 max hole: 0x4"./configPkg/linker.cmd", line 168: error #10099-D: program will not fit into
available memory. placement with alignment fails for section ".const" size
0x4e47 . Available memory ranges:
L2SRAM size: 0x26000 unused: 0x6 max hole: 0x4"./configPkg/linker.cmd", line 158: error #10099-D: program will not fit into
available memory. run placement with alignment fails for section ".stack"
size 0x1000 . Available memory ranges:
L2SRAM size: 0x26000 unused: 0x6 max hole: 0x4"./configPkg/linker.cmd", line 175: error #10099-D: program will not fit into
available memory. run placement with alignment fails for section ".cio"
size 0x127 . Available memory ranges:
L2SRAM size: 0x26000 unused: 0x6 max hole: 0x4"./configPkg/linker.cmd", line 171: error #10099-D: program will not fit into
available memory. placement with alignment fails for section ".switch" size
0x67 . Available memory ranges:
L2SRAM size: 0x26000 unused: 0x6 max hole: 0x4"./configPkg/linker.cmd", line 159: error #10099-D: program will not fit into
available memory. run placement with alignment fails for section "GROUP_1"
size 0x3c . Available memory ranges:
L2SRAM size: 0x26000 unused: 0x6 max hole: 0x4"./configPkg/linker.cmd", line 165: error #10099-D: program will not fit into
>> Compilation failure
available memory. placement with alignment fails for section ".cinit" size
0x1fec . Available memory ranges:
L2SRAM size: 0x26000 unused: 0x2 max hole: 0x2error #10010: errors encountered during linking; "vlfft_evmc6678l.out" not
built
gmake: *** [vlfft_evmc6678l.out] Error 1
gmake: Target `all' not remade because of errors.
**** Build Finished ****
Shine:
从报错信息看,cmd文件里定义的L2SRAM MEMORY大小不够放下.fardata, .const, .stack等段,如果L2SRAM大小不够的话,需要把这些段放到其他的memory。