USB DFU Error Uploading Option Bytes, and incorrect serial number reported - STM32F746
We have custom hardware with STM32F746, and having issues getting factory bootloader DFU USB working. When I run STM32_Programmer_CLI -l usb command, I can see my device (although Serial Number looks wrong).

When I try to connect with STM32CubeBootloader (tried V2.1 and V2.2), I get the following errors:
16:19:53:063 : Error: Uploading Option Bytes bank: 0 failed
16:19:53:091 : Error: Initializing the Option Bytes failed

My board has a 24MHz external crystal.
Does anyone know what the issue might be?
I think the correct drivers are installed.

