Different pre-built firmware lead to different installation ways.
It is suggested to ask the manufacturer about the pre-built firmware and its version.
Our Kakute H7 v1.3 has a pre-built firmware of BetaFlight. Then the version can be found with the help of BetaFlight Configurator that can auto detect the pre-built board and firmware.
Run BetaFlight Configurator, in Disconnected status, we click Firmware Flasher on the left sidebar, then it will auto detect the board and the firmware version
Also, we can switch to Connected status by clicking connect on the top right. Click CLI on the left side bar, typing dump on the terminal on the right will give more information
Tutorials are given by Ardupilot at Loading Firmware onto boards without existing ArduPilot firmware¶. Read this before going further.
Since Kakuteh7's prebuilt firmware is not Ardupilot, installation files should include bootloaders.
Following steps shown in Loading Firmware onto boards without existing ArduPilot firmware:
-
Go to webpage https://firmware.ardupilot.org/Copter/stable-4.4.0/KakuteH7/
-
Download arducopter_with_bl.hex.
Or, we can build an Ardupilot firmware ourself.
-
use Waf to build an Ardupilot firmware for the chosen board. Tutorials to use Waf https://github.com/ArduPilot/ardupilot/blob/master/BUILD.md.
- clean previous built firmware
cd ardupliot ./waf distclean- The available list can be found by
cd ardupliot ./waf list_boards
- video tutorial for next two steps https://youtu.be/lNSvAPZOM_o.
- choose firmware - it is Pixhawk5X for us
cd ardupliot ./waf configure --board Pixhawk5X
- build it
cd ardupliot ./waf copter
- find the built ardupliot file at /ardupliot/build/board_name/bin, like
There are two ways to write Ardupilot firmware into Kakuteh7: STM32CubeProgrammer or BetaFlight Configurator.
Connect FC in DFU mode
Kakute must be connected in DFU mode. To do that, press the button of Kakute, and then connect it to the work station through a USB port.
Check if Kakute is in DFU mode, we type
sudo dfu-util --listif we can see something like Internal Flash, shown below, it means Kakute is in DFU mode.
Use STM32CubeProgrammer
- Download STM32CubeProgrammer software for Linux from its official site
- Install and run STM32CubeProgrammer
- Choose USB as connection way and choose USB1, according to your station, as Port. Click flash button next port if nothing shows there.
- Click Open file and choose downloaded arducopter_with_bl.hex.
- Click button Download and it begins wiring Ardupilot into Kakuteh7.
- Click button Disconnect and unplug the USB cable.




