Flashing BF/INAV/Ardu firmware with STM32CubeProgrammer

https://www.st.com/en/development-tools/stm32cubeprog.html

You may download Windows version from here  en.stm32cubeprg-win64_v2.9.0.zip

————————————————————————————————-

Make sure DFU driver has been installed. Check out “Install DFU Drivers” in this page

Connect the FC USB to computer while holding the boot button in.

  1. Select USB
  2. USB1 and click Refresh
  3. Connect
  4. select “Erasing & Programming”
  5. Click “Full chip erase”
  6. Browse the hex or bin file from your computer, if flashing ardupilot, use “ardu*_with_bl.hex“.
  7. Click “Start Programming”
  8. After programming,  unplug USB and plug USB back in. FC will boot and run in normal COM mode.