2023-01-12 05:03 AM
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.
2023-01-12 07:41 AM
Hi @CAdat.1 ,
To solve the issue you need to:
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