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/TMS320F28388D: linker cmd file. program will not fit into

Part Number: TMS320F28388D

Tool/software: Code Composer Studio

Hi TI

I have a project where my linker cmd file complains about the .bss.

How can i make some more space for it?

Can i combine SRAM so i just make one memory location called SRAM with the legtht F800? or do i have to have 4 S0RAM, S1RAM, S2RAM, S03RAM memories with 3800, 4000, 4000, 4000 length?

Or can i put .bss in another location than SRAM?

ragards 

Asbjørn Schram Anneberg

  • Hi,

     Can i combine SRAM so i just make one memory location called SRAM with the legtht F800? or do i have to have 4 S0RAM, S1RAM, S2RAM, S03RAM memories with 3800, 4000, 4000, 4000 length?

    You can combine different memory section into one and assign the section is is not fitting into on RAM block.

    Regards,

    Vivek Singh

  • So if i understand, this is the same?:

    S0RAM : origin = 0x20000800, length = 0x00003800
    S1RAM : origin = 0x20004000, length = 0x00004000
    S2RAM : origin = 0x20008000, length = 0x00004000
    S3RAM : origin = 0x2000C000, length = 0x00004000

    as

    SRAM : origin = 0x20000800, length = 0x0000F800

  • That is correct. 

    Regards,

    Vivek Singh

  • Just one note that these RAM blocks are accessible from CPU as well as uDMA and EtnerNET DMA so when you combined them in one block then code/data allocated to this RAM section may split across different RAM block hence may provide different access time based on the arbitration. 

    Regards,

    Vivek Singh