Tool/software: Code Composer Studio
Dear team
My customer wanted to use the vectors at 0x00180000 not 0x00000000.
So If the vector address points to another location(0x00180000 ), what other operations need to be handled?
bootloader cmd :
MEMORY
{
VECTORS (X) : origin=0x00000000 length=0x00000020
FLASH0 (RX) : origin=0x00000020 length=0x0017ffe0
//LS31x and RM48 Flash size is 0x300000
SRAM (RW) : origin=0x08002000 length=0x0002D000
STACK (RW) : origin=0x08000000 length=0x00002000
}
SECTIONS
{
.intvecs : {} > VECTORS
.text > FLASH0
.
const
> FLASH0
.cinit > FLASH0
.pinit > FLASH0
.data > SRAM
.bss > SRAM
}
MEMORY
{
VECTORS (X) : origin=0x00180000 length=0x00000020
FLASH1 (RX) : origin=0x00180020 length=0x0017ffe0
STACKS (RW) : origin=0x08000000 length=0x00001500
RAM (RW) : origin=0x08001500 length=0x0003EB00
}
/*----------------------------------------------------------------------------*/
/* Section Configuration */
SECTIONS
{
.intvecs : {} > VECTORS
.text : {} > FLASH1
.
const
: {} > FLASH1
.cinit : {} > FLASH1
.pinit : {} > FLASH1
.bss : {} > RAM
.data : {} > RAM
.sysmem : {} > RAM
}