Can't secure device. MK20DN128VLF5

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

Can't secure device. MK20DN128VLF5

跳至解决方案
1,767 次查看
alexx_88
Contributor III

Hello all,

 

We've finalized our first project with the Kinetis line and now is time to go into production, but ran into problems with securing the device:

 

1. First of all, even after enabling security in Processor Expert, the flash configuration byte was set to:

/* NV_FSEC: KEYEN=1,MEEN=3,FSLACC=1,SEC=3 */     0x77U,

 

which wasn't correctly written in flash. We've got around that by changing the SEC bits from 10 to 00, an issue described in another thread on this forum.

 

2. After fixing the first problem, we've run into another error, this time related to the configuration file used by Segger JLink.

 

10933_10933.pngsecure_problem.png

 

CodeWarrior Version: 10.5 (free edition)

JLink Version: 4.74

 

Has anybody else run into this sort of issue before?

 

Cheers,

Alex

标签 (1)
标记 (4)
0 项奖励
回复
1 解答
1,575 次查看
handychandra
Contributor III

I was using flash programmer in code warrior 10.5 trial and it works fine. It was "flash file to target".

My debugger is j-link edu

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,575 次查看
alexx_88
Contributor III

Thanks, that worked!

I was under the impression that I tried it and didn't work.

0 项奖励
回复
1,576 次查看
handychandra
Contributor III

I was using flash programmer in code warrior 10.5 trial and it works fine. It was "flash file to target".

My debugger is j-link edu

0 项奖励
回复