lazyzero / kkmulticopterflashtool Goto Github PK
View Code? Open in Web Editor NEWThe kkflashtool is a easy to use tool to flash all kind of Atmel based RC equipment.
Home Page: kkflashtool.de
License: GNU General Public License v3.0
The kkflashtool is a easy to use tool to flash all kind of Atmel based RC equipment.
Home Page: kkflashtool.de
License: GNU General Public License v3.0
When attempting to flash firmware with kkMulticopterFlashTool v 0.77 beta under 64 bit linux, the following message occurs throughout flashing and verification process:
avrdude: stk500v2_ReceiveMessage(): timeout
This results in a mismatch error upon completion of flash and verification.
The system in question is Ubuntu LTS 12.04, 64 bit. Afrousb programmer used, but issue also occurs with sparkfun pocket programmer (tinyusb based).
The same system runs 64 bit windows 7 professional through virtualbox on the ubuntu system, and successfully flashes and reads the firmware. The virtual box runs the 32 bit version of kkmcft, and 32 bit oracle java jre.
Thank you!
last 2 versions of the software (stable and beta) have the wrong md5sum for the dys n-fet file when using the 2015-04-19 release the 2014-09-30 md5sums are OK
exact error:
Flash the firmware from repository.
Flashing of firmware aborted. File is corrupted, MD5 does not match to the MD5 in the repository.
Hi you fixed the MD5 sum of the program, but I think there are more problems
when I choose the DYS N FET 2015-04-19 file I can flash but get an error on verify
(when I flash 2014-09-30 all goes oke)
Flash the firmware from repository.
lashing firmware from file.: /Users/0xygen8/Library/Preferences/kkMulticopterFlashTool/dys_nfet.hex
/Applications/kkMulticopter Flash Tool.app/Contents/Resources/Java/lib/avrdude/mac/avrdude -C /Applications/kkMulticopter Flash Tool.app/Contents/Resources/Java/lib/avrdude/mac/avrdude.conf -p m8 -P /dev/cu.SLAB_USBtoUART -c afrousb -e -U flash:w:/Users/0xygen8/Library/Preferences/kkMulticopterFlashTool/dys_nfet.hex
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.13s
avrdude: Device signature = 0x1e9307
avrdude: erasing chip
avrdude: reading input file "/Users/0xygen8/Library/Preferences/kkMulticopterFlashTool/dys_nfet.hex"
avrdude: writing flash (8192 bytes):
Writing | ################################################## | 100% 9.02s
avrdude: 8192 bytes of flash written
avrdude: verifying flash memory against /Users/0xygen8/Library/Preferences/kkMulticopterFlashTool/dys_nfet.hex:
avrdude: load data flash data from input file /Users/0xygen8/Library/Preferences/kkMulticopterFlashTool/dys_nfet.hex:
avrdude: input file /Users/0xygen8/Library/Preferences/kkMulticopterFlashTool/dys_nfet.hex contains 8192 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 8.39s
avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x1f92
0xfe != 0xfc
avrdude: verification error; content mismatch
avrdude done. Thank you.
Error during writing flash.
When I tick the "Hide deprecated" button on flash tool 1.77 beta 3 it hides later than V1.2 firmware for the KK2.1, even though V1.9 is available.
Great idea by the way.
Do you think it would be possible to include some kind of looped mode to help with ESC flashing/getting info and sound feedback?
Sound when some error, complete, countdown etc.
I want to use pogo pins to hold on the 4 pins (MISO/MOSI/RESET/CLK)... but it is little difficult to see screen when doing that. I would like it to keep trying to get info about ESC every 5 seconds.. maybe short beeps, then longer beep when 0 etc, then stop when it gets some info/does a flash.
I don't want to solder to the atmega.
If there isn't already a tab to check if connections work.
any help or feedback for the idea? thanks
all the best.
Hello
I was working on compiling avrdude 6 to use with my boot disk and eepe/companion9x to flash 9X/9Xr transmitters. I was getting strange mismatch errors. I documented them and another person then posted a bug over at the avrdude devel list. I notice that some of the targets in your tool use 64KB flash and you use avrdude 6. There was also a post within the last month or so from a use with a mismatch error.
Trying to flash tgy_reverse, I get the following:
Download finished: /home/niels/Downloads/esc/tmp/tgy-2015-04-19.zip
path to zipFile: /home/niels/Downloads/esc/tmp/tgy-2015-04-19.zip
file to extract: tgy_reverse.hex
Feb 28, 2019 8:49:41 AM de.lazyzero.kkMulticopterFlashTool.KKMulticopterFlashTool err
WARNING: The downloaded zip file containing the choosen hex was damaged, try again. If that doesn't work restart the application.
Feb 28, 2019 8:49:41 AM de.lazyzero.kkMulticopterFlashTool.KKMulticopterFlashTool err
WARNING: If the problem still occures, write a bug report.
java.lang.NullPointerException
at java.base/java.io.File.(File.java:276)
at de.lazyzero.kkMulticopterFlashTool.utils.Zip.unzipFile(Zip.java:102)
at de.lazyzero.kkMulticopterFlashTool.utils.Firmware.getFile(Firmware.java:180)
at de.lazyzero.kkMulticopterFlashTool.KKMulticopterFlashTool$2.run(KKMulticopterFlashTool.java:436)
Feb 28, 2019 8:49:41 AM de.lazyzero.kkMulticopterFlashTool.KKMulticopterFlashTool err
WARNING: Error during writing flash.
Feb 28, 2019 8:49:41 AM de.lazyzero.kkMulticopterFlashTool.KKMulticopterFlashTool$2 run
WARNING: error.writeflash
I noticed the linux avrdude executables you supply with the tool are not stripped. This will reduce the size of the files. I just run 'strip avrdude' but I believe it can be incorporated into the Makefile.
I am considering making a bootable iso that includes open source RC tools, and this tool is on my list
I use x64 Windows-11 professional. I have installed usbasp driver mentioned on site and the "testlibusb-win.exe" tool shows the details as:
DLL version: 0.1.12.1
Driver version: -1.-1.-1.-1
When I run Flash-tool (either stable version 0.77 or latest version 0.99) - the UI does not come up. I can see the process running in task-manager but I do not see the UI (it doesn't load in even 01 hour).
The logging.txt file contains the message "INFO: Splash not loaded." - but no more details are available.
Hi
I think the latest versions of avrdude can support the tiny so those old versions arent needed. Maybe you arent even using them anymore
Hi, for some reason I wasnt able to load the FlashTool.
After some digging I found that the problem was that the firmwares.xml.zip file was "corrupted".
Oppening on a text editor I got:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="https://www.chrmoll.de/_media/firmwares.xml.zip">here</a>.</p>
</body></html>
After downloading from the new place and putting the xml file on /temp folder the tool loaded fine.
I am working on packaging kkmulticopterflashtool for Tiny Core linux. When the package is installed the root dir of the package is not user writable. I am creating a symlink back to the users home directory for tmp. It would be nice if all the working files the app creates were in one directory .
I dont know enough about jave but would it be possible to specify the tmp dir on the command line when the app is run ? Then it could be set at runtime by a script and I wouldnt need any symlinks.
thanks
Hello
would it be possible to document the build process of this tool. thanks
this is on Fedora release 19 (Schrödinger’s Cat)
check_group_uucp(): error testing lock file creation Error details:Permission deniedcheck_lock_status: No permission to create lock file.
please see: How can I use Lock Files with rxtx? in INSTALL
to be fair a lot of java programs have this issue. I think the distributions are limiting permissions to the lock directories
also I dont have this warning when running on tinycore linux
Hi lazyzero
I have downloaded the zip file and I have extracted it. When I doubleclick on the file kkflashtool_win32.exe the program will not start. But some files are created:
error.log
kkLogging.txt
output.log
And also a file called kkLogging.txt.lck I'm not able to upload this file to github.
Any suggestions on what can be wrong?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.