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.