How to KV10Z Enable Security

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

How to KV10Z Enable Security

Jump to solution
596 Views
zhitailiu
Contributor II

Hi, 

Sorry for asking, first time using freescale/NXP products.

I know that FSEC [SEC] bits controls the security, 

How shall I write it?

Is there an example code?

Something like declaring a constant array in that address?

Please tell me, 

Thanks for reading!

Tags (1)
1 Solution
519 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Zhitai Liu,

    Thank you for your interest in NXP Kinetis product, I would like to provide service for you.

   From the KV10Z reference manual, you can get that the FSEC is in the flash address 0x40c.

pastedImage_1.png

The FSEC bit meaning can be found in the register:

pastedImage_2.png

If you want to change the SEC bits, you can modify it in your code project.

Now, take MDK project as an example:

pastedImage_3.png

Change the FSEC is OK.

Wish it helps you!

If you still have question, please let me know!


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

2 Replies
520 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Zhitai Liu,

    Thank you for your interest in NXP Kinetis product, I would like to provide service for you.

   From the KV10Z reference manual, you can get that the FSEC is in the flash address 0x40c.

pastedImage_1.png

The FSEC bit meaning can be found in the register:

pastedImage_2.png

If you want to change the SEC bits, you can modify it in your code project.

Now, take MDK project as an example:

pastedImage_3.png

Change the FSEC is OK.

Wish it helps you!

If you still have question, please let me know!


Have a great day,
Kerry

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

519 Views
zhitailiu
Contributor II

Lovely! It totally works!

I should check the start up file in the very beginning!

Great Thanks!

0 Kudos