Flyduino KISS FC Firmware Update—MAC OSX (english)
In this brief guide I would like to talk about the firmware updates of the KISS FC flight controller. The firmware is in the „.dfu“ format, a special format for the STM32 Chip. The official software from STMicroelectronics (that is the chip manufacturer) must be used to flash the firmware. This software is free to download.
A guide for Windows you can find here:
New: Mac OSX Flash operation simplified
More recently, the KISS FC / CC has become much easier to flash. Open the GUI. Now connect the KISS FC / CC with pressed bootloader button and in the GUI a selection window for the firmware file appears. Now set the correct firmware and click on „flash“.
What is required
In order for the KISS FC to be recognized as a DFU device, we have to install a few small tools.
In the terminal, enter the following commands one by one and follow the instructions of the installation routine.
Install Homebrew Paket Manager
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Install DFU Tool
brew install dfu-util
Download latest Firmware
In this case: KISS Flight Controller Firmware v1.02RC26
With the command „cd“ we change the directory to the „.dfu“ file. If you are using a different software version, you have to adjust the following commands accordingly.
Activate DFU Mode
In order to have direct access to the KISS FC microcontroller, we need to bring the KISS FC into the DFU mode. To do this, we bridge the Bootloader pads or hold the Bootloader button on the newer KISS FC. During the following steps, the KISS FC must be permanently in the DFU / Bootloader mode. The pads must remain closed or the button must not be released.
Now you can connect the KISS FC to your Mac. The FC is in DFU mode when the green LED is permanently lit. The blue LED must not light up.
dfu-util --alt 0 -s 0x08000000:force:unprotect -D KISS_FC_RC26.dfu fu-util 0.8
With the following command you flash the .dfu file to the KISS FC.
dfu-util -R -a 0 -D KISS_FC_RC26.dfu fu-util
If you receive the following error message, please ignore it. The Flash operation has still worked. Only the USB port could not be shared.
done parsing DfuSe file
dfu-util: can’t detach
Resetting USB to switch back to runtime mode
Release Bootloader Pads
Now you can release the bootloader button (remove the bootloader pads) and restart the FC.
Your FC has now been successfully flashed.
Finally, you have to activate the firmware. You must have an Internet connection. Just click „Save Settings“.
As long as the FC is not enabled, the blue LED flashes in the secondary cycle. That’s it, your KISS FC is now ready for action. Have fun!