Firmware Guide¶
Note
This guide describes how to flash the PX4 firmware to Betaflight on a MicoAir743v2 flight controller using DFU mode.
Caution
This guide applies only to the MicoAir743v2 flight controller. A full memory clearance will delete the installed PX4 firmware and its settings. Before you proceed, make sure you have selected the correct controller and firmware file.
MicoAir743v2 flight controller¶
Required Software and Files¶
Prepare the following before proceeding:
Betaflight App — the app used to build firmware and configure your flight controller.
STM32CubeProgrammer — utility required to clear the controller memory and flash new firmware.
Betaflight firmware for MicoAir743v2 in
.hexformat — build and save it as described below.
Ensure STM32CubeProgrammer is fully installed before flashing the device.
How to Build and Save the HEX File¶
Open the Betaflight App and navigate to
Firmware Flashertab.
Opening the Betaflight firmware flasher¶
In the
Board & Buildsection, select theMICOAIR743V2board and choose the required firmware release.
Selecting the board and firmware release¶
Set
OSD ProtocoltoAnalog.
Selecting the Analog OSD protocol¶
Click
Load Firmware [Online]and wait for the build to complete.
Starting the firmware build¶
Open the
Flashtab. Once the build is successfully completed, clickSaveto download the HEX file to your computer. You will use this file in STM32CubeProgrammer.
Saving the built HEX file¶
How to Enter DFU Mode¶
To flash the firmware, you must first put the flight controller into DFU (Device Firmware Upgrade) mode:
Disconnect the flight controller from your computer.
Press and hold the
BOOTbutton on the controller.While continuing to hold the
BOOTbutton, connect the controller to your computer via USB.Confirm that your computer recognizes the controller in DFU mode. In STM32CubeProgrammer, the device should appear as either a DFU device or STM32 Bootloader.
How to Install Betaflight Firmware¶
Open STM32CubeProgrammer and select the connection interface.
Selecting connection interface¶
Select the
USBinterface.
USB interface selected¶
Click the Refresh button located to the right of the
Portlist. STM32CubeProgrammer should detect the controller in DFU mode. If the device does not appear, revisit the How to Enter DFU Mode section.
Refreshing DFU device¶
Click
Connectto establish a link with the controller.
Connecting DFU device¶
Perform a full memory erase: Click the Eraser icon in the lower-left corner of the window, confirm the action in the pop-up, and wait for the process to finish.
Full erase¶
Click
Open fileand select the downloaded.hexfirmware file for MicoAir743v2. The filename depends on the firmware version.
Opening firmware file¶
Click
Downloadand wait for the writing process to complete.
Writing Betaflight¶
Once the writing is successful, click
Disconnect.
Controller disconnected¶
Disconnect the controller from the USB cable. Reconnect it without pressing the
BOOTbutton. Open Betaflight App.
Betaflight Configurator¶
Once the firmware installation is complete, proceed to the Betaflight Setup Guide.