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.

CCS/TMS320F28379D: Limits of memory

Part Number: TMS320F28379D

Tool/software: Code Composer Studio

When loading our program into the microcontoller, we are limited at 8kB of RAM beyond, the software informs us an error loading program due to memory.

error #10099-D: program will not fit into available memory.

 

We realized the test by putting an empty program and coding an array of 4096 integers either (4096 * 16bits = 65536 bits ie 8192 bytes or 8kB).

How can we change this threshold because we don't use whole memory.

In Which function do we must take action to change this threshold ?

Do we must take action of the memory map directly ? Is there a risk to modify memory adress in a file memory map ?

Best regards.

  • Hi,

    You should edit cmd file, comment few contiguous MEMORY pieces and create new one larger like this:

      //RAMGS0      : origin = 0x00C000, length = 0x001000

      //RAMGS1      : origin = 0x00D000, length = 0x001000

       //RAMGS2      : origin = 0x00E000, length = 0x001000

     RAMGS02      : origin = 0x00C000, length = 0x003000

    then change PLACEMENT accordingly to combined segment.

    • Is there a risk to modify memory adress in a file memory map ?

    Yes, of course, you should be careful.

    Different memories have different properties. Some RAMs are useful for DMA or CLA, while others not. I guess this is why default cmd files are not universal for everything. It would be simple to have common RAM and common flash, but how could you dedicate and configure for example LS0 for CLA data and LS5 for CLA code..

    Edward