Skip to main content
HNguy.27
Associate II
March 30, 2023
Solved

How to unlock STM32H5 Flash?

  • March 30, 2023
  • 4 replies
  • 3025 views

I set my flash OB to iROT-Provisioned (Dont know exactly Product life cycle state, but I can not debug anymore)

Based on my understanding, it may be in a CLOSED state. However, I am not sure how to change the state as I want to follow the Debug authentication control principle.

Could you please assist me in changing the state of the flash OB?

 

Best Regard.

 

This topic has been closed for replies.
Best answer by HNguy.27

Hi Chloé,

Thank you for your support, It's may in the lock state, and I could not use regression scripts as Debug authentication in STM32CubePro.

I have changed the new chip in my PCB Board. Its OK now.

Best Regards.

4 replies

Chloe Meunier
ST Employee
March 31, 2023

Hello,

in STM32CubeProgrammer v2.13.0

you can visualize your Product state in "Secure programming" --> Debug Authentication, and you click on "Discover "button.

In Life cycle the Product state will be displayed and you will be able to read the "locking mechanism".

Tell me what are these parameters and I'll be able to help you.

Which H5 device are you using?

BR

Chloé

HNguy.27
HNguy.27Author
Associate II
March 31, 2023

0693W00000bhHQyQAM.pngHi Chloe,

I use STM32H563ZIT6

Best Regards.

Chloe Meunier
ST Employee
March 31, 2023

Hello,

How did you manage your provisioning? Did you use the provisioning script example from STM32CubeH5? Did you configure Debug Authentication with STM32Package Creator?

BR

Chloé

HNguy.27
HNguy.27Author
Associate II
March 31, 2023

I tried STM32CubeH5/Projects/NUCLEO-H563ZI/ROT_Provisioning/OEMiROT /provisioning.bat V1.0.0 for trying change open state but cannot success (just run bat file and do not change any config.)

Chloe Meunier
ST Employee
April 3, 2023

Hello,

When you launch this provisioning.bat script, many steps are listed in the beginning. These instructions are mandatory if you want to succeed. If you changed your product state without configuring the Debug Authentication your chip may be locked. You won't be able to make a regression if Debug authentication has not been configured.

You can try to launch the regression script in STM32CubeH5/Projects/NUCLEO-H563ZI/ROT_Provisioning/DA folder. Tell me if it works.

BR

Chloé

HNguy.27
HNguy.27AuthorBest answer
Associate II
April 3, 2023

Hi Chloé,

Thank you for your support, It's may in the lock state, and I could not use regression scripts as Debug authentication in STM32CubePro.

I have changed the new chip in my PCB Board. Its OK now.

Best Regards.