Remove the 650 seat and the ECU module is easily accessible. The large ECU module has the thick wiring-lume and plug connected. Check the wording/name on the ECU module either Ducati or Bosch. Hopefully its the latter. There's potentially an after market replacement ECU for the less than reliable Ducati ECU available via an Aliexpress seller which claims to rectify the known issues with the Ducati OEM ECU https://www.aliexpress.com/item/1005001409404596.html