S32k311 Bootloader

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

S32k311 Bootloader

391 Views
kiran5
Contributor I

Hi Team,

I am trying to configure Bootloader jump to application in s32k311 MCU but not able to configure it.

Can you please support on this.

 

Thanks

Kiran

0 Kudos
Reply
3 Replies

360 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@kiran5

You can take a look at this post:

https://community.nxp.com/t5/S32K-Knowledge-Base/Unified-bootloader-Demo/ta-p/1423099

You can refer to this sample code to learn how to jump from the bootloader to the application.

Senlent_0-1763522271540.png

 

 

0 Kudos
Reply

331 Views
kiran5
Contributor I

Hi Senlent,

Thanks for Providing the Reference code, but the issue is still not solved.

Please take a look at the code which we are using.

Application Linker File:

kiran5_0-1763550206001.png

 

Bootloader Linker File:

kiran5_1-1763550238000.png

 

The Jump to application code used is as per the s32k312 code.

kiran5_2-1763550315882.png

 When i run in Debug mode it is going to Default handler in the bootloader code.

If i add VTOR relocation SCB->VTOR = (0x0044A200 ); then it is not going to default handler, but still Jump to application is not happening.

 

I have used the offset as per s32k312. Can you please let me know if the offset for s32k311 is different as i am not able to get the information.

kiran5_3-1763550555459.png

 

Thanks

Kiran

0 Kudos
Reply

304 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@kiran5

I created a simple example program, based on the S32K311EVB,the RTD version is RTD 6.0.0 P04.

The bootloader program will toggle a red LED 10 times, then jump to the app program, where

the app program will continuously flash a blue LED.

2025-11-20_14-07-43.png

 

0 Kudos
Reply