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.
Source
A guide for Windows you can find here:
Other articles: KISS FC connection plan
Inhaltsverzeichnis
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
– MicroUSB cable
– XCode
– Homebrew Package Manager
– DFU-Util
– current KISS Chrome App 1.0.10
Install Tools
In order for the KISS FC to be recognized as a DFU device, we have to install a few small tools.
Start Terminal
In the terminal, enter the following commands one by one and follow the instructions of the installation routine.
Install xCode
xcode-select --install
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
http://kiss.flyduino.net/downloads/
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.
cd ~/Downloads/KISS_FC_RC26
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.
Connect USB
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.
Unlock EEPROM
dfu-util --alt 0 -s 0x08000000:force:unprotect -D KISS_FC_RC26.dfu fu-util 0.8
Flash Firmware
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.
Download done.
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.
Activate Firmware
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!
Mine required a firmware (FC) update before the GUI could work – and then handle the flashing… Thanks, poul
das kommt über Terminal:
Match vendor ID from file: 0483
Match product ID from file: 0000
Opening DFU capable USB device…
ID 0483:df11
Run-time device DFU version 011a
Claiming USB DFU Interface…
Setting Alternate Setting #0 …
Determining device status: state = dfuERROR, status = 10
dfuERROR, clearing status
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 2048
DfuSe interface name: „Internal Flash “
file contains 1 DFU images
parsing DFU image 1
image for alternate setting 0, (2 elements, total size = 72832)
parsing element 1, address = 0x08000000, size = 392
Download [ ] 0% 0 bytesdfu-util: ERASE_PAGE not correctly executed
Dariuss-iMac:Desktop dopplerfpv$
hab ein Problem mir meinem KissFC v1.03 (bin auf ElCapitan). Flashen über die GUI 1.15.6 FW1.2 ohne Probleme mehrmals hinter einander. Sobald ich aber zu den Configs connecten will, passiert nichts komme einfach nicht rein! (Port: /dev/cu.Bluetooth-Incoming-Port). Gestern hatte 1x geklappt und nun geht gar nicht mehr. Wäre für jeden kleinsten Tipp sehr dankbar!
Hey,
warum flasht du es denn so umständlich?
Neuerung: Mac OSX Flash Vorgang vereinfacht
Seit neustem ist es möglich die KISS FC / CC wesentlich einfacher zu flashen. Öffne dazu das GUI. Schließe nun die KISS FC / CC mit gedrückten Bootloader Knopf an und in der GUI erscheint ein Auswahlfenster für die Firmware-Datei. Wähle nun die richtige Firmware und klicke auf „flash“.
=)