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.

Question on creating table sections for sec bootloader in C6713

Hi,

I want to create a secondary bootloader for C6713 DSP.

I am using the SPRA999A document form TI for this purpose.

The document suggests to create and link the copy table as follows

.text      : load = FLASH_REST, run = IRAM, table(BINIT) 

 .const     : load = FLASH_REST, run = IRAM, table(BINIT)

I have used the same in my linker command file. BUt when I compile the project, the compiler

throws a warning :

warning: table(BINIT) operator ignored for ".text":
   table() operator cannot be associated with empty output section

 warning: table(BINIT) operator ignored for ".const":
   table() operator cannot be associated with empty output section

I cannot see any .binit section in the MAP file.

What do these warnings mean? And how can I resolve the issue?

Thanks,

Aditi.

  • Aditi,

    It seems the linker may be producing empty sections for .text and .const.  Can you provide your map file?

    Also try changing the syntax in your linker command file to look like the following:

    .text : { *(.text) } load = FLASH_REST, run = IRAM, table(BINIT) 

    .const : { *(.const) } load = FLASH_REST, run = IRAM, table(BINIT)

    Regards, Daniel