Tool/software: TI C/C++ Compiler
Hi , I have loaded UART bootloader into TMS570ls0432 lower flash memory . I have attached memory configuration also .
But I have confusion about linker command file for other new images to be loaded .
Here is linker.cmd for bootloader
MEMORY
{
VECTORS (X) : origin=0x00000000 length=0x00000200
BOOT_LOAD (RX) : origin=0x00000200 length=0x00001000
FLASH_API (RX) : origin=0x00001200 length=0x00001000
FLASH0 (RX) : origin=0x00002200 length=0x00050000
SRAM (RW) : origin=0x08002000 length=0x0005c000
STACK (RW) : origin=0x08000000 length=0x00001FF0
}
And this here is new application project linker,cmd file
MEMORY
{
VECTORS (X) : origin=0x00002000 length=0x00000200
FLASH0 (RX) : origin=0x00002200 length=0x0005FFE0
STACKS (RW) : origin=0x08000000 length=0x00001500
RAM (RW) : origin=0x08001500 length=0x00006B00
}
But it is not working .
I have not clear idea of how to configure new linker command file .
Does i need to add again VECTORS (X) in new project ? (Reset vector must be same for both )
when I am loading new project with above configuration using ccs to test it is erasing my bootloader .
Thank you .
Indrajit .