Firmware update and FPROT

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

Firmware update and FPROT

1,264件の閲覧回数
dastek
Contributor III

Hi,

I want to be able to update the firmware on my 9sXEQ384.

I have the above process working but if I write to the FPROT register then I have no way to start my firmware update as I immediatly get an access violation when I start the Flash erase cycle.  The manual says this will happen also.  At the moment I leave the FPROT = 0xff and I can do a firmware update.

Now can I write the backdoor key or is there any other way to do this as I would not like to leave the flash un-protected the way I have it at the moment?

I have an enable process that has to be done before I start a firmware update.  Ideally this process would also "modify" FPROT so that I can erase the flash .

Thanks,

Wade

0 件の賞賛
返信
1 返信

1,082件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

 

P-Flash protection [FPROT] can only be added and not removed. If you need to frequently change the protection, you can use Memory Protection Unit (MPU).

The Backdoor key is a security feature. Normally, the backdoor key value is not stored within the application data and should be received from an external source. But you can use it as well.

 

MPU and backdoor key examples are attached.

 

Regards,

Daniel

0 件の賞賛
返信