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.

TMS320F280039C-Q1: Linker file configurations using sys config

Part Number: TMS320F280039C-Q1

Hello, 

I am using sys config to generate the linker CMD file, and I want a hex file filled with dummy values (0xff) for unused addresses.

For example, if I have a flash section in the linker file from address 0x00 to 0x800 and the size of the application is 0x400 only, the hex file will be generated until address 0x400 only, unless I add in the linker file keyword fill = 0xff, as follows

APPLICATION               : origin = 0x0000, length = 0x800, fill=0xff.

my issue is I can't add fill=0xff using the sys config.

so, is there any way to add it using sys config?

or is there another way to achieve the same goal using C2000 Linker options or C2000 Hex utility in the project properties?

  • Hi,

    Currently the tools only supports fill values for sections. This is something we have in our tool enhancements and will be addresses in future releases.

    For now, you may need to manually insert the fill keyword in the linker cmd file

    For hex utility, there are option to add fill values. Please refer to the TMS320C28x Assembly Language Tools document for more details

    Regards,

    Veena