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.
Tool/software: Code Composer Studio
Good Day,
I am brand new to the 28035 board, and embedded development in general, so excuse me. I have been working with the C2000 Piccolo Multi-Day workshop, and I've successfully gotten through all of the labs up to Lab 9.
The problem I'm running into is that the .out file is not getting built. I'm suspecting that it has to do with the error line saying that the line
".cinit : > L0SARAM, PAGE = 0"
does not fit into memory.
Here are the error outputs:
Building target: "Lab9.out"
Invoking: C2000 Linker
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-c2000_18.12.4.LTS/bin/cl2000" --silicon_version=28 -g --diag_warning=225 --large_memory_model --unified_memory --cla_support=cla0 -z -m"Lab9.map" --stack_size=0x200 --warn_sections -i"C:/ti/c2000/C2000Ware_2_01_00_00/libraries/math/IQmath/c28/lib" -i"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-c2000_18.12.4.LTS/lib" -i"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-c2000_18.12.4.LTS/include" --reread_libs --xml_link_info="Lab9_linkInfo.xml" --rom_model -o "Lab9.out" "./Adc.obj" "./ClaTasks.obj" "./Cla_9.obj" "./CodeStartBranch.obj" "./DSP2803x_GlobalVariableDefs.obj" "./DefaultIsr_9_10.obj" "./DelayUs.obj" "./ECap_7_8_9_10_12.obj" "./EPwm_7_8_9_10_12.obj" "./Filter.obj" "./Gpio.obj" "./Main_9.obj" "./PieCtrl_5_6_7_8_9_10.obj" "./PieVect_5_6_7_8_9_10.obj" "./SysCtrl.obj" "./Watchdog.obj" "../DSP2803x_Headers_nonBIOS.cmd" "../Lab_9.cmd" -l"C:/ti/c2000/C2000Ware_2_01_00_00/libraries/math/IQmath/c28/lib/IQmath.lib" -lrts2800_ml.lib
<Linking>
"../Lab_9.cmd", line 38: error: program will not fit into available memory.
placement with alignment/blocking fails for section ".cinit" size 0x77 page
0. Available memory ranges:
L0SARAM size: 0x800 unused: 0x74 max hole: 0x74
error: errors encountered during linking; "Lab9.out" not built
>> Compilation failure
makefile:151: recipe for target 'Lab9.out' failed
gmake: *** [Lab9.out] Error 1
gmake: Target 'all' not remade because of errors.
**** Build Finished ****
I found another user with the exact same problem, but that issue did not really ever get resolved. I've circled back on the instructions many times, and even ran the straight solution project, and every time I build, I get the same problems.
Thanks in advance