LPC55Sxx security, disable swd while allowing ISP writes

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

LPC55Sxx security, disable swd while allowing ISP writes

939件の閲覧回数
dav1
Contributor V

Trying to find a way to achieve the following (LPC55S69)

1. disable access to firmware on flash (via SWD and ISP/blhost)


2. assuming fw-binary still be dumped from flash, prevent running it on a LPC that doesn't have "crypto-key xyz"


3. ISP boot via USB must still work to allow erasing & writing new data to flash, i.e. recovery mode. ISP must prevent readout from data on flash (unless we can make §2 safe enough)

タグ(3)
0 件の賞賛
返信
2 返答(返信)

923件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @dav1 

I recommend the following solution:

Disable ISP and SWD while keeping a gateway open, so that the flash cannot be read or written. When you need to update the firmware, enable ISP through the backdoor. 

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

 

BR

Alice

0 件の賞賛
返信

453件の閲覧回数
dav1
Contributor V

hi,

i checked the linked article. it doesn't answer my question.
please help check with the team and get back

simplified:

  • disable swd
  • ISP (via USB)
    • prevent: reading/dumping firmware from flash via ISP
    • allow: erasing and writing new firmware to flash
0 件の賞賛
返信