Hello, I am trying to program a KL16 via the Multilink. It worked fine, but then it shows the "Device is secure.Erase to unsecure". I keep pressing Yes. AFter doing this twice the "Multilink" not connected is shown. There was another board that was doing

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

Hello, I am trying to program a KL16 via the Multilink. It worked fine, but then it shows the "Device is secure.Erase to unsecure". I keep pressing Yes. AFter doing this twice the "Multilink" not connected is shown. There was another board that was doing

641 次查看
yusupkhan
Contributor II

Hello,

I am trying to program a KL16 via the Multilink. It worked fine, but then it shows the "Device is secure.Erase to unsecure". I keep pressing Yes. AFter doing this twice the "Multilink" not connected is shown. There was another board that was doing the same. But, its now, surprisingly working,except this 1 board.

I tried the Processor halt utility. Still no luck.Uninstalled/installed PE drivers. No luck.

Also, no where in the code have I modified that register (FTFA_FOPT or any such dangerous registers:)

Kindly give me some suggestions.

Best regards,

YUSUP KHAN

0 项奖励
1 回复

399 次查看
Rick_Li
NXP Employee
NXP Employee

Hi Yusup Khan,

There are two bits in register FTFA_FSEC (MEEN[5:4]) which enables and disables the mass erase capability of flash memory. Register will load value from address 0x40c when starting up.

So, if you disable the mass erase and secure the chip, then, this chip can not re-program anymore.

If you are not in such case, then, I would suggest try another Multilink to see if it works!

and you can also try a j-link, please refer to:

Unlocking K20

hope it helps!

0 项奖励