Flashing ArduPilot onto a Betaflight Flight Controller (UMT PD Drone)

Flashing ArduPilot onto a Betaflight Flight Controller (UMT PD Drone)

This guide explains how to flash ArduPilot firmware onto a Betaflight-based flight controller, such as the F405 board used in the UMT PD Drone.

🧩 Prerequisites

Before you begin, download and install the following tools:


⚙️ Step 1 – Check Compatibility

Not all Betaflight boards are supported by ArduPilot.
Before flashing, confirm that your board is compatible.

  • Visit the
    ArduPilot firmware repository to check if your hardware is listed.

  • For the UMT PD Drone (F405 flight controller), we provide a custom build that includes both the firmware and bootloader:
    File: arducopter_with_bl.hex (available in the attachments below)

🔧 Step 2 – Flash the ArduPilot Bootloader

Most Betaflight controllers do not ship with an ArduPilot bootloader, so it must be installed manually.

1. Prepare the files

Download the provided firmware package:
➡️ arducopter_with_bl.hex

2. Open STM32CubeProgrammer

  • Launch STM32CubeProgrammer on your computer.

  • Click “Open file” and select the arducopter_with_bl.hex file.


3. Connect the board in DFU mode

To enter DFU (Device Firmware Update) mode:

  1. Press and hold the BOOT button on your flight controller.

  2. While holding it, connect the board to your PC via USB.

  3. The board should appear as a DFU device.

    • If not, you may need to install a DFU driver.
      Refer to your board’s documentation for detailed steps.

4. Flash the firmware

  1. In STM32CubeProgrammer, click the refresh icon on the right.
    You should see “USB1” appear in the dropdown menu.

  2. Click Connect.

  3. Click Download to begin flashing the bootloader and ArduPilot firmware.


Flashing will take a few minutes. Do not disconnect the board during this process.



🔁 Step 3 – Verify Installation

  1. Once the process completes, unplug the USB cable and then reconnect it.

  2. The LEDs on your board should begin flashing.

  3. In Windows Device Manager, a new device named “ArduPilot (COMx)” should appear.

This confirms that ArduPilot is now successfully running on your flight controller.


🧭 Step 4 – Configure Using Mission Planner

After flashing:

  1. Open Mission Planner.

  2. Connect to the new ArduPilot COM port.

  3. Proceed with firmware verification, sensor calibration, and frame setup as described in the
    Mission Planner documentation
  4. If you are flashing the UMT PD Drone F405, then the next step would be to go through the firmware flashing step on mission planner again using the "load custom firmware option", and now flash the arducopter_F405_Dshot.apj file (see attachments) as this will load the default configs for the UMT PD Drone.


Notes
  • Flashing firmware may overwrite your Betaflight configuration. Backup any settings before proceeding.

  • Only use firmware files verified for your exact flight controller model.

  • Incorrect flashing may render your board temporarily unresponsive; in that case, repeat the DFU flashing process.