How to KV10Z Enable Security

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

How to KV10Z Enable Security

跳至解决方案
886 次查看
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!

标记 (1)
1 解答
809 次查看
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!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

2 回复数
810 次查看
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!
-----------------------------------------------------------------------------------------------------------------------

809 次查看
zhitailiu
Contributor II

Lovely! It totally works!

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

Great Thanks!

0 项奖励
回复