How to LPC55S14 Flash Read Protection

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

How to LPC55S14 Flash Read Protection

跳至解决方案
786 次查看
just_lee
Contributor I

I am currently creating a product using the LPC55S14.
Once the product code is written, I want to prevent external reading of the contents of the MCU Flash to protect the product code.
I need to be able to read/write using the Flash API to update the product.
However, my skills are limited and I have looked at the LPC55S1X User Manual (UM11295), but I don't understand how to protect the Flash.
I was wondering if there is any reference to protect the Flash.

 

标签 (1)
0 项奖励
回复
1 解答
716 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @just_lee 

Please refer to this thread:

https://community.nxp.com/t5/LPC-Microcontrollers-Knowledge/LPC55-Disable-ISP-and-SWD-to-utilize-cod...  

Pay attention, this article includes disable SWD and disable ISP. Please do NOT disable ISP if you still want to read/write flash. Thus you can through ISP mode to read/write.

 

BR

Alice

在原帖中查看解决方案

0 项奖励
回复
4 回复数
773 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @just_lee 

"I need to be able to read/write using the Flash API to update the product."

->> Do you mean you still need to be able to read/write flash after Flash Read Protection? 

Want to disable SWD? 

 

BR

Alice

0 项奖励
回复
765 次查看
just_lee
Contributor I

yes. I should be able to read/write internally after flash read protection. I want to prevent others from watching my program using SWD from outside. I want to disable SWD.

However, I am reading UM11295 (LPC55S1x/LPC551x User Manual), but I don't understand how to disable SWD. Looking for additional documents or examples related to this.

I would appreciate it if you could help me.

0 项奖励
回复
717 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @just_lee 

Please refer to this thread:

https://community.nxp.com/t5/LPC-Microcontrollers-Knowledge/LPC55-Disable-ISP-and-SWD-to-utilize-cod...  

Pay attention, this article includes disable SWD and disable ISP. Please do NOT disable ISP if you still want to read/write flash. Thus you can through ISP mode to read/write.

 

BR

Alice

0 项奖励
回复
704 次查看
just_lee
Contributor I

Thank you for your reply.
I succeeded in turning off the ISP and SWD through the link you told me.
However, I realized that it is impossible to use that MCU again if you do not use UART communication with the outside world.
I am now going to study how to use MCU again even if I turn off ISP and SWD.
Currently, I am studying through the document in the link.
https://www.nxp.com/docs/en/application-note/AN13037.pdf
If I have any questions, I will ask for help again.
Thank you again for your help.

0 项奖励
回复