cancel
Showing results for 
Search instead for 
Did you mean: 

How to confirm an image after the OEMiROT_Boot install an new image with swap strategy?

Snaku
Associate III

Hi,
I am using STM32H56x with OEMiROT_Boot example project, and I use MCUBOOT_SWAP_USING_SCRATCH to install application images, is there an API like boot_set_confirmed( ) can used by secure applicaiton code, or a confirmation flag in SRAM like STM32H7?

Thank you,

Snaku

1 ACCEPTED SOLUTION

Accepted Solutions
Jocelyn RICARD
ST Employee

Hello @Snaku ,

You can find helper code in non secure application example

FW_Valid_SecureAppImage that calls Secure API in secure application example : SECURE_ConfirmSecureAppImage

Best regards

Jocelyn

 

View solution in original post

2 REPLIES 2
Jocelyn RICARD
ST Employee

Hello @Snaku ,

You can find helper code in non secure application example

FW_Valid_SecureAppImage that calls Secure API in secure application example : SECURE_ConfirmSecureAppImage

Best regards

Jocelyn

 

Snaku
Associate III

Hi Jocelyn,
Yes, I find this function in secure_nsc.c, thanks for your support.
Snaku