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.

TMS320F28379D: Linker command file memory allocation

Part Number: TMS320F28379D

Tool/software:

Dear person in charge

The F28379D can access the CLA in the following memory sections:

LS0RAM   2K word    0x8000 -

LS1RAM   2K word    0x8800 -

LS2 RAM  2k word   0x9000 -

LS3 RAM  2k word   0x9800 -

LS4 RAM 2k word   0xA000 -

LS5 RAM 2k word   0xA800 -

In a linker command file, we usually allocate memory in sections as follows:.

RAMLS012 : origin = 0x008000, length = 0x001800         /* L0-2 RAM, DCSM secure, CLA Data RAM */

RAMLS345 : origin = 0x009800, length = 0x001800      /* L3-5 RAM, DCSM secure, CLA Program RAM */
Is it possible to divide and assign them at non-boundary points as follows?

RAMLS012 : origin = 0x008000, length = 0x001B00         /* L0-2 RAM, DCSM secure, CLA Data RAM */

RAMLS345 : origin = 0x009B00, length = 0x001500      /* L3-5 RAM, DCSM secure, CLA Program RAM */
I look forward to your reply. 

  • Hi Isao,

    We can combine the memory regions as you have done. There are no issues in it.

    The main point is you should not get confused that RAMLS0-2 is of length 1B00, instead i would suggest renaming the section from RAMLS012 to something to avoid confusion later.

    Functionality wise i don't see an issue.

    Thanks

    Aswin