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.

CC1310: Does this warning mean that my CC1310 chip has run out of memory for more programs?

Part Number: CC1310


Tool/software:

Hi TI team, my program compiled great with three tasks, a mailbox etc, when I add a fourth task and a second mailbox I get this warning and the executable is not built, what is the reason?

What can I do to solve it?

<Linking>
warning #10457-D: Use of variable-length arrays is not thread-safe.
"../CC1310_LAUNCHXL_TIRTOS.cmd", line 95: 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:
SRAM size: 0x5000 unused: 0x648 max hole: 0x332
error #10010: errors encountered during linking; "Prog02_MultiTask.out" not built

Thanks in advance.

  • Hi,

    The error here does indeed indicate a placement error (related to either RAM placement or Flash placement).

    Here is a RAM placement issue.

    You have unused space of 0x648 overall, but it seems to be fragmented such that the maximum contiguous space is 0x332, which is smaller than 0x400.

    Do you use a lot of arrays in your program? If yes, what is the nature of those arrays? Are they placed in specific RAM addresses (not default)?

    Typically the compiler would have freedom to place RAM-stored components (variables, stack, heap) in such a way to enable a good fit.

    Can you share your map file?

    Thanks,
    Toby