AnsweredAssumed Answered

How to avoid from permanent lock of kinetis devices during Flash programming.

Question asked by Muhammad bilal on Sep 22, 2016
Latest reply on Sep 29, 2016 by Jorge Antonio Alcala Vazquez

HI,

I have FRDM-K64F device and I wrote Flash algorithm for flash programming.

During flash programming, it seems that my device becomes permanent lock.

as Jlink commander tools give following error. (IIUC, my device become useless?)

 

J-Link>unlock kinetis
Found SWD-DP with ID 0x2BA01477
Unlocking device...Unlock via debug port is disabled. Unlock failed.
Timeout while unlocking device.
J-Link>

 

My question is that, How can I avoid from such situation in future.

 

Could you please share with me a exact flash algorithm in some programing language to avoid permanent lock/secure board?

 

 

Thanks,

-Bilal

Outcomes