s32K1 NVM Partitioning management

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

s32K1 NVM Partitioning management

ソリューションへジャンプ
2,501件の閲覧回数
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,490件の閲覧回数
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,484件の閲覧回数
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,468件の閲覧回数
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,463件の閲覧回数
francoisdugue
Contributor III

Hi,
Thank you for these clarifications.

Regards,

François

0 件の賞賛
返信
2,491件の閲覧回数
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