Skip to main content
BuggyCode
Associate
November 9, 2020
Question

Perform full chip erase in a Read protected STM32G431KB, On STM32CUbeProgrammer

  • November 9, 2020
  • 1 reply
  • 820 views

Hi there,

I have used the STM32CubeProgrammer to flash firmware into a STM32G4, it all worked wonderfully, However I was experimenting with the Read out protection options, in the option bytes section, and first set the highest level 2 (0xCC) on one chip and then the Second chip flashed it with the protection level 1 (0xBB).

In the first case with protection level 0xCC I am not able to connect to the target anymore.

In the second case I am able to connect to the target but not able to erase it or re program it.

Am I missing something to achieve this on STM32CubeProgrammer ?

Are there any other tools I could use to perform a full chip erase in this case?

Thanks

This topic has been closed for replies.

1 reply

Uwe Bonnes
Chief
November 9, 2020

0xCC means RDP2 means no way back!