Skip to main content
Associate III
December 5, 2025
Solved

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

  • December 5, 2025
  • 2 replies
  • 366 views

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

Best answer by Jocelyn RICARD

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

 

2 replies

Jocelyn RICARD
Jocelyn RICARDBest answer
ST Employee
December 5, 2025

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

 

SnakuAuthor
Associate III
December 5, 2025

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