LPC55Sxx security, disable swd while allowing ISP writes

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC55Sxx security, disable swd while allowing ISP writes

903 Views
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)

Tags (3)
0 Kudos
Reply
2 Replies

887 Views
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 Kudos
Reply

417 Views
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 Kudos
Reply