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
已解决! 转到解答。
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
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
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
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
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