Can't secure device. MK20DN128VLF5

cancel
Showing results for 
Search instead for 
Did you mean: 

Can't secure device. MK20DN128VLF5

Jump to solution
442 Views
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

Labels (1)
0 Kudos
1 Solution
250 Views
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

View solution in original post

0 Kudos
2 Replies
250 Views
alexx_88
Contributor III

Thanks, that worked!

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

0 Kudos
251 Views
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

View solution in original post

0 Kudos