S32K312-Erase Flash Block Interface

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

S32K312-Erase Flash Block Interface

Jump to solution
478 Views
Simon-Liu
Contributor V

Hello

When I use DS3.5 to generate C40 code to operate Flash, I found that there is only an interface for erasing Sector (C40_Ip_MainInterfaceSectorErase) in C40Ip.c, but I checked RM and found that bit[ESS] of register MCR can be set to erase Block of. Is there an interface to erase the Block?

 

BestRegards

Simon

0 Kudos
1 Solution
447 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

In the RM 21.7.1.2, you may read statement that:

„Block erase is for Factory use only, under controlled conditions.“

The Program/Erase cycles value is specified as 25, when using the Block Erase. That’s why flash drivers and external tools do not use this operation.

View solution in original post

2 Replies
448 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

In the RM 21.7.1.2, you may read statement that:

„Block erase is for Factory use only, under controlled conditions.“

The Program/Erase cycles value is specified as 25, when using the Block Erase. That’s why flash drivers and external tools do not use this operation.

439 Views
Simon-Liu
Contributor V

Thank you for your answer.

I saw this description in RM before, I thought that there was a way to enter the factory mode, now I understand that the block cannot be erased by the driver.

 

BestRegards

Simon

0 Kudos