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.

User Linker .cmd file DSPBIOS

CCS 5

DSPBIOS 5_42_01

C5000

Page 145 in SPRU423I states how to define memory sections for non-DSP/BIOS segments in a DSP/BIOS project.

I have done everything according to the data sheet and put cmd-file in the project folder. Linker returns almost 200 warnings and 13 errors:

My Linker file:

/* First include DSP/BIOS generated cmd file. */
-l maincfg.cmd

SECTIONS 
{

   .buf5:       {} > DARAM
   .ecuheap:    {} > DARAM

   .buf1:       {} > SARAM
   .buf2:       {} > SARAM

   .buf6:       {} > SARAM1
   .buf14:      {} > SARAM1
    

   .ecu_lib: 
   {
	  util_c.a55L*(.text)
	  util_c.a55L*(.const)

   } > SARAM2
   
   /* all other user code in off device ram */
      .text:    {} > SARAM3	PAGE 0
      .switch:  {} > SARAM3	PAGE 0
      .bss:     {} > SARAM3	PAGE 0
      .cinit:   {} > SARAM3	PAGE 0
      .pinit:   {} > SARAM3	PAGE 0
	  .const:	{} > SARAM3	PAGE 0
	  .data:	{} > DARAM	PAGE 0
	  .cio:		{} > SARAM3	PAGE 0
   /* user data in on-device ram */


} 

Where am I wrong?

Thank you.