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.

F28035 debug warning #10247-D

Other Parts Discussed in Thread: CONTROLSUITE

Hello All,

...

warning #10247-D: creating output section "GpioDataRegsFile" without a SECTIONS
specification
warning #10247-D: creating output section "GpioIntRegsFile" without a SECTIONS

...

I receive this warning that I couldnt figure out. I got this warning when I run debug section. There is no warning after I run debug. The message comes for every register defined in _GlobalVariableDefs.c. Can anyone explain how to fix it?

  • I changed my linker file to DSP2803x_Headers_nonBIOS.cmd . That solved the issue a lil bit but now I have new problems as listed below.

    <Linking>
    warning #10247-D: creating output section ".cinit" without a SECTIONS
    specification
    warning #10247-D: creating output section ".ebss" without a SECTIONS
    specification
    warning #10247-D: creating output section ".reset" without a SECTIONS
    specification
    warning #10247-D: creating output section ".text" without a SECTIONS
    specification
    warning #10247-D: creating output section "HRCap1RegsFile" without a SECTIONS
    specification
    warning #10247-D: creating output section "HRCap2RegsFile" without a SECTIONS
    specification
    warning #10247-D: creating output section "codestart" without a SECTIONS
    specification

    error #10099-D: program will not fit into available memory. placement with
    alignment/blocking fails for section ".text" size 0xb5 page 0. Available
    memory ranges:

    error #10099-D: program will not fit into available memory. placement with
    alignment/blocking fails for section ".cinit" size 0x16 page 0. Available
    memory ranges:

    error #10099-D: program will not fit into available memory. placement with
    alignment/blocking fails for section ".reset" size 0x2 page 0. Available
    memory ranges:

    error #10099-D: program will not fit into available memory. placement with
    alignment/blocking fails for section "codestart" size 0x2 page 0. Available
    memory ranges:

    error #10010: errors encountered during linking; "Null Project.out" not built
    gmake: *** [Null Project.out] Error 1
    gmake: Target `all' not remade because of errors.

  • You would generally need the DSP2803x_Headers_nonBIOS.cmd (which places the peripheral structures used within the DSP2803x heade rfiles into the correct memory locations) and a xxx_RAM_lnk.cmd or F2803x.cmd for your specific device (which places the code, data, user defined sections into RAM or Flash). If you look at the examples in ControlSuite, you will be able to see the two linker command files that are typically included in all projects.

  • I thought in the same way as well. I linked DSP_2803x_Heades_nonBIOS.cmd to my project via "Add Files". Nothing changed and I kept receiving the same warning. Then I chose this cmd file you mentioned as the linker command file in project properties. As a result the warning #10247 has gone but now I receive "will not fit into memory" error. I will keep working on fixing this. I may find b4 u answer but please tell me if I am missing sth. 

    I appreciate ur help. Thanks.

  • Here are some links that explain what the "placement fails" errors mean. Basically it means that the linker was unable to fit some sections into the available memory. You would need to either modify your linker command file to adjust memory regions to make the sections fit, or allocate those sections to other regions that have more memory.

    http://processors.wiki.ti.com/index.php/Compiler/diagnostic_messages/10099
    http://processors.wiki.ti.com/index.php/C28x_Compiler_-_Understanding_Linking#Q:_The_linker_says_.22placement_fails_for_object_.27.text.27_.22._How_can_I_make_more_memory_available_for_.text.3F