S32k311 Bootloader

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32k311 Bootloader

392件の閲覧回数
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 返答(返信)

361件の閲覧回数
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 件の賞賛
返信

332件の閲覧回数
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 件の賞賛
返信

305件の閲覧回数
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%E3%83%96%E3%83%BC%E3%83%88%E3%83%AD%E3%83%BC%E3%83%80%E3%83%BC%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2206685%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E3%81%93%E3%82%93%E3%81%AB%E3%81%A1%E3%81%AF%E3%80%81%E3%83%81%E3%83%BC%E3%83%A0%3C%2FP%3E%3CP%3Es32k311%20MCU%20%E3%81%A7%E3%83%96%E3%83%BC%E3%83%88%E3%83%AD%E3%83%BC%E3%83%80%E3%83%BC%E3%82%92%E3%82%A2%E3%83%97%E3%83%AA%E3%82%B1%E3%83%BC%E3%82%B7%E3%83%A7%E3%83%B3%E3%81%AB%E3%82%B8%E3%83%A3%E3%83%B3%E3%83%97%E3%81%99%E3%82%8B%E3%82%88%E3%81%86%E3%81%AB%E8%A8%AD%E5%AE%9A%E3%81%97%E3%82%88%E3%81%86%E3%81%A8%E3%81%97%E3%81%A6%E3%81%84%E3%81%BE%E3%81%99%E3%81%8C%E3%80%81%E8%A8%AD%E5%AE%9A%E3%81%A7%E3%81%8D%E3%81%BE%E3%81%9B%E3%82%93%E3%80%82%3C%2FP%3E%3CP%3E%E3%81%93%E3%82%8C%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6%E3%82%B5%E3%83%9D%E3%83%BC%E3%83%88%E3%81%97%E3%81%A6%E3%81%84%E3%81%9F%E3%81%A0%E3%81%91%E3%81%BE%E3%81%99%E3%81%8B%E3%80%82%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%E3%82%88%E3%82%8D%E3%81%97%E3%81%8F%E3%81%8A%E9%A1%98%E3%81%84%E3%81%97%E3%81%BE%E3%81%99%E3%80%82%3C%2FP%3E%3CP%3E%E3%82%AD%E3%83%A9%E3%83%B3%3C%2FP%3E%3C%2FLINGO-BODY%3E