Mass erase, voltage interruption and FSEC

cancel
Showing results for 
Search instead for 
Did you mean: 

Mass erase, voltage interruption and FSEC

Jump to solution
296 Views
luca_toso
Contributor II

Hi All, 

let's assume that we have enabled security on the device, but leaving mass erase enabled. 

What happens if we launch the command and after some ms we abruptly interrupt the voltage? 

Is it possible that with a timed interruption only the first flash sector is erased and the next POR cycle the FSEC status allows the jtag/swd debugger to connect and perform readback of the remaining program code?

K.R.

Luca.

Tags (3)
0 Kudos
1 Solution
284 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi Luca,

The security is released once it has been verified that all the memory has been erased.

If only the first sector was erased, the MCU would still be secure since SEC = 11b = secure.

danielmartynek_0-1625642021308.png

danielmartynek_2-1625642239948.png

Regards,

Daniel

 

 

 

 

 

View solution in original post

0 Kudos
1 Reply
285 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi Luca,

The security is released once it has been verified that all the memory has been erased.

If only the first sector was erased, the MCU would still be secure since SEC = 11b = secure.

danielmartynek_0-1625642021308.png

danielmartynek_2-1625642239948.png

Regards,

Daniel

 

 

 

 

 

0 Kudos