Other Parts Discussed in Thread: CONTROLSUITE
Tool/software: Code Composer Studio
Hello
I am using the CLA on a TMS320F28379D. For the first task, I had some trouble to get it runnning but in the end it works fine.
When I now want to add a second CLA task, I get some kind of memory problem: program will not fit into available memory. placement with alignment/blocking fails for section "Cla1Prog" size 0xa6e page 0
This is the console log:
**** Build of configuration Debug for project Interleaved_Boost ****
"C:\\Program Files\\ccsv6\\utils\\bin\\gmake" -k all
'Building target: Interleaved_Boost.out'
'Invoking: C2000 Linker'
"C:/Program Files/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --tmu_support=tmu0 --vcu_support=vcu2 --float_support=fpu32 --advice:performance=all -g --define=CPU1 --display_error_number --diag_warning=225 --diag_wrap=off -z -m"Interleaved_Boost.map" --stack_size=0x200 --warn_sections -i"/F2837xD_common/cmd" -i"/F2837xD_headers/cmd" -i"C:/Program Files/ccsv6/tools/compiler/c2000_15.12.3.LTS/lib" -i"C:/Program Files/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" --reread_libs --diag_wrap=off --display_error_number --xml_link_info="Interleaved_Boost_linkInfo.xml" --rom_model -o "Interleaved_Boost.out" "./F2837xD_Adc.obj" "./F2837xD_CodeStartBranch.obj" "./F2837xD_DefaultISR.obj" "./F2837xD_EPwm.obj" "./F2837xD_GlobalVariableDefs.obj" "./F2837xD_Gpio.obj" "./F2837xD_Ipc.obj" "./F2837xD_PieCtrl.obj" "./F2837xD_PieVect.obj" "./F2837xD_SysCtrl.obj" "./F2837xD_usDelay.obj" "./cla.obj" "./cla_taks.obj" "./main.obj" "../SFO_v8_fpu_lib_build_c28.lib" -lrts2800_fpu32.lib -l"C:/Program Files/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_CLA_lnk_cpu1.cmd" -l"C:/Program Files/controlSUITE/device_support/F2837xD/v190/F2837xD_headers/cmd/F2837xD_Headers_nonBIOS_cpu1.cmd"
<Linking>
warning #10247-D: creating output section ".scratchpad" without a SECTIONS specification
"C:/Program Files/controlSUITE/device_support/F2837xD/v190/F2837xD_common/cmd/2837xD_RAM_CLA_lnk_cpu1.cmd", line 82: error #10099-D: program will not fit into available memory. placement with alignment/blocking fails for section "Cla1Prog" size 0xa6e page 0. Available memory ranges:
RAMLS5 size: 0x800 unused: 0x800 max hole: 0x800
error #10010: errors encountered during linking; "Interleaved_Boost.out" not built
gmake: *** [Interleaved_Boost.out] Error 1
gmake: Target 'all' not remade because of errors.
>> Compilation failure
makefile:155: recipe for target 'Interleaved_Boost.out' failed
**** Build Finished ****
I tried to enlarge the memory size of 'RAMLS5' by changing the length from 0x000800 to 0x001000 in the 2827xD_RAM_CLA_lnk_cpu1.cmd but this did not help
MEMORY
{
PAGE 0 :
/* BEGIN is used for the "boot to SARAM" bootloader mode */
BEGIN : origin = 0x000000, length = 0x000002
RAMM0 : origin = 0x000122, length = 0x0002DE
RAMD0 : origin = 0x00B000, length = 0x000800
RAMD1 : origin = 0x00B800, length = 0x000800
RAMLS4 : origin = 0x00A000, length = 0x000800
RAMLS5 : origin = 0x00A800, length = 0x000800 //tried to change this one but same problem remained
RESET : origin = 0x3FFFC0, length = 0x000002
Could I have some input and a way to solve the problem?