S32k311 Bootloader

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

S32k311 Bootloader

377 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

346 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

317 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

290 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
%3CLINGO-SUB%20id%3D%22lingo-sub-2206685%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32k311%20Bootloader%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2206685%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Team%2C%3C%2FP%3E%3CP%3EI%20am%20trying%20to%20configure%20Bootloader%20jump%20to%20application%20in%20s32k311%20MCU%20but%20not%20able%20to%20configure%20it.%3C%2FP%3E%3CP%3ECan%20you%20please%20support%20on%20this.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EThanks%3C%2FP%3E%3CP%3EKiran%3C%2FP%3E%3C%2FLINGO-BODY%3E