S32M276 bootloader development

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

S32M276 bootloader development

Jump to solution
1,533 Views
MarkShen__
Contributor II

Hello,


I am developing a bootloader for the S32M276. Are there any relevant demos I can refer to? Or where can I find document about flash/SRAM dividing?

BR, Mark

Tags (1)
0 Kudos
Reply
1 Solution
1,469 Views
MarkShen__
Contributor II

Thanks for your support, it's really helpful. 

View solution in original post

0 Kudos
Reply
2 Replies
1,470 Views
MarkShen__
Contributor II

Thanks for your support, it's really helpful. 

0 Kudos
Reply
1,500 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @MarkShen__ 

S32M276 is based on S32K3, so you can take a look at S32K3 resources.

I'm talking about AB SWAP feature and OTA demos here in this post:
https://community.nxp.com/t5/S32K/S32K3-Bootloader/m-p/2075115/highlight/true#M47533

Then we have Unified bootloader:
https://community.nxp.com/t5/S32K-Knowledge-Base/Unified-bootloader-Demo/ta-p/1423099
This is unofficial demo only, provided AS IS with no guarantees and no support. It’s not production code. Notice that this bootloader does not use HSE firmware, so it does not take an advantage of AB SWAP feature.

If you are looking for production code, take a look at third parties like:
https://www.vector.com/int/en/products/products-a-z/embedded-software/flash-bootloader/#

If you are going to use AB SWAP feature of HSE firmware, the flash is divided to active and passive partition automatically by installation of HSE firmware (AB_SWAP version of the firmware). You can take a look at "Table 141. Memory map in AB swap configuration" in the reference manual:
https://www.nxp.com/webapp/Download?colCode=S32M27XRM

If you don't want to use HSE firmware and AB SWAP feature, it's just a matter of software, so it's up to user to adjust the linker files of bootloader and application(s) accordingly.

Regards,
Lukas

0 Kudos
Reply