KKmulticopter Flash Tool is a tool that will easily upload selected firmware to your KKmulticopter board, ATmega8 based ESC or Smart LCD pro. It is designed to support users that never have flashed firmware to a micro-controller board. All that is needed is for the user to select the programmer you're using to flash the board, select board or controller type, and desired firmware version. You will then have the ability to flash a firmware file from your PC or directly from the Internet by selecting from a list of latest available firmware versions. This repository is maintained by me, so if I miss a new version please contact me.
Also, this the tool can be used to save some of the possible settings you normally do by using the pots within the PC. (old KK boards only)
The tool will save the settings upon exiting the KKmulticopter Flash Tool. You will not need to set everything back up upon re-launching the KKMulticopter Flash Tool. This is because the KKMulticopter Flash Tool saves the settings you selected upon sucessfully flashing your controller board.
To get more informations on how to flash BL-ESC see also the Flashing ATmega8 based BL-ESC manual.
The tool can also create a USB linker from an Arduino, which cn be used to flash bootloader enabled ESC. How to make a Arduino USB linker.
To run the tool you need a normal Windows PC, Mac or Linux PC. When using your computer it is required to have the latest version of Java installed (at least in version 6). You have to be careful when you download it, because the Oracle homepage offers you automatically a download according to the version of the browser that you use. So if you have a 64 bit OS you should also use a 64 bit browser to download Java. Firefox and Chrome are no 64 bit browsers, but IE 8 and IE9 are 64 bit.
An ISP programmer with correct installed driver.
An Internet connection is required if you want to use the repository. Upon launching the KKMulticoper Flash Toll the descriptive file of the repository with all informations will be downloaded.
You just have to un-zip the archive you downloaded to any folder you like.
Just open the dmg-image and move the kkMulticopter Flash Tool to the Applications folder.
To start the tool use the run script dedicated for your OS.
Do not run the Java executable as the tool will not work properly.
After starting the tool you may get a dialog that there is a new version. Press the download button to leave the tool and it will open the download page of the tool in your default browser. Or you can select cancel to get to the tool.
The setting menu has three functions:
In this menu you can send me a bug report or commit firmware you found on the Internet or you wrote to be added to the repository.
The send bug report menu item will open your default email program and paste the content of kklogging.txt and a dump of the status area to the mail body.
You can also commit firmware to me. This menu item will open a form where you can enter information about the firmware you would like to be added to the repository.
In this part of the menu I obtained some Internet links of helpful resources to set-up the firmware available in the repository plus, a link to this manual.
Contains the About screen and the full text of the GPL 3 license.
Flashing new firmware is very easy. First, select the programmer (1) you are using. Adjust the port to your needs, if you have a serial programmer you can also try to change the baud rate (2) for the programmer, but it's recommended to leave this parameter on default value (3). There are only a few programmers that use real USB interface, most models have a USB serial converter build-in the programmer. For serial programmers select the port it allocated on your system (e.g. COM1 on Windows based systems). If you are not sure about the port you can look up this in the device manager of your system. The programmer settings will be stored when software is closed.
Next select the kkboard (4) you want to flash with the new firmware. If you have an older board or a homemade board you can select the processor type installed on your board from the end of the list. Any selections made are saved after you exit the KKmulticopter Flash Tool program.
You have the choice to flash your own compiled firmware (6) or from the repository I am maintaining (10) in the firmware panel (5).
If you flash your own firmware or a firmware that is not in the repository. It is required that the file is in Intel hex format. To select your hex file open the file chooser pressing (6). If it is a file with file extension hex the flash button (7) will be enabled. Press the flash button to start the flashing process. The actions during the flashing will be printed in the large text area at the bottom of the window. When the flashing process is completed you should read something similar to:
avrdude: verifying ... avrdude: n bytes of flash verified avrdude done. Thank you.
For the firmware variants that are developed by kapteinKuk (KK), Mike Barton (XX), David alias HappySundays (NeXtcopterPlus, OpenAero) or Minsoo Kim(XX_KR). Are more or less completely available by the repository. Big advantage of the repository is that you don't have to search the Internet to obtain an older firmware versions. Also, I'll try to keep the repository as up-to-date as possible. If I miss a new version you can contact me by the Contact form on the download page.
As there are now a lot of firmwares in the repository there is a selection of firmware types (8) to reduce the list below (10). Select the version and origin you like to flash from the list (10). The list is sorted by origin and version number. Meaning, the most recent Quadrocopter firmware of a particular type will not be on the top of the list.
To reload the list you can press the reload button (9). Then the local repository file will be updated from the Internet and the selection combo boxes are reset. This only needs to be done if you want to reset your selections or if there is a problem with the repository.
If there is a link to a manual for the selected firmware the info button (11) becomes enabled. Select the button to open the Internet site in your browser or a pdf if available.
For flashing the selected firmware press the flash button (12). Now the fuses will be set with the firmware downloaded and flashed to your board. Upon successful flashing you will receive a output in the text area as listed above.
If you get a „target doesn't answer“-error like the one below. Check three things:
avrdude.exe: set SCK frequency to 93750 Hz avrdude.exe: warning: cannot set sck period. please check for usbasp firmware update. avrdude.exe: error: programm enable: target doesn't answer. 1 avrdude.exe: initialization failed, rc=-1 Double check connections and try again, or use -F to override this check.