Is there an example shows how to implement the IAP with S32K144 use S32DS?
1. how to implement the bootloader code, where to set the app address, how to jump to app
2. how to implement the app code, how to flash the app code
My goal is to update the app code via the can bus, and my first step is to implement the IAP via serial port.
Anybody can help?
Hello Zhang,
I would like to recommend application note AN12218 for the serial S32K1xx Bootloader
https://www.nxp.com/docs/en/application-note/AN12218.pdf
SW:
https://www.nxp.com/docs/en/application-note-software/AN12218SW.zip
I believe the document and software answer your questions.
Unfortunately, we have no official example project for the CAN bootloader, however, you can modify the AN12218 to use CAN interface.
Best Regards,
Diana
Hi Batriova,
Thanks for your information, I think it is useful to me.
I find the example code is based on S32K148, is there a version that is S32K144?
If not, can you tell me which code needs to modify?
Hi,
There is no example code directly for the S32K144, however, it can be migrated to S32K144.
I have not migrated this example code from S32K148 to S32K144, but below points should be considered:
S32K144:
The 512KB FTFC flash module consists of two NVM read partitions and one FlexRAM
block:
• One 512KB program flash read partition (interleaved 2 × 256KB)
• One 64KB FlexNVM read partition (non-interleaved 1 × 64KB)
I hope it helps.
Best Regards,
Diana