Download new firmware over-the-air to S32K344 to be flashed to another MCU in the field

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

Download new firmware over-the-air to S32K344 to be flashed to another MCU in the field

Jump to solution
264 Views
teccl
Contributor II

I am working on a project that involves two S32K144 devices that communicate via CAN. A requirement for the project is to implement a cloud-based OTA feature to update the firmware of both devices in the field. To satisfy this requirement, I have been considering migrating one of the two devices to the S32K344 platform. I know that there are AWS library examples that demonstrate how the S32K344 can update its own firmware over-the-air. Would it be feasible to also monitor the server for firmware updates for other devices, and, once available, download them to the S32K344 and flash to the other device (S32K144) over CAN? Please let me know if there are any examples/other resources that are related to this, or whether there are other similar approaches that may satisfy this requirement.

0 Kudos
1 Solution
222 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @teccl 

the reference software "AWS Libraries for S32K3" is intended for S32K3 which plays a role of end node. You can take a look at connection scheme in this blog:
https://www.nxp.com/company/blog/a-new-era-of-connectivity-nxps-s32k3-edge-device-enabled-by-aws:BL-...

NXP GoldBox (S32G) running AWS IoT Greengrass is used here as a gateway. The reason for this setup is that S32K3 may have not enough memory to keep firmware(s) for other nodes.

But it should be possible to modify this as required. S32K3 could receive an encrypted image from cloud and then it would be up to you to work with received data and load them via CAN to S32K1 devices. We provide only this application note which could help to implement CAN bootloader on S32K1:
https://www.nxp.com/docs/en/application-note/AN12323.pdf
https://www.nxp.com/docs/en/application-note-software/AN12323SW.zip

"AWS Libraries for S32K3" is only reference software, so users can develop own solution which fit their needs.

Regards,
Lukas

View solution in original post

0 Kudos
1 Reply
223 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @teccl 

the reference software "AWS Libraries for S32K3" is intended for S32K3 which plays a role of end node. You can take a look at connection scheme in this blog:
https://www.nxp.com/company/blog/a-new-era-of-connectivity-nxps-s32k3-edge-device-enabled-by-aws:BL-...

NXP GoldBox (S32G) running AWS IoT Greengrass is used here as a gateway. The reason for this setup is that S32K3 may have not enough memory to keep firmware(s) for other nodes.

But it should be possible to modify this as required. S32K3 could receive an encrypted image from cloud and then it would be up to you to work with received data and load them via CAN to S32K1 devices. We provide only this application note which could help to implement CAN bootloader on S32K1:
https://www.nxp.com/docs/en/application-note/AN12323.pdf
https://www.nxp.com/docs/en/application-note-software/AN12323SW.zip

"AWS Libraries for S32K3" is only reference software, so users can develop own solution which fit their needs.

Regards,
Lukas

0 Kudos