2021-07-16 02:23 AM
I am working with STM32H750VBT6 rev. V. I divided the internal flash into protected and unprotected areas. I set option bytes for the protected area. It worked fine. After that I needed to deactivate PCROP protection. I could not do it. I use STM32CubeProgrammer ver: 2.7.0 and STM32 ST-Link Utility v4.5. I expect that if I set DMEP and reduce level from level 1 to level 0 PCROP protection deactivates, but it does not work. I tried different variants with RDP levels and PCROP settings but all of them do not work. How can I deactivate PCROP protection?
Solved! Go to Solution.
2021-07-16 03:05 AM
I forgot to do this:
From AN4968
The only way to disable the PCROP on a protected sector is:
• To clear the PCROPi bit of the corresponding sectors (multiple sectors could be done at the same time)
• To do a regression level from level 1 to level 0
• To have the PCROP_RDP bit already set
2021-07-16 03:05 AM
I forgot to do this:
From AN4968
The only way to disable the PCROP on a protected sector is:
• To clear the PCROPi bit of the corresponding sectors (multiple sectors could be done at the same time)
• To do a regression level from level 1 to level 0
• To have the PCROP_RDP bit already set