Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

CCS/TMS320F28377S: TMS320F28377S

$
0
0

Part Number:TMS320F28377S

Tool/software: Code Composer Studio

Hi

I am getting this error:


**** Build of configuration CPU1_RAM for project 160kHz_one_input_two_out_SecondLPF ****

"C:\\ti\\ccsv8\\utils\\bin\\gmake" -k all

Building file: "../160kHz_one_input_two_out_SecondLPF.c"
Invoking: C2000 Compiler
"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.2.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.2.LTS/include" --include_path="C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xs/headers/include" --include_path="C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xs/common/include" --include_path="C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xs/examples/cpu1/cla_adc_fir32/cpu01/" --define=_LAUNCHXL_F28377S --define=CPU1 -g --diag_suppress=10063 --diag_suppress=10068 --diag_suppress=1311 --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="160kHz_one_input_two_out_SecondLPF.d_raw" "../160kHz_one_input_two_out_SecondLPF.c"
Finished building: "../160kHz_one_input_two_out_SecondLPF.c"

Building target: "160kHz_one_input_two_out_SecondLPF.out"
Invoking: C2000 Linker
"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.2.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --define=_LAUNCHXL_F28377S --define=CPU1 -g --diag_suppress=10063 --diag_suppress=10068 --diag_suppress=1311 --diag_warning=225 --diag_wrap=off --display_error_number -z -m"160kHz_one_input_two_out_SecondLPF.map" --stack_size=0x100 --warn_sections -i"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.2.LTS/lib" -i"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.2.LTS/include" -i"C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xs/common/cmd" -i"C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xs/headers/cmd" --reread_libs --display_error_number --xml_link_info="160kHz_one_input_two_out_SecondLPF_linkInfo.xml" --rom_model -o "160kHz_one_input_two_out_SecondLPF.out" "./160kHz_one_input_two_out_SecondLPF.obj" "./F2837xS_Adc.obj" "./F2837xS_CodeStartBranch.obj" "./F2837xS_DefaultISR.obj" "./F2837xS_EPwm.obj" "./F2837xS_GlobalVariableDefs.obj" "./F2837xS_Gpio.obj" "./F2837xS_PieCtrl.obj" "./F2837xS_PieVect.obj" "./F2837xS_SysCtrl.obj" "./F2837xS_usDelay.obj" "./fir32.obj" -llibc.a -lrts2800_fpu32.lib -l2837xS_RAM_CLA_lnk_cpu1.cmd -lF2837xS_Headers_nonBIOS.cmd
<Linking>
"C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xs/common/cmd/2837xS_RAM_CLA_lnk_cpu1.cmd", line 73: error #10099-D: program will not fit into available memory. placement with alignment/blocking fails for section ".text" size 0x1282 page 0. Available memory ranges:
RAMM0 size: 0x2de unused: 0x0 max hole: 0x0
RAMD0 size: 0x800 unused: 0xd max hole: 0xd
RAMD1 size: 0x800 unused: 0x12 max hole: 0x12
error #10010: errors encountered during linking; "160kHz_one_input_two_out_SecondLPF.out" not built

>> Compilation failure
makefile:153: recipe for target '160kHz_one_input_two_out_SecondLPF.out' failed
gmake: *** [160kHz_one_input_two_out_SecondLPF.out] Error 1
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

How can I figure which part does not fit into section ".text" size 0x1282 page 0?

If I look into linker memory map I have this line

".text.1    0    00000000    00000037     FAILED TO ALLOCATE"

view/memory allocation gives me a red line with 55 number in it.

Before using CLA I used all defaults setting, all programs fit. But with CLA I found a couple extra lines of code can cause this error. I looked through 

C28x Compiler - Understanding Linking

but still struggle to understand which part of the code goes to where, how do 
I control it. .spru513 states that .text section contains exe code. How can I find out how many bytes I am above the limit?

thanks vadim
 


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>