LPC55SXX secure boot fall through mode

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

LPC55SXX secure boot fall through mode

448 Views
johannes_ferch
Contributor II

Hi everyone,

we have a question regarding the secure boot process on LPC55SXX microcontrollers. We've observed that when experimenting with invalid images during the secure boot process the part is not responsive anymore. This is somewhat expected as the part prohibits the boot in that scenario. We are able to recover from this condition by asserting the ISP pin as described.

The user manual (UM11126 rev. 2.8, p. 144) shows the following flow diagram and also mentions a fall through mode highlighted in yellow below:

johannes_ferch_0-1776770643536.png

We however couldn't find any more information about the fall through mode throughout the technical documentation or the forums.

Is there any way to configure this mode somewhere? For our application it might be interesting to assess if jumping into the bootloader after a failed image validation might be possible or not. This could simplify the programming of valid images in case something might have compromised the boot image in the field.

Thanks in advance,

Johannes

 

 

0 Kudos
Reply
3 Replies

180 Views
becelin223
Contributor I

sdf

0 Kudos
Reply

243 Views
johannes_ferch
Contributor II

@Alice_Yang Thanks for your reply, this seems like a good pointer but I believe that the fall-through is enabled by default anyway. Will check and get back to you though.

Best regards

0 Kudos
Reply

344 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @johannes_ferch 

The fall-through mode configuration is controlled by DEFAULT_ISP_MODE in CMPA.
When it is set to 111, the ISP fall-through function is disabled.
 

Alice_Yang_0-1777022773369.png

 

Thank you.

 

BR

Alice

 

0 Kudos
Reply