cancel
Showing results for 
Search instead for 
Did you mean: 

PCROP deactivation in STM32H7

BEvge.1
Associate II

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? 

1 ACCEPTED SOLUTION

Accepted Solutions
BEvge.1
Associate II

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

View solution in original post

1 REPLY 1
BEvge.1
Associate II

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