Kl25z permanently secure (mass erase is disabled)

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

Kl25z permanently secure (mass erase is disabled)

2,107 次查看
Rafa_Mondragon
Contributor I
Is there a way in which I can unsecure the KL25z board? When I started the process of debugging, a message saying "Device is secure. Erase to unsecure?" appeared and I don't remember what did I clicked, but now when I try to debug it says "Permanently secure (mass erase is disabled). Try to unsecure anyways?", but despite clicking yes or no, the message keeps showing.
0 项奖励
回复
4 回复数

2,096 次查看
ErichStyger
Specialist I

If you did indeed secure your device (flash protection with mass erased), then you cannot unsecure it (as it would be against that concept).

See https://mcuoneclipse.com/2012/11/04/how-not-to-secure-my-microcontroller/ what securing means. Basically the debug probe tries to read from the device but fails and it returns the memory area as secured.

There is a small chance that it is a user error and your device is not secured (see https://mcuoneclipse.com/2012/05/28/device-is-secure/ ) so can you check that indeed you are using the correct device and connection.

Any indication what you did before? Indeed if you programmed a wrong binary with the wrong security bits, then your device is 'bricked' and you need to replace it.

I hope this helps,

Erich

 

0 项奖励
回复

2,105 次查看
Rafa_Mondragon
Contributor I

After clicking several times in the Try unsecure anyways, this window opens

Rafa_Mondragon_0-1617416183026.png

 

0 项奖励
回复

1,976 次查看
hfabbasi
Contributor III

@Rafa_Mondragon did you manage to find the solution? I am stuck with the same lock device problem and same message is being displayed once I try to flash the device. 

0 项奖励
回复

2,106 次查看
Rafa_Mondragon
Contributor I

permanently secure.PNG

0 项奖励
回复