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.

MSP430FR5969: MSP430FR5969

Part Number: MSP430FR5969

Dear friends,

I got the compilation error as below:

remark #10372-D: (ULP 4.1) Detected uninitialized Port A in this project. Recommend initializing all unused ports to eliminate wasted current consumption on unused pins.
"../lnk_msp430fr5969.cmd", line 192: error #10099-D: program will not fit into available memory, or the section contains a call site that requires a trampoline that can't be generated for this section. run placement with alignment fails for section ".stack" size 0x400. Available memory ranges:
remark #10372-D: (ULP 4.1) Detected uninitialized Port B in this project. Recommend initializing all unused ports to eliminate wasted current consumption on unused pins.

>> Compilation failure
makefile:180: recipe for target 'Engr1.out' failed
RAM size: 0x800 unused: 0x336 max hole: 0x336
error #10010: errors encountered during linking; "Engr1.out" not built
gmake[1]: *** [Engr1.out] Error 1
makefile:176: recipe for target 'all' failed
gmake: *** [all] Error 2

My question is: how to increase the stack size to let program fit into available memory as the failure note?

Thanks

  • Hello Chris,

    You can set the stack size in your CCS project by right clicking your project-->Properties-->MSP Linker-->Basic Options

  • Here is my new config, I increase stack size from 1024 to 2048:

    but the compilation still failed with the error:

    "../lnk_msp430fr5969.cmd", line 189: error #10099-D: program will not fit into available memory, or the section contains a call site that requires a trampoline that can't be generated for this section. run placement with alignment fails for section ".bss" size 0xae. Available memory ranges:
    RAM size: 0x800 unused: 0x0 max hole: 0x0
    "../lnk_msp430fr5969.cmd", line 190: error #10099-D: program will not fit into available memory, or the section contains a call site that requires a trampoline that can't be generated for this section. run placement with alignment fails for section ".data" size 0x41b. Available memory ranges:
    RAM size: 0x800 unused: 0x0 max hole: 0x0
    error #10010: errors encountered during linking; "Engr1.out" not built

  • Eddie LaCost said:

    Hello Chris,

    You can set the stack size in your CCS project by right clicking your project-->Properties-->MSP Linker-->Basic Options

    Here is my new config, I increase stack size from 1024 to 2048:

    but the compilation still failed with the error:

    "../lnk_msp430fr5969.cmd", line 189: error #10099-D: program will not fit into available memory, or the section contains a call site that requires a trampoline that can't be generated for this section. run placement with alignment fails for section ".bss" size 0xae. Available memory ranges:
    RAM size: 0x800 unused: 0x0 max hole: 0x0
    "../lnk_msp430fr5969.cmd", line 190: error #10099-D: program will not fit into available memory, or the section contains a call site that requires a trampoline that can't be generated for this section. run placement with alignment fails for section ".data" size 0x41b. Available memory ranges:
    RAM size: 0x800 unused: 0x0 max hole: 0x0
    error #10010: errors encountered during linking; "Engr1.out" not built

    Dear Eddie,

    I accidently click on the "This resolved my issue". 

    But My issue still not be resolved. Please help

    Thanks

  • > RAM size: 0x800 unused: 0x336 max hole: 0x336

    Try a value less than 0x336, e.g. 0x300=768. This is still pretty big if you only have 0x800=2048 bytes of RAM to start with, but it should get you going.

**Attention** This is a public forum