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.

Error code #10099-D on CCS5.1

Other Parts Discussed in Thread: TMS320F28035, CONTROLSUITE

hi everyone I'm new in CCS and i use TMS320F28035 

Here is the problem, since i was build my program the error code #10099-D cames out 

**** Build of configuration Debug for project andy1 ****

C:\ti\ccsv5\utils\bin\gmake -k all
'Building file: ../andy1.c'
'Invoking: C2000 Compiler'
"C:/ti/ccsv5/tools/compiler/c2000/bin/cl2000" -v28 -mt -ml -g --include_path="C:/ti/ccsv5/tools/compiler/c2000/include" --include_path="C:/ti/xdais_7_21_01_07/packages/ti/xdais" --include_path="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/cmd" --include_path="C:/ti/ccsv5/tools/compiler/c2000/lib" --include_path="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/include" --include_path="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_common/include" --diag_warning=225 --display_error_number --cla_support=cla0 --preproc_with_compile --preproc_dependency="andy1.pp" "../andy1.c"
'Finished building: ../andy1.c'
' '
'Building target: andy1.out'
'Invoking: C2000 Linker'
"C:/ti/ccsv5/tools/compiler/c2000/bin/cl2000" -v28 -mt -ml -g --diag_warning=225 --display_error_number --cla_support=cla0 -z -m"andy1.map" --stack_size=0x300 --warn_sections -i"C:/ti/ccsv5/tools/compiler/c2000/lib" -i"C:/ti/ccsv5/tools/compiler/c2000/include" -i"C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_common/lib" -i"C:/ti/ccsv5/tools/compiler/c2000/lib" --reread_libs --rom_model -o "andy1.out" "./andy1.obj" "./DSP2803x_usDelay.obj" "./DSP2803x_SysCtrl.obj" "./DSP2803x_Spi.obj" "./DSP2803x_Sci.obj" "./DSP2803x_PieVect.obj" "./DSP2803x_PieCtrl.obj" "./DSP2803x_HRCap.obj" "./DSP2803x_Gpio.obj" "./DSP2803x_GlobalVariableDefs.obj" "./DSP2803x_EQep.obj" "./DSP2803x_EPwm.obj" "./DSP2803x_ECap.obj" "./DSP2803x_ECan.obj" "./DSP2803x_DefaultIsr.obj" "./DSP2803x_CpuTimers.obj" "./DSP2803x_Comp.obj" "./DSP2803x_CodeStartBranch.obj" "./DSP2803x_Adc.obj" -l"libc.a" "../28035_RAM_lnk.cmd" "../DSP2803x_Headers_nonBIOS.cmd"
<Linking>
warning #10247-D: creating output section ".ssram" without a SECTIONS
specification

>> Compilation failure
"../28035_RAM_lnk.cmd", line 112: error #10099-D: placement fails for object
".text", size 0xcbd (page 0). Available ranges:
RAML0L1 size: 0xc00 unused: 0xc00 max hole: 0xc00
error #10010: errors encountered during linking; "andy1.out" not built
gmake: *** [andy1.out] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****

I don't know how to fix it 

Can someone help? 

  • Hi, 

    The cmd file seems to be having some issues. Try replacing the same from the one available in controlSuite. 

    Regards, 

    Gautam

  • Liang-Yen,

    The error message says:

    "../28035_RAM_lnk.cmd", line 112: error #10099-D: placement fails for object
    ".text", size 0xcbd (page 0). Available ranges:
    RAML0L1 size: 0xc00 unused: 0xc00 max hole: 0xc00

    It's telling you that the section .text is of size 0x0cdb words, and is too large to fit in the RAML0L1 memory to which it is linked.  There is onloy 0x0c00 words free in RAML0L1.

    The .text section contains your actual code instructions.  I suspect you've been adding code to your project, and now it has gotten too large to fit in the memory you are linking it to.  You need to adjust your linker .cmd file to link .text to a larger memory, either some large RAM, or start using the flash.

    Regards,

    David

  • Thanks a lot !!!!I

    I just change another cmd file and it works~