QGC doesn't connect to FC

I’ve used BetaFlight and decided to switch to ArduPilot.

  1. I’ve made backup of betaflight FW using STM32Cube (How to Backup Flight Controller Using STM32CubeProgrammer (Saving Firmware and Config) - Oscar Liang)
  2. Downloaded fw (I have SpeedyBee F405 V3 BLS 60A 30x30 Stack) ArduPilot firmware : /Copter/stable-4.5.2/speedybeef4v3
  3. followed these steps Loading Firmware onto boards without existing ArduPilot firmware — Copter documentation
  4. Installed and started QGC, connected FC via USB, QGC in disconnected state
  5. created a comm link, see image
    , pressed connect, still in disconnected state
  6. checked LinkManagerVerboseLog (Vehicle Connection Problems | QGC Guide (master)), looks like hardware is not recognized
    qgc-log.txt (79.5 KB)

Edit:
I’ve noticed that flashed bytes in device memory not fully match FW file

output from Stm32Programmer CLI
stm32-log.txt (1.5 KB)

For some reason writing to STM32 memory doesn’t work

Was able to properly install firmware using betaflight instead of STM32Programmer Loading Firmware onto boards without existing ArduPilot firmware — Copter documentation
It’s also necessary to specify your board, otherwise betaflight won’t start the process.