S32K146EVB-Q144 Bootloader Sample Code.

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

S32K146EVB-Q144 Bootloader Sample Code.

1,345 Views
Nibesh
Contributor II

Hello I want to have a Bootloader sample code of S32K146-Q144 Development Board.
My board have following specification;

Core: Arm Cortex-M4F

Peripheral Speed: up to 112 MHz (HSRUN)

Flash: 1 MB

System Ram (Including FlexRAM and MTB):  128KB

FlexRAM (System RAM): 4KB

Cache Memory = 4KB

EEPROM emulated by FlexRAM: 4KB (up to 64KB D-Flash)


I want to use Flash Memory to write my Bootloader Code which can take 40% Flash Memory Space and remaining space for my Application Code.
The code need to perform Bootloader Operations like; Read, Write, Erase function;


I have wrote some code, you can cross verify it for your convenience.

I hope to hear from you soon!
Thank You




Labels (2)
0 Kudos
10 Replies

1,000 Views
Nibesh
Contributor II

Hello @VaneB,

I hope you are doing well.

I would like to inquire about the steps involved in porting code from S32K148 to S32K146. Additionally, I noticed that the AN12218SW code does not utilize Processor Expert. Could you please provide information regarding the specific wizard or configuration tool that was used in this case?

Thank you for your assistance, and I look forward to your response.

Best regards,

Nibesh Khulal

 

0 Kudos

976 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @Nibesh 

If you look through the driver code, you can see that these were implemented at a low level using the registers as the S32K1xx Series Cookbook

878 Views
Nibesh
Contributor II

Hello @VaneB  I hope you're doing well.
 @VaneB actually I have converted the Bootloader code (AN12218SW) of S32K148EVB Board to S32K146EVB, I have also changed to UART2.
If you can verify my Linker Files and Pin Mapping that will be very much helpful for me @VaneB.

I have attached my files, I hope to hear from you Soon.

If you can share your email ID that will be more helpful to contacted you directly in near future @VaneB 

Thank You


0 Kudos

873 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @Nibesh 

For code reviewing, I ask you to please create a support ticket. 

Regarding my email, unfortunately, I cannot share this information due to company policies. 

If you have any other questions, we can help you through the community or support tickets, or if you want personal support, please contact your NXP representative for further support in this part. 

857 Views
Nibesh
Contributor II

Thank you very much @VaneB 
I will generate the ticket for the further enquiry.
Thank You.

 

0 Kudos

1,239 Views
Nibesh
Contributor II

Thank You very much @VaneB for your kind support.
If you can help me through UART based Bootloader with In-Place Method for S32K146EVB-Q144, that will be more helpful for me @VaneB.
I hope to hear from you soon!
Thank You

0 Kudos

1,232 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @Nibesh 

Could you clarify what you mean by "In-Place Method"? 

I understand you are looking for an example explicitly developed for the S32K146. Unfortunately, the available documentation is the one provided previously. 

1,212 Views
Nibesh
Contributor II

Hello @VaneB 

Actually I want to have Bootloader code without using A/B Swap Method.
I have attach the image of In-Place Method.
I hope you will understand by seeing it.

0 Kudos

1,138 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @Nibesh 

Sorry for the inconvenience.

According to the access rights I have, the only available documentation is the previously provided.

0 Kudos

1,326 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @Nibesh 

The following information is the one available for the S32K1 bootloader.

AN12218: S32K1xx Bootloader 

AN12218SW: Application note software for AN12218

- AN12323: S32K1xx Firmware updates

AN12323SW: Application note software for AN12323

Unified Bootloader – User Guide

Unified bootloader Demo

 

B.R.

VaneB