Firmware Upgrade of S32K118 from S32K148

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

Firmware Upgrade of S32K118 from S32K148

Jump to solution
1,653 Views
Learner
Contributor III

Hi All

My project is using two different microcontrollers i.e. S32K118 & S32K148

As per my project requirement, S32K148 should be able to upgrade the firmware of S32K118.

I have checked example codes of SDK but it is using Java Application. 

I request all the experts, please suggest/recommend and if any example code available please do share.

Thanks 

0 Kudos
1 Solution
1,618 Views
dianabatrlova
NXP TechSupport
NXP TechSupport

Hello,

 

Unfortunately, I'm afraid that we do not have such another example. However, I assume that AN12323 can be suitable for you.

When you read the use case of AN12323, there is one board that includes a host/gateway project and the second one includes the bootloader project.

"The host microcontroller stores in its program flash memory two applications, firmware v1 and
firmware v2, which are used to program the device with the bootloader. The host’s program code used
to transfer the firmware is executing from the flex memory. This program sends a start message and
waits for the bootloaders acknowledge. When received, the firmware header is sent, and then it transmits the firmware which is stored in its own program flash."

 

Best regards,

Diana

View solution in original post

0 Kudos
4 Replies
1,638 Views
dianabatrlova
NXP TechSupport
NXP TechSupport

Hi,

There are available a few application notes related to bootloader with SW:

AN12323 - S32K1xx Firmware updates

https://www.nxp.com/docs/en/application-note/AN12323.pdf

SW: (for S32K144 and S32K146)

https://www.nxp.com/docs/en/application-note-software/AN12323SW.zip

See the use case demo:

UseCase.png

AN12218 - S32K1xx Bootloader, but there is a java application used

https://www.nxp.com/docs/en/application-note/AN12218.pdf

SW (for the S32K148)

https://www.nxp.com/docs/en/application-note-software/AN12218SW.zip

 

Unified bootloader framework, see the attached overview.

https://www.nxp.com/webapp/Download?colCode=UBLUG

SW:

https://www.nxp.com/downloads/en/snippets-boot-code-headers-monitors/unified_bootloader_framework.zi...

 

Please, check these documents if any of the examples are suitable for your application.

I hope it helps and you will find inspiration for your application.

Best regards,

Diana

1,628 Views
Learner
Contributor III

@dianabatrlova  Thanks for sharing information.

My concerns are developing a bootloader host application in the S32K148 application software(without using PC bootloader host application)

Do you have any information or example code for developing a host application in the Application software?

0 Kudos
1,619 Views
dianabatrlova
NXP TechSupport
NXP TechSupport

Hello,

 

Unfortunately, I'm afraid that we do not have such another example. However, I assume that AN12323 can be suitable for you.

When you read the use case of AN12323, there is one board that includes a host/gateway project and the second one includes the bootloader project.

"The host microcontroller stores in its program flash memory two applications, firmware v1 and
firmware v2, which are used to program the device with the bootloader. The host’s program code used
to transfer the firmware is executing from the flex memory. This program sends a start message and
waits for the bootloaders acknowledge. When received, the firmware header is sent, and then it transmits the firmware which is stored in its own program flash."

 

Best regards,

Diana

0 Kudos
1,615 Views
Learner
Contributor III

@dianabatrlova  Thanks.

I will go through with your recommended documents.

Appreciate your support and prompt response.

0 Kudos