Does MK64F MCU provides program clone protection?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Does MK64F MCU provides program clone protection?

Jump to solution
618 Views
sergeysn
Contributor I

Hello,

I am using FRDM-K64F board, which has MK64FN1M0VLL12 MCU.  I wonder if there is a way to protect my program from being cloned?

I have found a document "Using the Kinetis Security and Flash Protection Features" from 2012 ,which mentions FSEC register, but I can't find it on MK64F.  If it doesn't have it, which MCU should I use instead?

Thanks so much,

--Sergey

Labels (1)
1 Solution
467 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hello sergeysn,

   Just as Mark have replied, you can use the kinetis chip secure function.

   Normally, about the chip function, and register description, you need to find it in the reference manual, not the datasheet.

  K64P144M120SF5RM.pdf from January 2014 is the newest reference manual for K64, you can refer to it directly, no more newer k64 reference manual.

 

Wish it helps you!


Have a great day,
Kerry

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

View solution in original post

3 Replies
467 Views
sergeysn
Contributor I

Thanks Mark.  It took the moderator 2 days to approve my question.  And it looks like you have answered it as soon as it was approved.

I have found the answer the next day I have posted this question.  It took me a long time to find it too.  I couldn't find the FSEC register because it's not mentioned in K64P144M120SF5.pdf Rev. 7, 11/2016.

But it is described in an older freescale document K64P144M120SF5RM.pdf from January 2014.

I wish the moderators would work a bit faster, and the new NXP documents be at least as complete as the old freescale once.

468 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hello sergeysn,

   Just as Mark have replied, you can use the kinetis chip secure function.

   Normally, about the chip function, and register description, you need to find it in the reference manual, not the datasheet.

  K64P144M120SF5RM.pdf from January 2014 is the newest reference manual for K64, you can refer to it directly, no more newer k64 reference manual.

 

Wish it helps you!


Have a great day,
Kerry

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

467 Views
mjbcswitzerland
Specialist V

Hi

Every Kinetis part has code protection.

You define the security with the value in the Flash address 0x40c, which is read into the FSEC register at reset.
You can set secure mode to disable access by JTAG/SWD and EzPort, or you can even permanently disable these.
Ref. section 29.3.1 in K64 user's manual.

Regards

Mark