*******************************************************************************
The purpose of this demo application is to present a usage of the
Bootloader Jump to Application.
------------------------------------------------------------------------------
* Test HW: S32K3X4EVB-Q172
* MCU: S32K324
* Compiler: S32DS3.5
* SDK release: RTD 3.0.0
* Debugger: PE micro
* Target: internal_FLASH
********************************************************************************
Jump is decided based on the boot_header, size we use to jump to the RESET handler:--
Dinesh_Guleria_0-1711002521870.png
Dinesh_Guleria_1-1711002609276.png
Cortex M-7 Interrupt vector table, RESET handler is 4 byte offset from starting of vector table :--
Dinesh_Guleria_2-1711002629763.png
Dinesh_Guleria_3-1711002630207.png
How to burn elf file of both application & bootloader code :--
Dinesh_Guleria_4-1711002684831.png
Bootloader Linker file used :--
Dinesh_Guleria_5-1711002777353.png
Application Linker file used :--
This linker file has provision to distribute RAM to both the cores
Dinesh_Guleria_6-1711002777358.png
Application & bootloader both commented this, as CORE-1 should be started in CORE-0 main() function if required :--
Dinesh_Guleria_7-1711002777393.png
System.c file this changed (as in RTD-3.0.0 bug in startup file because of which HARDfault occurs in startup process for S32K324) :--
Dinesh_Guleria_8-1711002777414.png