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.
Hello TI Community,
I am working on a project using the TMS320F28379D microcontroller and have encountered a challenging issue in Code Composer Studio (CCS). I'm seeking guidance or suggestions to resolve it.
Issue Description: I am receiving a "memory will not fit" error during the linking phase of my build process. The specific error message is as follows:
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. Placement with alignment/blocking fails for section ".text" size 0x3398 page 0. Available memory ranges: RAMLS4 size: 0x800 unused: 0x800 max hole: 0x800
Attempts to Resolve:
.text
section allocation to different memory ranges (RAMD0, RAMLS0, etc.).Questions:
.text
section?Any insights, suggestions, or examples would be greatly appreciated. Attached below is a snippet of my linker command file for reference:
Thank you in advance for your assistance!
Best regards,
N
Add the compiler option --gen_func_subsections and build again.
I presume you do not use this option. It causes each function to be allocated to a separate input section. Those smaller input sections usually allocate better across the section splitting allocation you do with .text.
Please let me know if this suggestion resolves the problem.
Thanks and regards,
-George
Hi George,
Thank you for your suggestion to add the --gen_func_subsections
option to the compiler settings. I'm quite new to this and I'm not entirely sure where to add this command in the Code Composer Studio environment. Could you please guide me through the process or point me to the right section in CCS where I can add this compiler option?
I appreciate your help and look forward to your guidance.
Best regards,
N
Thank you for your suggestion to use the --gen_func_subsections
compiler option. I appreciate your help.
N