S32K312-Erase Flash Block Interface

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

S32K312-Erase Flash Block Interface

跳至解决方案
481 次查看
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 项奖励
1 解答
450 次查看
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.

在原帖中查看解决方案

2 回复数
451 次查看
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.

442 次查看
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 项奖励