s32K1 NVM Partitioning management

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

s32K1 NVM Partitioning management

Jump to solution
1,533 Views
francoisdugue
Contributor III

Hi,

I'm working on S32K116. 

I have quite understood how to use FTFC to set-up FlexNVM partition for D-Flash and/or E-flash usage.

This is runtime software activities and it require a reset to be affective.

  • Is a sw reset valid in this case? 
  • Is that possible to set-up partition at programming time? 

Thank in advance.

0 Kudos
Reply
1 Solution
1,522 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi Francois,

yes, any reset can be used including SW reset.

There are two options: if your programming tool support this functionality, yes, it can be partitioned at programming time. If not, you can check by your software if the partition is already set and if not, perform the partition. So, it will be done during first startup of the programmed device. Depending on used tools in a factory, you can trigger reset after programming, wait for certain time, so the device is partitioned and then you can turn it off. So, the device will leave the factory as already partitioned.

Regards,

Lukas

View solution in original post

4 Replies
1,516 Views
francoisdugue
Contributor III

Hi Lucas, thank you for these answers.

I have found this link coming from Segger (this is a safe link): https://wiki.segger.com/S32Kxxx 

Could you confirm that this is the only way to do the thing at programming time? There is nothing like pragmas or fuse bits which can be preset?

0 Kudos
Reply
1,500 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Yes, this is the only way how to do the partitioning. If a programming tool supports the partitioning, it will always execute the partition command as shown on that link.

Regards,

Lukas

0 Kudos
Reply
1,495 Views
francoisdugue
Contributor III

Hi,
Thank you for these clarifications.

Regards,

François

0 Kudos
Reply
1,523 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi Francois,

yes, any reset can be used including SW reset.

There are two options: if your programming tool support this functionality, yes, it can be partitioned at programming time. If not, you can check by your software if the partition is already set and if not, perform the partition. So, it will be done during first startup of the programmed device. Depending on used tools in a factory, you can trigger reset after programming, wait for certain time, so the device is partitioned and then you can turn it off. So, the device will leave the factory as already partitioned.

Regards,

Lukas