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.

LAUNCHXL-F28379D: Difficulty with Memory Allocation in CCS for TMS320F28379D Project

Part Number: LAUNCHXL-F28379D
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:

  1. 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.).
  2. I attempted to reduce code size and optimize memory usage but still face the same issue.

Questions:

  1. What could be causing this specific memory allocation error?
  2. Are there recommended practices for allocating sections in the linker command file for TMS320F28379D projects, specifically concerning the .text section?
  3. 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