KKMulticopter Flashtool

2009/12/09 08:37

FAQ

Firmware

Variations of Quad, Xcopter V4.7 and Tricopter 1.6

There are several variations of the 4.7 firmware available. They only differ in the “stickscale”, which is the sensitivity of who the signal from the Stick is transformed in an action of the kkboard. And decrease of 1 is equivalent to a double of sensitivity.

standard = stickscale of 5 on all axes
acro = stickscale of 4 on all axes
agressive = stickscale 3 on roll/nick, 4 on yaw
ultimate = stickscale of 3 on all axes

Installation

how do i install ur software. i don't see any executable files there?

For Windows and Linux just download the zip-file and uncompress its content to a folder on your harddisk. Mac users hav to download the dmg-image, when it is downloaded double click it to see its content. You may copy the flashtool to your harddisk.

How to install drivers and the KKflashtool on Windows 8

A very good explanation on how to install the hole toolchain on Windows 8.

http://flitetest.com/articles/lazyzero-s-flashtool-on-windows-8

Mountain Lion doesn't like programs from unverified sources and admit to trash them

Doesn't start on Mac with the message: /Library/Java/Extensions/librxtxSerial.jnilib: no matching architecture in universal wrapper

Then please delete the file in the package /Library/Java/Extensions/librxtxSerial.jnilib according to this blog entry

Program execution

Main class not found

The program states on execution “Could not find the main class:de.lazyzero.kkMulticopterFlashTool.KKMultico pterFlashTool.Programs will exit” and does not start.

Make sure you have an actual version of Java 6 or newer installed on your system.

'Java' not known or "No JVM could be found"

in newer versions you might get something like:

No JVM could be found on your system.
Please define EXE4J_JAVA_HOME
to point to an installed JDK or JRE or download a JRE from
www.java.com

faq_64bit_java_problem.jpg

There are three reasons that this error comes during program start.

  1. You have no Java installed. Visit http://java.oracle.com to get a copy for your OS.
  2. You have Java installed, but not the right version, due to the fact you used a 32bit browser on a 64bit system. Then oracle offers a 32bit Java, but you need the 64bit. So make sure you really installed a suitable Java.
  3. Your Windows PATH variable is not configured right. That can sometimes happen after Java update. See http://www.java.com/en/download/help/path.xml to fix it.

If after you tried these two point it still doesn't work try the method proposed in this video.

Version 0.40 does not start on Win7 64bit

Win7 64-bit user's have to replace one file of the flash tool (version 0.40) by the content of this zip file.

Programmer

Programmer is recognized as Vendor ID 0x00 and Product ID 0x00

This problem can be caused if your USB port doesn't provide enough power. Especially USB port on the front side or in Laptops are soemtimes a bit weak. Test your programmer with a powered hub.

Installing un-signed drivers on Windows8

Install driver for xwopen USBasp clone

Works with FlyCam AVR ISP Programmer v2.1?

Will the KKmulticopter Flash Tool work with this: FlyCam AVR ISP Programmer v2.1

If so, what programmer should I select on the flash tool?

Yes it will. You have to select the avrispv2 programmer from the drop down menu. For the port you have to checkout in the hardware manger on which COM port the programmer is installed. Then enter that port into the flash tool, e.g. COM4(Windows) or /dev/ttyUSB0 (Linux). Works also with the 2.0 version of the programmer.

Works with USBasp?

Will the tool work with USBasp. They are some really cheap on ebay.

Yes. You can use USBasp. Be sure to use the original firmware from the homepage of Thomas Fischl.

If you buy a USBasp on ebay, don't use the driver provided in the auction. Get the original driver from fischl.de. Most of the problems with not recognized programmers can so be avoided.

SCK message during flashing

avrdude.exe: set SCK frequency to 93750 Hz
avrdude.exe: warning: cannot set sck period. please check for usbasp firmware update.

This is not a problem at all. You can ignor this.

Target doesn't answer. 1

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.
avrdude.exe done.  Thank you. 

The rc-1 failure is mostly caused by not poewering the device or wrong connections. In some cases the reset pin is configured to not be available with the same result.

So first check that it is powered correctly.

How can I see it is powered:

  • The KK5.5 board should blink once when you power it by the USBasp.
  • ESC should play their strart-up sound to a connected motor.
  • On KK2.0/1/1.5 the backlight of the display has to light.

Disconnect everything but the USBasp from the board.

Check if the cable from the USBasp is connected in the right order. Meassure the cable with a multimeter for broken lines and short circuits.

avrdude.exe: error: usbasp_transmit

avrdude.exe: error: usbasp_transmit: usb_control_msg: sending control message failed, win error: The I/O operation has been aborted because of either a thread exit or an application request.

avrdude.exe: error: usbasp_transmit: usb_control_msg: sending control message failed, win error: The device does not recognize the command.

Probably your USBasp is broken. Please cross check this with a second programmer or board.

Works with myAVR mySmartUSB light

Hello, i couldn´t find on the flash tool list but would the tool support myAVR mysmartusb atmel programmer? http://shop.myavr.de/index.php?sp=article.sp.php&artID=200006

Yes it does, you have to choose the stk500v2 programmer from the list (That is the default firmware on the programmer). Then replace the “usb” in the port textfield with the com port that is opened when you plug the programmer to your pc. During programming you have to attache a 5V source to the kk-board.

Make some USB programming dongles work on Linux

Make several usb AVR programming dongles work on Linux

To use the avrisp mkII and other programmers run on Linux needed to add a rule to udev (according to this http://www.mikrocontroller.net/articles/AVRDUDE)

Add a rule 10_avrproggers.rules to /etc/udev/rules.d/ containing:

# Atmel AVR ISP mkII
SUBSYSTEM=="usb", SYSFS{idVendor}=="03eb", SYSFS{idProduct}=="2104", GROUP="users", MODE="0660" 

# usbprog bootloader
ATTRS{idVendor}=="1781", ATTRS{idProduct}=="0c62", GROUP="users", MODE="0660"
 
# USBasp programmer
ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="05dc", GROUP="users", MODE="0660"
 
# USBtiny programmer
ATTRS{idVendor}=="1781", ATTRS{idProduct}=="0c9f", GROUP="users", MODE="0660"

then restart udev and you are done.

USBasp is natively supported on Ubuntu 10.04 and newer.

2011/08/10 10:10 · moll

Make USB Linker work on Linux

To use the Turnigy or Arduino USB Linker on Linux. You must be in the group of users that are allowed to read and write to the tty devices. To check type ls -la /dev/tty* into the bash.

On Kubuntu you get something like that:

crw-rw---- 1 root dialout   4, 64 Dec 31 14:56 /dev/ttyS0
crw-rw---- 1 root dialout   4, 65 Dec 31 14:56 /dev/ttyS1
...
crw-rw---- 1 root dialout 188,  0 Dec 31 15:01 /dev/ttyUSB0

To use the /dev/ttyUSB0 for example you have to add your user to /etc/group after the dialout:<any GID>:<your name> and reboot the system.

This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information