What is the spatial ditribution of DFlash in S32K3?

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

What is the spatial ditribution of DFlash in S32K3?

Jump to solution
870 Views
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 Kudos
Reply
1 Solution
864 Views
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

 

 

 

 

View solution in original post

0 Kudos
Reply
2 Replies
711 Views
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 Kudos
Reply
865 Views
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 Kudos
Reply