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.

RM57L843: Reset vector is moving to 0x00000000 location

Part Number: RM57L843

Hi,

I am using RM57 bank 0 for bootloader and bank 1 for main application.

Linker command settings of my bootloader:

MEMORY
{
    VECTORS    (X)   : origin=0x00000000 length=0x00000020

    FLASH0     (RX)  : origin=0x00000020 length=0x001fffe0

        FLASH1     (RX)  : origin=0x00200000 length=0x00200000

    STACKS       (RW)  : origin=0x08000000 length=0x00001500
    RAM          (RW)  : origin=0x08001500 length=0x0007eb00
}
SECTIONS
{
   .intvecs : {} > VECTORS
   .text  > FLASH0
   .const > FLASH0
   .cinit > FLASH0
   .pinit > FLASH0
   .bss   > RAM
   .data  > RAM
   .sysmem  > RAM
}

Linker command settings of my main application:

MEMORY
{
    VECTORS    (X)   : origin=0x00200000 length=0x00000020

    FLASH1     (RX)  : origin=0x00200020 length=0x001fffe0

    STACKS       (RW)  : origin=0x08000000 length=0x00001500
    RAM          (RW)  : origin=0x08001500 length=0x0007eb00
}
SECTIONS
{
   .intvecs : {} > VECTORS
   .text  > FLASH1
   .const > FLASH1
   .cinit > FLASH1
   .pinit > FLASH1
   .bss   > RAM
   .data  > RAM
   .sysmem  > RAM
}

Problem : when i program and debug the main application code it is working fine and executing from 0x00200000 but during debugging if i did system reset then it is pointing to address 0x00000000 and showing undefined entry and halting there.

Kindly suggest me any other changes do i need to do ? or any mistakes above