Erase all blocks command

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

Erase all blocks command

574 Views
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 Kudos
1 Reply

523 Views
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 Kudos