New KL03z is in secure mode

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

New KL03z is in secure mode

跳至解决方案
528 次查看
annika_huebner
Contributor I

I just got a new custom board with a KL03z chip. Unfortunately I am not able to flash it, because it is SECURE. I connected the chip via UART tried "flash-erase-all" with blhost and the Kinetis Flash Tool, which fails due to the secure state. "flash-erase-all-unsecure" is an unknown command. Is there anything I can do to unsecure the device?

Bonus question: what could have happened to the chip? The assembler of the PCB should not have connected the chip to anything, as there weren't even wires connected. The chip should have come directly from production and not pre-flashed. Is it possible, that some electromagnetic discharge or something of the like accidently secured my chip? Keep in mind that a connection with the Kinetis Flash Tool is possible, and error codes are transmitted, so not all of the communication is broken.

标签 (1)
0 项奖励
1 解答
457 次查看
nxf58904
NXP Employee
NXP Employee

Hi,

Here are some action could cause lock.

1.The power is unstable.

2.Have not power down the chip when  plug the debuger

3.etc.

You can use a j-link-command "unlock kinetis " to unlock the chip.

Jianyu: 

Have a great day,
TIC

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.

-------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
1 回复
458 次查看
nxf58904
NXP Employee
NXP Employee

Hi,

Here are some action could cause lock.

1.The power is unstable.

2.Have not power down the chip when  plug the debuger

3.etc.

You can use a j-link-command "unlock kinetis " to unlock the chip.

Jianyu: 

Have a great day,
TIC

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.

-------------------------------------------------------------------------------

0 项奖励