What is the spatial ditribution of DFlash in S32K3?

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

What is the spatial ditribution of DFlash in S32K3?

跳至解决方案
1,017 次查看
jingfang
Contributor IV

We are going to user DFLASH instead of EEPROM in S32k3.

I want to know what is the minimum erasure space of DFLASH?Whether this area can be unlocked separately to protect data security?

0 项奖励
回复
1 解答
1,011 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @jingfang,

The sector size is 8KB, and there is a lock for each of them.

You can start with the C40_Ip_Example_S32K144 RTD example.

And use the C40_Ip_ClearLock() function, where the first argument is C40_Ip_VirtualSectorsType VirtualSector.

In C40_Ip_Cfg.h you can find:

danielmartynek_0-1654777106491.png

 

Regards,

Daniel

 

 

 

 

在原帖中查看解决方案

0 项奖励
回复
2 回复数
858 次查看
ziomocci
Contributor IV

Hi All,

 we have to map all the flash memory (S32K3 f.y.i.) for different SW levels (Bootloader, Tunables, Main Application, NVM, etc etc) but there is something not totally clear for me.

According to the picture below

 

ziomocci_0-1663078102188.png

we have (8KB x 32) and (64KB x 12), for a total amount of 1MB of Flash for Block.

But what is the sector lock granularity for Block 4 Data Flash? 4 blocks of 32KB each one or 2 blocks of 64KB?

Regards,

Andrea

 

0 项奖励
回复
1,012 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @jingfang,

The sector size is 8KB, and there is a lock for each of them.

You can start with the C40_Ip_Example_S32K144 RTD example.

And use the C40_Ip_ClearLock() function, where the first argument is C40_Ip_VirtualSectorsType VirtualSector.

In C40_Ip_Cfg.h you can find:

danielmartynek_0-1654777106491.png

 

Regards,

Daniel

 

 

 

 

0 项奖励
回复