HobbyKing.com New Products Flash Sale
Reply
Thread Tools
Old Sep 27, 2012, 06:01 AM
Master of Flash
LazyZero's Avatar
Alsdorf/Eifel, Germany
Joined Jun 2005
1,509 Posts
You can do this as long you remove the power jumper on the usbasp.
And don't forget to remove the prop.

Best christian
LazyZero is offline Find More Posts by LazyZero
Reply With Quote
Sign up now
to remove ads between posts
Old Sep 27, 2012, 06:05 AM
Registered User
Joined Aug 2012
610 Posts
The USBasp seems to require an extremely stable voltage that some USB ports cannot provide. Both of my USBasp devices malfunction if plugged into the front USB ports of my stationary PC, but if they are plugged in at the rear USB ports they work just fine.
Avoid using USB cables!
RC911 is offline Find More Posts by RC911
RCG Plus Member
Latest blog entry: My T-shaped multirotors
Reply With Quote
Old Sep 27, 2012, 06:30 AM
Registered User
Australia, NSW, Sydney
Joined Mar 2011
341 Posts
Quote:
Originally Posted by LazyZero View Post
You can do this as long you remove the power jumper on the usbasp.
And don't forget to remove the prop.

Best christian
Well my version is quite SMD, no jumper. But I can just remove VCC from the programming wire. Better to keep or remove GND ?
HolgiB is offline Find More Posts by HolgiB
Reply With Quote
Old Sep 27, 2012, 06:42 AM
AVR Dude
United Kingdom, England, Cnwll
Joined Jul 2011
1,417 Posts
Quote:
Originally Posted by HolgiB View Post
Well my version is quite SMD, no jumper. But I can just remove VCC from the programming wire. Better to keep or remove GND ?
You need to keep GND. And, yes, just remove VCC from the programming wire.
Steveis is online now Find More Posts by Steveis
RCG Plus Member
Latest blog entry: KK2.1 V1.17S1 Updated Firmware
Reply With Quote
Old Sep 27, 2012, 07:05 AM
Registered User
Australia, NSW, Sydney
Joined Mar 2011
341 Posts
Ok just tried it, powered by ESC 1. The result is the same.

The red light flashed on the KK2 and I hear a beep. Seems to be a reset which happens, thats all.

Here is the KKFlashtool output:
Code:
Flash the firmware from repository.
Flashing firmware from file.: /opt/kkmulticopterflashtool070b2/tmp/kk2_1V2_modS2/KK2_1V2_modS2.hex

/opt/kkmulticopterflashtool070b2/lib/avrdude/linux/avrdude -C /opt/kkmulticopterflashtool070b2/lib/avrdude/linux/avrdude.conf -p m324pa -P usb -c usbasp -B 8 -e -U flash:w:/opt/kkmulticopterflashtool070b2/tmp/kk2_1V2_modS2/KK2_1V2_modS2.hex:i 

avrdude: set SCK frequency to 93750 Hz
avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: error: programm enable: target doesn't answer. 1 
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         Error during writing flash.
this check.
Basically connection error. But the pinout is the same and I can flash my KK1 without any difficultties with it. Strange.
HolgiB is offline Find More Posts by HolgiB
Reply With Quote
Old Sep 27, 2012, 07:25 AM
Live to fly... fly to Live!
Greece, Kriti, Crete
Joined Sep 2012
35 Posts
Hi to all .. I don't know if mentioned before but by search I didn't find any info.. I know KK2.0 hasn't any altitude sensors... but how about a firmware with "safe landing" option when signal lost or battery low...

And by safe landing I mean a descent rate that won't fall like a brick, fast enough to come quickly down but not to produce severe damage... I saw AR DRONE 2.0 and I believe this is a superb function!


Thanks KK for your work!!!
gsfakian is offline Find More Posts by gsfakian
Reply With Quote
Old Sep 27, 2012, 07:59 AM
Registered User
lougedo's Avatar
Spain, GA, Corunna
Joined Jan 2011
211 Posts
Quote:
Originally Posted by gsfakian View Post
Hi to all .. I don't know if mentioned before but by search I didn't find any info.. I know KK2.0 hasn't any altitude sensors... but how about a firmware with "safe landing" option when signal lost or battery low...

And by safe landing I mean a descent rate that won't fall like a brick, fast enough to come quickly down but not to produce severe damage... I saw AR DRONE 2.0 and I believe this is a superb function!


Thanks KK for your work!!!
And how it will know when is on the floor? this board hasn´t got any barometer or sonar to know that, that´s what i think...
lougedo is offline Find More Posts by lougedo
Reply With Quote
Old Sep 27, 2012, 08:10 AM
Registered User
United States, TX, Richmond
Joined Aug 2010
1,265 Posts
Quote:
Originally Posted by lougedo View Post
And how it will know when is on the floor? this board hasn´t got any barometer or sonar to know that, that´s what i think...
Correct, that function is not available without a barometer. Sonar is only really accurate up to 3 meters.
rcjose is offline Find More Posts by rcjose
Reply With Quote
Old Sep 27, 2012, 08:28 AM
AVR Dude
United Kingdom, England, Cnwll
Joined Jul 2011
1,417 Posts
Quote:
Originally Posted by lougedo View Post
And how it will know when is on the floor?
Could you use the z axis? Presumably, it stays at a set value when it's on the floor?
Steveis is online now Find More Posts by Steveis
RCG Plus Member
Latest blog entry: KK2.1 V1.17S1 Updated Firmware
Reply With Quote
Old Sep 27, 2012, 10:25 AM
THE PUBLIC IS THE PROBLEM
subaru4wd's Avatar
United States, CA, Sacramento
Joined Aug 2012
3,134 Posts
Quote:
Originally Posted by rcjose View Post
Correct, that function is not available without a barometer. Sonar is only really accurate up to 3 meters.
Who cares??? Just so long as the thing does not fall like a brick out of the air.

It can continue to descend until it hits the ground, and then it can think its still descending for all I care. I think ANY kind of fail safe would be a good idea for this board.
subaru4wd is offline Find More Posts by subaru4wd
Reply With Quote
Old Sep 27, 2012, 11:26 AM
Registered User
France, RA, Roche-la-Molière
Joined Sep 2012
46 Posts
Quote:
Originally Posted by HolgiB View Post
Ok just tried it, powered by ESC 1. The result is the same.

The red light flashed on the KK2 and I hear a beep. Seems to be a reset which happens, thats all.

Here is the KKFlashtool output:
Code:
Flash the firmware from repository.
Flashing firmware from file.: /opt/kkmulticopterflashtool070b2/tmp/kk2_1V2_modS2/KK2_1V2_modS2.hex

/opt/kkmulticopterflashtool070b2/lib/avrdude/linux/avrdude -C /opt/kkmulticopterflashtool070b2/lib/avrdude/linux/avrdude.conf -p m324pa -P usb -c usbasp -B 8 -e -U flash:w:/opt/kkmulticopterflashtool070b2/tmp/kk2_1V2_modS2/KK2_1V2_modS2.hex:i 

avrdude: set SCK frequency to 93750 Hz
avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: error: programm enable: target doesn't answer. 1 
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         Error during writing flash.
this check.
Basically connection error. But the pinout is the same and I can flash my KK1 without any difficultties with it. Strange.
Have you try to connect usbap on a powered hub ???
vivazapata is offline Find More Posts by vivazapata
Reply With Quote
Old Sep 27, 2012, 11:31 AM
THE PUBLIC IS THE PROBLEM
subaru4wd's Avatar
United States, CA, Sacramento
Joined Aug 2012
3,134 Posts
Quote:
Originally Posted by RC911 View Post
The USBasp seems to require an extremely stable voltage that some USB ports cannot provide. Both of my USBasp devices malfunction if plugged into the front USB ports of my stationary PC, but if they are plugged in at the rear USB ports they work just fine.
Avoid using USB cables!
I have issue where my AVR Programmer will only work on 1 of the USB ports on my Laptop (out of 4). This might be cause of Dell and their horrible craftsmanship, since 2 of the 4 USB ports don't work whatsoever.

If I plug the programmer into 1 of my USB ports, win7 warns me the device cannot be recognized. If i use the other working USB port, it detects it just fine & I am able to flash the KK2 board.

I have yet to test it on any of my desktops...
subaru4wd is offline Find More Posts by subaru4wd
Reply With Quote
Old Sep 27, 2012, 11:34 AM
Registered User
France, RA, Roche-la-Molière
Joined Sep 2012
46 Posts
Quote:
Originally Posted by HolgiB View Post
Ok just tried it, powered by ESC 1. The result is the same.

The red light flashed on the KK2 and I hear a beep. Seems to be a reset which happens, thats all.

Here is the KKFlashtool output:
Code:
Flash the firmware from repository.
Flashing firmware from file.: /opt/kkmulticopterflashtool070b2/tmp/kk2_1V2_modS2/KK2_1V2_modS2.hex

/opt/kkmulticopterflashtool070b2/lib/avrdude/linux/avrdude -C /opt/kkmulticopterflashtool070b2/lib/avrdude/linux/avrdude.conf -p m324pa -P usb -c usbasp -B 8 -e -U flash:w:/opt/kkmulticopterflashtool070b2/tmp/kk2_1V2_modS2/KK2_1V2_modS2.hex:i 

avrdude: set SCK frequency to 93750 Hz
avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: error: programm enable: target doesn't answer. 1 
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         Error during writing flash.
this check.
Basically connection error. But the pinout is the same and I can flash my KK1 without any difficultties with it. Strange.
Have you try to connect usbap on a powered hub ???
You can also try KKmulticopter Flash Tool V0.63 , V070 is béta one
vivazapata is offline Find More Posts by vivazapata
Reply With Quote
Old Sep 27, 2012, 11:48 AM
Registered User
Acit's Avatar
Singapore
Joined Sep 2012
38 Posts
Quote:
Originally Posted by tech69x View Post
This is your first quad. If so please be carful they are a lot of fun but they can hurt you to.
Thanks for the advise. Yeah, while trying to make it fly for the 1st time, 2 propellers broke. It crashed on the windows. Now it still grounded waiting for new props.
Acit is offline Find More Posts by Acit
Reply With Quote
Old Sep 27, 2012, 01:05 PM
Registered User
Joined Jul 2012
27 Posts
Quote:
Originally Posted by tech69x View Post
This is my DJI 450 with emp 750 kv motors hobbywing 40 amp Esc's and the kk2.0

http://youtu.be/InBGKDcJ8Q4
is your battery a 4S?
Quadrinus is offline Find More Posts by Quadrinus
Reply With Quote