Skip to main content
Associate III
May 4, 2026
Solved

how to change from RDP level = 1 to RDP level = 0 without erase flash device stm32h7

  • May 4, 2026
  • 2 replies
  • 131 views

hello ST Community,

Is it possible to change the RDP "Read Out Protection" level from level 1 to level 0 without erasing the flash data?

I've currently been able to change the level from RDP level 1 to level 0 for Nucleo-H755ZI-Q, but changing the level causes a mass erase of the flash drive. Is it possible to avoid this? If so, is there a code example?

Thanks for your support.

Best answer by mƎALLEm

Hello,

Definitely not possible. It's a protection to prevent reading the flash content after protecting it. Otherwise, it doesn't make sense to make the content readable after regression.

2 replies

mƎALLEm
mƎALLEmAnswer
Technical Moderator
May 4, 2026

Hello,

Definitely not possible. It's a protection to prevent reading the flash content after protecting it. Otherwise, it doesn't make sense to make the content readable after regression.

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
Domy_STAuthor
Associate III
May 5, 2026

hello @mƎALLEm,

Thanks! Actually, that's not possible. A solution in my case could be to use the PCROP Protection option only for sector 0 of the FLASH.