S32K144 IAP implementation

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

S32K144 IAP implementation

1,496 Views
jay_zhang
Contributor II

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.

Tags (3)
0 Kudos
4 Replies

1,271 Views
jay_zhang
Contributor II

Anybody can help?

0 Kudos

1,271 Views
dianabatrlova
NXP TechSupport
NXP TechSupport

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

0 Kudos

1,271 Views
jay_zhang
Contributor II

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?

0 Kudos

1,271 Views
dianabatrlova
NXP TechSupport
NXP TechSupport

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:

  • There are differences in the memory address range. Please refer to S32K1xx_Memory_Map.xlsx document attached to the RM rev 9.
  • Sector size of 2 KB for non-interleaved configurations (i.e., 256 KB and less). 4 KB for interleaved configurations (512 KB and greater)

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

0 Kudos