How to LPC55S14 Flash Read Protection

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

How to LPC55S14 Flash Read Protection

ソリューションへジャンプ
785件の閲覧回数
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 解決策
715件の閲覧回数
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 返答(返信)
772件の閲覧回数
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 件の賞賛
返信
764件の閲覧回数
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 件の賞賛
返信
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 件の賞賛
返信
703件の閲覧回数
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 件の賞賛
返信