MK60F12 - Unable to lock JTAG by securing flash through FSEC

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

MK60F12 - Unable to lock JTAG by securing flash through FSEC

跳至解决方案
617 次查看
LRawlyk
Contributor III

I'm trying to lock the JTAG on the MK60F12 by through the Flash Configuration loaded from program flash at 0x400 at startup.

However, no matter what I put in the SEC field of flash configuration FSEC (0b00, 0b01 or 0b11), the FTFL_FSEC register always loads with 0b10 (unsecured).

I tried changing other fields of FSEC (KEYEN, MEEN, etc.) and that works, but FSEC is always 0b10.

I'm using the SEGGER J-Link JTAG programmer.

Would anybody have any clue to why I'm not able to secure FSEC?

标签 (1)
0 项奖励
回复
1 解答
596 次查看
diego_charles
NXP TechSupport
NXP TechSupport

Hi @LRawlyk 

Thank you for reaching out!

Let me provide my first recommendation, so you could double check. 

In the device selection, please try to select the Allow security option option for your part. Here is an example for the Segger J-Link commander. I do not know about the tools that you are using, but please ensure to select that option, per my experience, with this it will allow you to manipulate FSEC. 

diego_charles_0-1738086247013.png

Just beware of the MEEN, the if the mass erase is not enabled, you won't be able to write a new image with the FSEC enabled again.

I hope this could help you! 

Diego

 

在原帖中查看解决方案

0 项奖励
回复
1 回复
597 次查看
diego_charles
NXP TechSupport
NXP TechSupport

Hi @LRawlyk 

Thank you for reaching out!

Let me provide my first recommendation, so you could double check. 

In the device selection, please try to select the Allow security option option for your part. Here is an example for the Segger J-Link commander. I do not know about the tools that you are using, but please ensure to select that option, per my experience, with this it will allow you to manipulate FSEC. 

diego_charles_0-1738086247013.png

Just beware of the MEEN, the if the mass erase is not enabled, you won't be able to write a new image with the FSEC enabled again.

I hope this could help you! 

Diego

 

0 项奖励
回复