Erase all blocks command

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

Erase all blocks command

1,156 次查看
814420552
Contributor III

hello, 

   why S32K146  is not enter secure state when use SRAM boot option  when call Erase all blocks command ?

   as the follow description, flash configuration fieldare erased and this field include FSEC byte.  when  doing erase operation FSEC will be 0xff and SEC register will change to 2b11(secure).

are there wrong description of my undestanding?

   pastedImage_1.png

wish your help  thanks

0 项奖励
回复
1 回复

1,105 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hello 814420552@qq.com,

Can you read the flash configuration field in the memory view just to make sure it is erased. 

pastedImage_1.png

The FSEC register is then loaded during reset.

pastedImage_2.png

AN12130 Production Flash Programming Best Practices for S32K1xx MCUs

pastedImage_3.png

pastedImage_5.png

Regards,

Daniel

0 项奖励
回复