Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/stm32/stm32h7/STM32H742/Flash/OPTCCR_#0x0
FLASH option clear control register
OPTCHANGEERR reset bit
https://github.com/modm-io/cmsis-svd-stm32