Cannot update option_bytes using CubeProgrammer
My STM32H573 option bytes are in weird state which might be the reason that the device could not run any fw even if the flash still can be programmed; I imported the option bytes from a 'good' device, but could not apply the changes to the device, any idea? Tried "Reset MCU to Factory settings" did not work either.

Also, although the CubeProgrammer can connect to the device, CubeIDE cannot debug the device, the discovery.bat cannot even read the device IDs:
c:\> discovery.bat
-------------------------------------------------------------------
STM32CubeProgrammer v2.19.0
-------------------------------------------------------------------
Start Debug Authentication Sequence
Open SDM Lib
SDMOpen : 624 : open : SDM API v1.0
SDMOpen : 625 : open : SDM Library version v1.2.0
open_comms : 513 : open : Asserting target reset
open_comms : 517 : open : Writing magic number
open_comms : 537 : open : De-asserting target reset
open_comms : 584 : open : Communication with the target established successfully
response_packet_lock
Timeout while receiving response...
discovery: target ID.......................:0x0
discovery: SoC ID..........................:0x00000000_00000001_00000000_00000000
discovery: SDA version.....................:∙
discovery: Vendor ID.......................:(null)
"discovery script failed"
All these seems caused by a call to HAL_FLASHEx_OBProgram(). Is there a way to recover from this?
Thanks!
