Hi Lukas,
Thanks for your reply! Now i have another question, how to remap the interrupt vector table?
I have changed the xxx.ld file in the bootloader below, and i also set the register S32_SCB->VTOR = (uint32_t)0x8000 before jump to application from bootloader. But it seems that it didn't work.
MEMORY
{
/* Flash */
m_interrupts (RX) : ORIGIN = 0x00008000, LENGTH = 0x00000400
m_flash_config (RX) : ORIGIN = 0x00008400, LENGTH = 0x00000010
m_text (RX) : ORIGIN = 0x00008410, LENGTH = 0x0007FBF0 - 0x8000
/* SRAM_L */
m_data (RW) : ORIGIN = 0x1FFF8000, LENGTH = 0x00008000
/* SRAM_U */
m_data_2 (RW) : ORIGIN = 0x20000000, LENGTH = 0x00007000
}