i am useing s32ds, RTD 4.0.0 and mcu is s32k314.
i am developing bootloader.
i check to write flash memory in mcu.
but, after i jump application memory address, it is not work well.
my setting.
bootloader address : 0x00400000
application address : 0x00500000
my souce code for jumping to application memory
APP_BASE : 0x00500000

i checked flash write.
- memory after wiring flash.
i compared bin file, it work well.

- application(firmware) id file
- bootloader ld file
1. Isn't app_base the application start address?
2. If APP_BASE is 0x00500000, app_reset will be trapped in the while(1) of the commented if statement., is it right?
3. Looking at the flash memory, the first start data is 0xa55aa55a. Is this correct? The bin files of other projects are the same, but I don't know what it means or how to interpret it.
4. what is wrong source code and how i fix and what i check?