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.

Need a linker command file sample for TIC6455 processor

Hi all

 

      I just installed the CCSv4 and it used be back when there was just the plain old CCS there used to be lot of example projects and i would easily get a cmd file and use it. Can someone give me an example .cmd file for C6455 processor?. Thanks.

  • Here is a very simple linker command fole for the 6455.  This one puts everything into L2.  You'll need to tweak to fit your needs.

     

    /******************************************************************************/
    /*  link_6455.cmd                                                             */
    /*  Copyright (c) 1997-2010  Texas Instruments Incorporated                   */
    /******************************************************************************/
    -stack 0x800
    -heap 0x800


    MEMORY
    {
       L1D:        o=0x00f00000 l=0x00008000
       L1P:        o=0x00e00000 l=0x00008000
       L2:    o=0x00800000 l=0x001F0000
       L2A:      o=0x009F0000 l=0x00010000
       RESMEM:    o=0xE0000000 l=0x01000000
    }
      
    SECTIONS
    {
      .bss        > L2
      .far        > L2
      .text       > L2
      .cinit      > L2
      .const      > L2
      .stack      > L2
      .cio            > L2
      .sysmem        > L2
      .switch        > L2
    }

     

    Regards,

    Dan