cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H743ZIT6 cannot remove readout protection (level 1)

CAdat.1
Associate II

Hello,

We activated Readout Protection (level1) on MCU, and cannot revert it.

When trying to revert it, it gives

"Could not set Option bytes!

 Please reset the target and retry."

error message on ST Link Utility v4.6.0.0.

We tried to search the net similar incidents (won't let me add any link here) but it did not provide any results.

What is this "reseting the target" this error message is referring to? Is this somehow related to Reset and Boot0 pins on MCU? Can we do a hardware reset on MCU? Or is this solvable in any other case.

1 REPLY 1
Aime
ST Employee

Hi @CAdat.1​ ,

To solve the issue you need to:

  • Activate first the TZEN
  • Switch the BOOT0 pin to 1 on your board
  • Connect your board with STM32CubeProgrammer
  • In the option bytes section :
    • Switch the RDP value to Level 0, no protection in the Read Out Protection panel
    • Uncheck the TZEN value to disable it, in the User Configuration panel
  • Then click on Apply to program the Option bytes.
  • You can now disconnect and switch BOOT0 to 0 and connect again

You need to Switch the RDP value to Level 0 and Uncheck the TZEN value before programming the option bytes, otherwise it won't work.

Best Regards,

A.MVE