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.

what is linkcmd.xdt?

When i open a linker.cmd file in the ipc demo provided with the board named DSPC8681, I find the following instruction:

/*
 * Do not modify this file; it is automatically generated from the template
 * linkcmd.xdt in the ti.targets.elf package and will be overwritten.
 */

So, i know this linker.cmd file can not be modified now.

Then it writes:

MEMORY
{
    MSMCSRAM (RWX) : org = 0xc000000, len = 0x400000
    L1DSRAM (RW) : org = 0xf00000, len = 0x8000
    L1PSRAM (RWX) : org = 0xe00000, len = 0x8000
    L2SRAM (RWX) : org = 0x800000, len = 0x60000
    MSG_HOST_TO_DSP (RWX) : org = 0x80000000, len = 0x1000000
    DDR3 (RWX) : org = 0x81000000, len = 0x2f000000
    DDR3_PCIE_RESERVED1 (RWX) : org = 0xb0000000, len = 0x8000000
    DDR3_PCIE_RESERVED2 (RWX) : org = 0xb8000000, len = 0x8000000
}

But, in another demo named image-processing, the same linker file writes:

MEMORY
{
    L2SRAM (RWX) : org = 0x800000, len = 0x40000
    MSMCSRAM_MASTER (RWX) : org = 0xc000000, len = 0x100000
    MSMCSRAM_SLAVE (RWX) : org = 0xc100000, len = 0x100000
    MSMCSRAM_IPC (RWX) : org = 0xc200000, len = 0x200000
    DDR3 (RWX) : org = 0x80000000, len = 0x10000000
}

They are different !!

I remember I managed to modify the linker.cmd file in CCS3.3, DSP/BIOS, and the board was EVMDM6437.

But Now the "linker.cmd" file tells me it can NOT be modified, and i can't find the linkcmd.xdt file.

What is linkcmd.xdt?

Where can i find it?

How can i modify the MEMORY defines in linker.cmd?

I am a ccs5.5 and sys/bios new user.

thank you.

  • Welcome to the TI E2E forum. I hope you will find many good answers here and in the TI.com documents and in the TI Wiki Pages (for processor issues). Be sure to search those for helpful information and to browse for the questions others may have asked on similar topics (e2e.ti.com).

    We will get back to you on the above. Thank you for your patience.
  • Hi,

    For my understanding linkcmd.xdt is used for allocating the code/data memory.

    You can find the *.xdt file in TI pdk, ipc, bios and xdctools. For example \ti\ipc_3_22_02_11\packages\ti\sdo\ipc\family\f28m35x\linkcmd.xtc

    If the project is using RTSC, the *.cmd file itself is probably auto generated, In that case, you can not directly modify the cmd file. Please take a look at below link to modify the .cfg file.

    http://rtsc.eclipse.org/docs-tip/Demo_of_the_RTSC_Platform_Wizard_in_CCSv4

    Better to post .xtc related question to TI-RTOS forum in feature.

    Thanks,
  • OK, thank you,
    I searched the "linkercmd.xdt" file in TI directory and found tens of them.
    so can i know which of them is used in my project? the one in pdk dir? the one in ipc dir? or the one in xdctools dir?
    which file or configuration implies the project to choose the right one? : )
  • We will support device/platform related queries only. Please post your BIOS related queries to BIOS Forum.