Other Parts Discussed in Thread: TMS320F28379D
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:
- I have tried adjusting the linker command file (28379d_RAM_lnk_cpu1.cmd), specifically modifying the
.text
section allocation to different memory ranges (RAMD0, RAMLS0, etc.). - I attempted to reduce code size and optimize memory usage but still face the same issue.
Questions:
- What could be causing this specific memory allocation error?
- Are there recommended practices for allocating sections in the linker command file for TMS320F28379D projects, specifically concerning the
.text
section? - Could there be settings in CCS or project configurations that might contribute to this problem?
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