Flashing Flight Controller with Firmware

It's time to talk about loading the firmware on the flight controller, corresponding to the quadcopter configuration from the previous article. Follow the instructions in the description below.

Before attempting to follow the instructions in this article, make sure that there are no restrictions in your country on the purchase and storage of drone parts, as well as the assembly and launch of UAVs. Please check the laws related to the use of homemade unmanned aerial vehicles in your place of residence.

Software:

We will need the following software.

Name Link
Autopilot: Flight Controller Firmware Follow
STM32CubeProgrammer Follow

Flashing the flight controller

1. Press the button on the flight controller and insert the USB cable previously connected to the computer. Additionally, you may need to connect a Li-Po battery if other devices were soldered to the controller, since they consume power and it may come that flashing is impossible.

Connect to flight controller in DFU mode

2. Install and run STM32CubeProgrammer. Select the USB connection option. Click on the update device button. Then, click on the connect button.

Connect to the flight controller from STM32CubeProgrammer

3. Follow the link from the table and download the arducopter_with_bl.hex file. Then in STM32CubeProgrammer, click the "Open File" tab, select the downloaded file and click the "Open" button.

Select firmware file in STM32CubeProgrammer Select firmware file in STM32CubeProgrammer

4. Click on the "Download" button to initiate the firmware flashing process. Afterwards, wait for a while until the process is completed successfully.

Process of flashing the controller in STM32CubeProgrammer

5. Disconnect from the controller in STM32CubeProgrammer. Remove the USB cable from the controller. Disengage the Li-Po, if one was used. The flight controller is ready to interact with the GCS.


Interested in drones?

We are actively developing ground control software for UAVs. It is useful for both businesses and amateurs of unmanned vehicles. Find out more clicking on the following link:

Copyright (c) 2025 AEROLOGOS LLC