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.

CCS/TM4C1294NCPDT: TM4C1294NCPDT

Part Number: TM4C1294NCPDT

Tool/software: Code Composer Studio

Hi ,

I am trying to build my app to be loaded with emac bootloader which means it has to be located in Flash starting at 0x4000.

Here is my cmd file which is used by linker

--retain=g_pfnVectors
#define APP_BASE 0x00004000
#define RAM_BASE 0x20000000


MEMORY
{
    FLASH (RX) : origin = APP_BASE, length = 0x00096000
    SRAM (RWX) : origin = RAM_BASE, length = 0x00040000
}


/* Section allocation in memory */


SECTIONS
{
    .intvecs:   > APP_BASE 
    .text   :   > FLASH
    .const  :   > FLASH
    .cinit  :   > FLASH
    .pinit  :   > FLASH
    .init_array : > FLASH

    .vtable :   > 0x20000000
    .data   :   > SRAM
    .bss    :   > SRAM
    .sysmem :   > SRAM
    .stack  :   > SRAM
}


__STACK_TOP = __stack + 512;

When I am building I am getting

<Linking>
"configPkg/linker.cmd", line 208: warning #10096-D: specified address lies outside memory map
error #10264: DEFAULT memory range overlaps existing memory range FLASH
error #10264: DEFAULT memory range overlaps existing memory range SRAM

Where is these defaults are set. How I can fix these problem.

  • Hello Sergey,

    Check your CCS project closely, you have two .cmd files included that are being used. For the one you don't want to use, right click it and select "Exclude from build" and then try and compile again and the error will resolve.