Locking Sections of the LPC55S2x Flash

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

Locking Sections of the LPC55S2x Flash

ソリューションへジャンプ
1,143件の閲覧回数
sachin_patel
Contributor III

Hi,

Is it possible to lock specific sections of the LPC55S2x flash (the user data region)? If the flash can be locked, can it be unlocked from within the locked portion of flash?

Kind regards,

Sachin Patel

0 件の賞賛
返信
1 解決策
1,139件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Sachia,

As far as I know that the LPC55S2x does not support the feature to lock a page, or section.

Hope it can help you

BR

XiangJun Rong

元の投稿で解決策を見る

0 件の賞賛
返信
5 返答(返信)
1,140件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Sachia,

As far as I know that the LPC55S2x does not support the feature to lock a page, or section.

Hope it can help you

BR

XiangJun Rong

0 件の賞賛
返信
1,136件の閲覧回数
sachin_patel
Contributor III

Hi @xiangjun_rong

Thanks for your response.

What choices do I have regarding preventing change to my software?

Can I then use the IAP FFR Driver through the CMPA configuration to enforce a signature check and SHA256 validation on the image on boot?
What happens if this check fails?

Thanks,

Sachin Patel

0 件の賞賛
返信
1,133件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

Pls refer to the an13037.pdf from the link:

https://www.nxp.com.cn/docs/en/application-note/AN13037.pdf

It talks about how to block SWD and protect customer code in flash.

BR

XiangJun rong

0 件の賞賛
返信
1,122件の閲覧回数
sachin_patel
Contributor III

Hi,

This is not what I am asking about.

Is there a way to ensure that the flash remains unchanged during operation, such as a flash write protect?

Secure Boot is an option, but it does not ensure the image is not altered at runtime, only on startup, which isn’t quite what I am looking for.

Thanks,

Sachin Patel

0 件の賞賛
返信
1,109件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

Unfortunately, there is not a mechanism to protect flash from erasing/programming.

Pls refer to the Chapter  5: LPC55S6x/LPC55S2x/LPC552x Flash in UM11126.pdf.

Hope it can help you

BR

XiangJun Rong

0 件の賞賛
返信