CCS version 5.4
EK-TM4C123GXL eval kit.
Using TI RTOS I have created a project. And tried to modified FLASH address in tm4c123gh6pm.cmd file as below.
#define APP_BASE 0x00000800
#define RAM_BASE 0x20000000
MEMORY
{
FLASH (RX) : origin = APP_BASE, length = 0x00040000
SRAM (RWX) : origin = 0x20000000, length = 0x00008000
}
But compilation give following error.
-l"./configPkg/linker.cmd" "./main.obj" -l"libc.a" "../tm4c123gh6pm.cmd"
<Linking>
"./configPkg/linker.cmd", line 132: 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
error #10010: errors encountered during linking; "my_rtos2.out" not built
linker.cmd file, line 132 is .resetVecs: load > 0x0
Problem is only when change the FLASH address otherwise its fine.
How can I change FLASH address of the application that I am compiling. I have flashed Serial Bootload at address 0x00000000. That jump to the 0x00000800 location and runs the application. Reason for this is to upgrade application firmware.
Please Suggest....