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.

TMS570LS3137: TMS570LS3137: Linker Command File

Part Number: TMS570LS3137

Hi,

I'd like to have secondary bootloader on Bank1 to update main bootloader on Bank0.

Also i have the application on bank1.

I am on CCS9.3

Linker commad file is like below:

MEMORY
{
    BOOTVECTORS  (X)  : origin=0x00000000 length=0x00000020
    BOOTFLASH    (RX) : origin=0x00000020 length=0x0007FFE0
    BOOT1VECTORS (RX) : origin=0x00180000 length=0x00180020
    BOOT1FLASH   (RX) : origin=0x00180020 length=0x0003FFE0
    APPVECTORS   (RX) : origin=0x001C0000 length=0x00000020
    APPFLASH     (RX) : origin=0x001C0020 length=0x0013FFC0
    APPINFO      (RX) : origin=0x002FFFE0 length=0x00000020
    STACKS       (RW) : origin=0x08000000 length=0x00001500
    RAM          (RW) : origin=0x08001500 length=0x0003EB00

}

SECTIONS
{
    .intvecs : {} > BOOTVECTORS
    .text    : {} > BOOTFLASH
    .const   : {} > BOOTFLASH
    .cinit   : {} > BOOTFLASH
    .pinit   : {} > BOOTFLASH
    .bss     : {} > RAM
    .data    : {} > RAM
    .sysmem  : {} > RAM
    

}

When i try to compile , i get memory range overlap errors like below:

#10010 errors encountered during linking; "BootloaderPGEClipped_JumpBL2.out" not built
#10264 APPFLASH memory range overlaps existing memory range BOOT1VECTORS
#10264 APPINFO memory range overlaps existing memory range BOOT1VECTORS
#10264 APPVECTORS memory range overlaps existing memory range BOOT1VECTORS
#10264 BOOT1FLASH memory range overlaps existing memory range BOOT1VECTORS
gmake: *** [all] Error 2
gmake[1]: *** [BootloaderPGEClipped_JumpBL2.out] Error 1
gmake[1]: Target 'secondary-outputs' not remade because of errors.

Thanks in advance.