2022-11-04 07:43 AM
I try to change the option bytes of a STM32G070R from my program. i think I did everything a written in the doc:
but it is unchanged
I think the problem is right after setting FLASH->OPTR, reading it back then also returns the old value.
I wanted to check HAL functions but I can't find any FLASH_EX for it. I have G0 series package 1.3.0 which seems to be the latest.
It works with Cube programmer via SWD and UART = bootloader.
Which is the command via UART to bootloader to change option bytes? I can't find it in AN3155.
Thanks for any help.