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
Solved! Go to Solution.
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
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:
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:
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
@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?
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
@dianabatrlova Thanks.
I will go through with your recommended documents.
Appreciate your support and prompt response.