How to KV10Z Enable Security

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to KV10Z Enable Security

ソリューションへジャンプ
885件の閲覧回数
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!

ラベル(2)
タグ(1)
1 解決策
808件の閲覧回数
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 返答(返信)
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!
-----------------------------------------------------------------------------------------------------------------------

808件の閲覧回数
zhitailiu
Contributor II

Lovely! It totally works!

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

Great Thanks!

0 件の賞賛
返信