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.

TMS320F28P650DK: BEGIN file in the cmd file

Part Number: TMS320F28P650DK
Other Parts Discussed in Thread: C2000WARE, SYSCONFIG

Hi experts,

I found in the new SDK the cmd file do not contian the BEGIN section for FLASH

image.png

image.png

In old SDK, there is a BEGIN for FLASH configuration

image.png

image.png

image.png

However, for RAM, there is still a section for BEGIN like before

image.png

image.png

Here are some questions:

Does new compiler will automatically reserve space for BEGIN code in FLASH mode?

Why RAM mode still need BEGIN define in cmd file?

Thanks,

Leo

  • Hi Leo, 

    Can you point out where did you find this linker cmd file? Which C2000Ware SDK version are you having issues with?

    Latest SDK 6.00.01 is in correct format.

    I am able to see the BEGIN section in the 28p65x_generic_flash_lnk_cpu1.cmd file, please cross check again.

    BEGIN : origin = 0x080000, length = 0x000002 // Update the codestart location as needed

    Thanks

    Aswin

  • Hi Aswin,

    I found this cmd file in SDK 6.00.00. It is generated by syscfg.

    Thanks,

    Leo

  • Hi Leo, 

    In the syscfg generated cmd file, we are using this format. It has no change wrt the older SDK, just the address is added directly in the sysconfig generated one. 

    There are non sysconfig generated linker cmd file present in the SDK, please refer to - C2000Ware_6_00_01_00\device_support\f28p65x\common\cmd

    RAM linker cmd - 28p65x_generic_ram_lnk_cpu1.cmd

    FLASH linker cmd - 28p65x_generic_flash_lnk_cpu1.cmd

    Thanks

    Aswin