2025-10-28 11:35 PM
Hello,
My device contains both a bootloader and an application. I’m currently trying to protect the bootloader using PCROP on the STM32G0B1.
As a first approach, I attempted to configure PCROP using STM32CubeProgrammer. However, this failed — once PCROP was activated for the bootloader region, the bootloader was unexpectedly erased.
Here’s what I did:
After this, the bootloader was erased.
Even when I deactivated PCROP_END, the result remained the same — the bootloader was still erased.
I would greatly appreciate any insights into why this is happening and how to properly activate PCROP without losing the bootloader.
Best regards,
Alexander