Skip to main content
Associate II
January 4, 2026
Solved

STM32H563: Debug Authentication issue when using OEMiRot

  • January 4, 2026
  • 3 replies
  • 467 views

Hi all, I'm trying to get some knowledge about the use of OEMiRoT using the NUCLEO-H563ZI board following the ST Tutorial How to start with OEMiRoT on STM32H573 and 563–Arm® TrustZone® enabled - stm32mcu

Once the certificate chain has been created, I'm facing some problems with the Debug Authentication procedure: indeed, after setting the root key and root certificate in the Debug Authentication page of STM32CubeProgrammer, and selecting "Level 3 Intrusive Debug" as stated in section 3.2.1 of the tutorial, I receive both a "Debug Authentication Success" and a "Error: ST-LINK error (DEV_CONNECT_ERR)"; after this, I'm not able to read any of the data stored in the chip flash, neither with STM32CubeProgrammer or STM32CubeIde.

This problem adds to those already mentioned in topic STM32H563: CubeProgrammer UART connect fails in PRODUCT_STATE = iROTProvisioned

Am I missing something? All other levels of authentication, either secure or non-secure, are returning me the same error without the fleeting hope of the Success message.

Thank you,
Giulio

 

 

Best answer by giubacchio

Hello @KDJEM.1,

I was using version 1.5.0 without the patch that is now suggested in the other topic I mentioned. Stm32CubeProgrammer is at version 2.21.0.

Applying the patch I am now able to read the memory following the instructions of the tutorial.

Thank you,
Giulio


 

 

3 replies

KDJEM.1
Technical Moderator
January 13, 2026

Hello @giubacchio and welcome to the community;

 

Could you please give more details about STM32CubeH5 firmware version and STM32CubeProgrammer version?

 

Thank you.

Kaouthar

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
giubacchioAuthorBest answer
Associate II
January 20, 2026

Hello @KDJEM.1,

I was using version 1.5.0 without the patch that is now suggested in the other topic I mentioned. Stm32CubeProgrammer is at version 2.21.0.

Applying the patch I am now able to read the memory following the instructions of the tutorial.

Thank you,
Giulio


 

 

KDJEM.1
Technical Moderator
January 21, 2026

Hello @giubacchio;

 

I'm glad to know that the issue has been solved.

Thank you for sharing the solution.

 

Kaouthar

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.