Skip to main content
BEvge.1
Associate
July 16, 2021
Solved

PCROP deactivation in STM32H7

  • July 16, 2021
  • 1 reply
  • 1274 views

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? 

This topic has been closed for replies.
Best answer by BEvge.1

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

1 reply

BEvge.1
BEvge.1AuthorBest answer
Associate
July 16, 2021

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