S32k311 Bootloader

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

S32k311 Bootloader

379 次查看
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 项奖励
回复
3 回复数

348 次查看
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 项奖励
回复

319 次查看
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 项奖励
回复

292 次查看
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 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-2206685%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32k311%20%E5%BC%95%E5%AF%BC%E5%8A%A0%E8%BD%BD%E7%A8%8B%E5%BA%8F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2206685%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E5%97%A8%EF%BC%8C%E5%9B%A2%E9%98%9F%E3%80%81%3C%2FP%3E%3CP%3E%E6%88%91%E8%AF%95%E5%9B%BE%E5%9C%A8%20s32k311%20MCU%20%E4%B8%AD%E9%85%8D%E7%BD%AE%E5%BC%95%E5%AF%BC%E5%8A%A0%E8%BD%BD%E5%99%A8%E8%B7%B3%E8%BD%AC%E5%88%B0%E5%BA%94%E7%94%A8%E7%A8%8B%E5%BA%8F%EF%BC%8C%E4%BD%86%E6%97%A0%E6%B3%95%E9%85%8D%E7%BD%AE%E3%80%82%3C%2FP%3E%3CP%3E%E8%AF%B7%E6%82%A8%E5%AF%B9%E6%AD%A4%E6%8F%90%E4%BE%9B%E6%94%AF%E6%8C%81%E3%80%82%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%E8%B0%A2%E8%B0%A2%EF%BC%81%3C%2FP%3E%3CP%3E%E5%9F%BA%E5%85%B0%3C%2FP%3E%3C%2FLINGO-BODY%3E