Example S32K312 Bootloader to Application Jump DS3.5 RTD300

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Example S32K312 Bootloader to Application Jump DS3.5 RTD300

Example S32K312 Bootloader to Application Jump DS3.5 RTD300

*******************************************************************************

 The purpose of this demo application is to present a usage of the
Bootloader Jump to Application.


 ------------------------------------------------------------------------------
* Test HW: S32K3X2EVB-Q172
* MCU: S32K312
* 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-1708069834663.pngDinesh_Guleria_1-1708069881672.png

 

Cortex M-7 Interrupt vector table, RESET handler is 4 byte offset from starting of vector table :--

Dinesh_Guleria_2-1708070071946.png

 

Dinesh_Guleria_3-1708070172883.png



// Reset_Handler+1  --> required in IVT, to avoid hard fault
As per Arm®v7-M Architecture Reference Manual  --> DDI0403E_e_armv7m_arm.pdf

 
Dinesh_Guleria_1-1747378493457.png

 

Dinesh_Guleria_2-1747378510321.png

 

 

How to burn elf file of both application & bootloader code :--

Dinesh_Guleria_0-1708073268921.png

 

Attachments
Comments

It is helpful.

100% helpful (1/1)
Version history
Last update:
‎05-15-2025 11:55 PM
Updated by: