KW41Z bricked (secured + flash protection)

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

KW41Z bricked (secured + flash protection)

1,618件の閲覧回数
tommot
Contributor I

Hy everyone!

I have a question concerning recovery of a bricked KW41Z (on a Rigado R41Z Evaluation Board).

When testing Segger Embedded Studio I didn't check if the area for setting flash secure and mass erase bits was exluded from allowed memory ranges (trusting the default settings).

J-Link can now access the device but it cannot erase or unlock it.

"Readout protection is set and mass erase is disabled. J-Link cannot unprotect the device."

After some research, finding tips for unlocking other Kinetis MCUs I currently think that there is no way of recovering the device.

But I wasn't able to find something KW41Z specific. So my question: Is it really dead? :smileywink:

Thank you and best regards

Thomas

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

1,332件の閲覧回数
jorge_a_vazquez
NXP Employee
NXP Employee

Hi Thomas Bigler

The only method to recover a secured device is to launch a mass erase command. Unfortunately, if you Jlink debugger mas your device as protected and mass erase disable. then yes, there is no way to recover your device. I would like to recommend you next link:

How (not) to Secure my Microcontroller | MCU on Eclipse 

Best regards

Jorge Alcala

0 件の賞賛
返信

1,332件の閲覧回数
tommot
Contributor I

Thanks for your answer and the link, I was actually expecting that.

So this microcontroller will forever keep its 5 line hello world program :smileywink:

I already adapted the linker script (default one from Segger Embedded Studio is incorrect) so that this will not happen again.

Best Regards

Thomas

0 件の賞賛
返信