Freescale keaz flash security

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

Freescale keaz flash security

1,399件の閲覧回数
vitaliharudka
Contributor II

Hello. I made device using keazn64 uC on board. I need to lock any action via swd(reading flash image). I tried to edit flashConfig section in stratup file but it doesn't help. I use segger j-link for debugging. How should i do it?

Best regards, Vitaly G.

ラベル(1)
0 件の賞賛
返信
3 返答(返信)

1,266件の閲覧回数
nxf58474
NXP Employee
NXP Employee

Hi Vitaly,

 

Hope you are doing well. Could you please clarify what your main objective is? From my understanding , it seems to me that you would like to implement flash security. Is this correct?

 In the section 8.3.1 of the Reference Manual, it says that when flash security is active, the SWD port cannot access the memory resources of the MCU, this may be causing you isses. However, what can be done, is a mass erase.

 

If you have any questions please don't hesitate to ask.

 

Best Regards,

Ricardo

0 件の賞賛
返信

1,266件の閲覧回数
vitaliharudka
Contributor II

Hi Ricardo,
Yes, i need to turn on flash security. But how to it?

0 件の賞賛
返信

1,266件の閲覧回数
nxf58474
NXP Employee
NXP Employee

Hi Vitaly,

 

In the section 18.4.2 of the Reference Manual, you can see the register and bits associated with the security of the MCU. You need to write the Flash security byte in the Flash configuration field, so after the reset sequence, the FSEC register is loaded with the contents of this byte.

 

 Flash configuration field.png

 

Let me know if you have further questions.

 

Best Regards,

Ricardo

0 件の賞賛
返信