Default values of STM32G071 option bytes
Hi,
I checked the default values of option bytes in STM32G071 by reading it from a device by using STM32CubeProgrammer.
I observed that values are not the same as it is specified in the RM0444.
I detected mismatch in value of PCROP1A_STRT registers and WRPxA_STRT registers.
I understand that this is related to the flash size. For example, the default value of the PCROP1A_STRT = 0x1FF (according the the RM0444), value actually written to MCU by ST is 0xFF.
In our test procedure it is specified that if PCB needs to be re-flashed, the option bytes are first cleared back to default and than the whole process of flashing and testing is repeated.
At this point, I do not know, what are the default values.
NOTE: on the MCU where I checked the default values of option bytes, they were not re-programmed yet.
Thank you for your response!
