Hi @ganavi1
S32K3 devices support only internal boot mode from flash. External boot mode is not supported. Such feature was available on older automotive devices like MPC5xxx (UART or CAN boot mode) but it’s not supported by S32K3 devices.
That means the only option is to use a bootloader.
Let me summarize what we have:
We have very basic OTA demo “SW32K3_OTADEMO_0.8.0_D2203” for S32K344 - it shows how to write new application to passive block and then request AB SWAP (this is a feature of HSE firmware). RTD 1.0.0 is used in this demo.
Next more advanced demo is “S32K396 OTA Demo version 0.4.0” which shows how to update firmware via ethernet. This one uses RTD 3.0.0 P07.
Both demos can be found in S32K3 Reference Software:
https://www.nxp.com/webapp/swlicensing/sso/downloadSoftware.sp?catid=SW32K3-REFSW-D
Click on the link and then search for “Automotive SW - S32K3 - OTA Demo”.
These are the only versions we have, it’s only reference software, it’s up to users to migrate it to other derivatives or to newer RTD packages.
Then we have Unified bootloader:
https://community.nxp.com/t5/S32K-Knowledge-Base/Unified-bootloader-Demo/ta-p/1423099
This is unofficial demo only shared on the community, provided AS IS with no guarantees and no support. It’s not production code. Notice that this bootloader does not use HSE firmware - it does not take advantage of AB Swap feature. There are examples for S32K312/314/324/344.
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/
Regards,
Lukas