s32K1 NVM Partitioning management

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

s32K1 NVM Partitioning management

跳至解决方案
2,496 次查看
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 项奖励
回复
1 解答
2,485 次查看
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

在原帖中查看解决方案

4 回复数
2,479 次查看
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 项奖励
回复
2,463 次查看
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 项奖励
回复
2,458 次查看
francoisdugue
Contributor III

Hi,
Thank you for these clarifications.

Regards,

François

0 项奖励
回复
2,486 次查看
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