How to enable write protection using I2C bootloder protocol
Hi all,
I wanted to enable the write protection option byte using I2C bootloader ( Bootloader given by stm32). This can be done using the stm32 debugger also. but in my case requirement is using I2C bootloader only.
MCU : STM32G0B1CET6
communication protocol: I2C
previously I have updated the user configuration option bytes using the same method(i2c bootloader). in which I have given the register address and the value. in that case, the option byte was updated as per the expectation.
For the write protection option byte, I tried multiple times with the same method and checked the write protection option byte using a debugger, but it is not updated(it remains as default).
below is the snapshot of the option byte register address. I am using the 0x1FFF7818 address to protect the first two pages.

1) Are there any additional steps I have to perform to enable the write protection?
2)does anyone have any idea how to do that?
If anyone has any ideas, please let me know. Applying this feature is a priority for us. and currently, we are blocked with this.
