HobbyKing.com New Products Flash Sale
Reply
Thread Tools
Old Nov 03, 2012, 10:12 PM
Too Many Thread Subscriptions
TheFernMan's Avatar
United States, FL, Miami
Joined Jul 2012
2,175 Posts
Quote:
Originally Posted by Acit View Post
Thanks LittleMo, now I get it clearly.
Download lazyzero flash tool.
TheFernMan is offline Find More Posts by TheFernMan
Reply With Quote
Sign up now
to remove ads between posts
Old Nov 04, 2012, 08:44 AM
James not bond
jy0933's Avatar
United States, MN, Minneapolis
Joined May 2012
2,071 Posts
@simon...

i'm working on a experimental project that expands pwm output ranged from 1000~4000 so that it will be easier to control quad when hovering throttle is below 40%...

I wonder what is acceptable pwm input range for this firmware now?
jy0933 is offline Find More Posts by jy0933
Reply With Quote
Old Nov 04, 2012, 09:12 AM
Registered User
Joined Oct 2012
115 Posts
Flashing SiLabs ESCs with BLHeli Multi Firmware

Turnigy Plush 6/10/12/18/25/30/40/60/80A

Turnigy AE 20/25/30/45A (All N-Fet design aka it runs cooler)

BLHeli Multi Firmware Demo (3 min 4 sec)







future88 is offline Find More Posts by future88
Last edited by future88; Nov 04, 2012 at 09:18 AM.
Reply With Quote
Old Nov 04, 2012, 11:00 AM
Registered User
Ipoh, Perak Malaysia
Joined Jul 2006
4,012 Posts
Future88,

Could you please provide a link for flashing Tgy AE30/

tq

chewy
chewytm is offline Find More Posts by chewytm
Reply With Quote
Old Nov 04, 2012, 04:13 PM
Still flying a desk..
ChilternFlyer's Avatar
United Kingdom, High Wycombe
Joined Sep 2001
2,177 Posts
Mixed results!!

HI guys,
Congratulation on an awesome thread!

I successfully flashed 5 new Plush 10As yesterday using sskaug's firmware and Olliw's BLheli tools. Awesome performance now although the ESC's themselves are powerful enough to make my quad fly very well. (AXN 2213 800Kv full throttle only draws 6.3a but draws 9A on a plush 25A!) So I've put these to one side and will fit them to a smaller quad later.

I found some spare ATmega8 ESC's kicking around so I tried these next (using the LazyZero tool). First up:-
(1) Mystery Blue 12A (HK Blue series 12A) a but tricky to solder the wires on but still managed to programme it with "BS N FET.hex" and it verified OK. It makes the right noises when it powers up but won't actually start the motor :-( (motor just stutters).
(2) I then tried and old red brick 25A:- Programmed it with "TGY.hex" and got a similar result. It just about spins but doesn't respond very well to throttle. I wasn't going to push it in case something suddenly started smoking. I've retested the motor using a Plush 10 that I did yesterday - the motor is fine.

So, I'm not sure what I've done wrong but I need to understand what's happened here before trying anymore of my ATMega8 ESC's.

Any ideas??


Here is the console output from flashing the red brick:-
Quote:
Flash the firmware from repository.

C:\Users\Mitch\Downloads\kkmulticopterflashtool_0. 63\lib\avrdude\windows\avrdude.exe -C C:\Users\Mitch\Downloads\kkmulticopterflashtool_0. 63\lib\avrdude\windows\avrdude.conf -p m8 -P usb -c usbasp-clone -B 8 -e -U lfuse:r:C:\Users\Mitch\Downloads\kkmulticopterflas htool_0.63\tmp\/lfuse.hex:r -U hfuse:r:C:\Users\Mitch\Downloads\kkmulticopterflas htool_0.63\tmp\/hfuse.hex:r

avrdude.exe: set SCK frequency to 93750 Hz
avrdude.exe: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.01s

avrdude.exe: Device signature = 0x1e9307
avrdude.exe: erasing chip
avrdude.exe: set SCK frequency to 93750 Hz
avrdude.exe: reading lfuse memory:

Reading | ################################################## | 100% 0.00s

avrdude.exe: writing output file "C:\Users\Mitch\Downloads\kkmulticopterflashtool_0 .63\tmp\/lfuse.hex"
avrdude.exe: reading hfuse memory:

Reading | ################################################## | 100% 0.00s

avrdude.exe: writing output file "C:\Users\Mitch\Downloads\kkmulticopterflashtool_0 .63\tmp\/hfuse.hex"

avrdude.exe done. Thank you.


C:\Users\Mitch\Downloads\kkmulticopterflashtool_0. 63\lib\avrdude\windows\avrdude.exe -C C:\Users\Mitch\Downloads\kkmulticopterflashtool_0. 63\lib\avrdude\windows\avrdude.conf -p m8 -P usb -c usbasp-clone -B 8 -e -U lfuse:w:164:m -U hfuse:w:218:m

avrdude.exe: set SCK frequency to 93750 Hz
avrdude.exe: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.01s

avrdude.exe: Device signature = 0x1e9307
avrdude.exe: erasing chip
avrdude.exe: set SCK frequency to 93750 Hz
avrdude.exe: reading input file "164"
avrdude.exe: writing lfuse (1 bytes):

Writing | ################################################## | 100% 0.01s

avrdude.exe: 1 bytes of lfuse written
avrdude.exe: verifying lfuse memory against 164:
avrdude.exe: load data lfuse data from input file 164:
avrdude.exe: input file 164 contains 1 bytes
avrdude.exe: reading on-chip lfuse data:

Reading | ################################################## | 100% 0.00s

avrdude.exe: verifying ...
avrdude.exe: 1 bytes of lfuse verified
avrdude.exe: reading input file "218"
avrdude.exe: writing hfuse (1 bytes):

Writing | ################################################## | 100% 0.02s

avrdude.exe: 1 bytes of hfuse written
avrdude.exe: verifying hfuse memory against 218:
avrdude.exe: load data hfuse data from input file 218:
avrdude.exe: input file 218 contains 1 bytes
avrdude.exe: reading on-chip hfuse data:

Reading | ################################################## | 100% 0.00s

avrdude.exe: verifying ...
avrdude.exe: 1 bytes of hfuse verified

avrdude.exe done. Thank you.

Flashing firmware from file.: C:\Users\Mitch\Downloads\kkmulticopterflashtool_0. 63\tmp\tgy.hex

C:\Users\Mitch\Downloads\kkmulticopterflashtool_0. 63\lib\avrdude\windows\avrdude.exe -C C:\Users\Mitch\Downloads\kkmulticopterflashtool_0. 63\lib\avrdude\windows\avrdude.conf -p m8 -P usb -c usbasp-clone -B 8 -e -U flash:w:C:\Users\Mitch\Downloads\kkmulticopterflas htool_0.63\tmp\tgy.hex:i

avrdude.exe: set SCK frequency to 93750 Hz
avrdude.exe: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.01s

avrdude.exe: Device signature = 0x1e9307
avrdude.exe: erasing chip
avrdude.exe: set SCK frequency to 93750 Hz
avrdude.exe: reading input file "C:\Users\Mitch\Downloads\kkmulticopterflashtool_0 .63\tmp\tgy.hex"
avrdude.exe: writing flash (8192 bytes):

Writing | ################################################## | 100% 2.21s

avrdude.exe: 8192 bytes of flash written
avrdude.exe: verifying flash memory against C:\Users\Mitch\Downloads\kkmulticopterflashtool_0. 63\tmp\tgy.hex:
avrdude.exe: load data flash data from input file C:\Users\Mitch\Downloads\kkmulticopterflashtool_0. 63\tmp\tgy.hex:
avrdude.exe: input file C:\Users\Mitch\Downloads\kkmulticopterflashtool_0. 63\tmp\tgy.hex contains 8192 bytes
avrdude.exe: reading on-chip flash data:

Reading | ################################################## | 100% 2.00s

avrdude.exe: verifying ...
avrdude.exe: 8192 bytes of flash verified

avrdude.exe done. Thank you.
ChilternFlyer is online now Find More Posts by ChilternFlyer
Last edited by ChilternFlyer; Nov 04, 2012 at 04:27 PM.
Reply With Quote
Old Nov 04, 2012, 05:00 PM
Registered User
Finland, Uusimaa, HKI
Joined Jan 2012
296 Posts
Hi guys,

I have been using several different esc:s flashed with SK firmware with great success hundreds of flights incl. maytech 30A, F-30A, F-40A, Blueseries 40A. Thanks a lot Simon for amazing work.

Now i'm building new big 120CM octo for 7kg auw and looking for best possible most reliable esc:s to my setup to be flashed. I'd go for blueseries as they are 15g lighter than F-40A:s (and also smaller in dimensions) but they have been backorder so long and don't know when they'll stock again. So two questions i'd like to hear your comments:

1: What is the very best/lightest/most efficient/reliable esc today in 40-50A range?

2: I would like to use flatter motors because i'm going to use 14-15" xoars but what is max count of poles that is known to work reliably without any issues with flashed esc:s? Or is there something else in motors specs that i should watch to avoid digging problems with SimonK fw?
As i've been using only 2814 size motors before this are these 3515 fine as well? (they are 12N14P just like 2814:s) http://www.rctigermotor.com/show.php?contentid=161

Kari
KariY is offline Find More Posts by KariY
Reply With Quote
Old Nov 04, 2012, 06:50 PM
Plane and multirotor's - FPV
DrEvil's Avatar
Moss, Norway
Joined Jun 2007
855 Posts
Subscribing to this thread.
DrEvil is offline Find More Posts by DrEvil
Reply With Quote
Old Nov 04, 2012, 06:56 PM
hacker
Canada, BC, North Vancouver
Joined Dec 2010
936 Posts
Quote:
Originally Posted by future88 View Post
I want to reload the original program of the esc from the manufacturer, the program code has locked the manufacturer?
you please tell me all esc brushless unlocked code from the manufacturer so I can buy them
There is no code. The fuses are set so that you cannot read the old program, unless you are lucky and they forgot to do this. Some (like HK-SS 25A) set RSTDISBL now, which means you can't even talk to the chip.

Quote:
Originally Posted by jaccies View Post
1.4 Refresh rate of the throttle signal: 50Hz to 432Hz.
Yes, but input is still averaged.

Quote:
Originally Posted by AlbyZ View Post
Has any kind soul seen these before and could possibly guide me to the correct firmware to apply to these ESC's?
I don't recognize them. You'll probably have to see which pins go to the FETs and see which .inc file that lines up with, or make a new one. It _may_ be tgy.hex (since no oscillator and P/N FETs), but there are too many vias to know for sure.

Quote:
Originally Posted by jy0933 View Post
i'm working on a experimental project that expands pwm output ranged from 1000~4000 so that it will be easier to control quad when hovering throttle is below 40%...

I wonder what is acceptable pwm input range for this firmware now?
The default maximum is 2400Ás. You can change it to up to about 4092Ás by changing MAX_RC_PULS, and it should work. Since the recent optimizations, it actually does the measurement only in 16 bits, so you have up to ~65535 ticks @ 16MHz as a maximum high time. It uses OCF1B to know when this has expired and throws away pulses after this. It will be a few cycles less due to interrupt delays and overhead. You can resurrect the old (slower) 24-bit code if you need longer, or just be more accurate when sending pulses. It measures the inpuit in 1Ás/16th steps, not 1Ás steps!

Quote:
Originally Posted by ChilternFlyer View Post
(1) Mystery Blue 12A (HK Blue series 12A) a but tricky to solder the wires on but still managed to programme it with "BS N FET.hex" and it verified OK. It makes the right noises when it powers up but won't actually start the motor :-( (motor just stutters).
I'm not sure about this or the Red Brick, unless something went wrong during flashing. Are you sure it's not the P/N version?

Quote:
Originally Posted by KariY View Post
2: I would like to use flatter motors because i'm going to use 14-15" xoars but what is max count of poles that is known to work reliably without any issues with flashed esc:s?i
It should be fine with nearly anything now. I don't have much experience with the really expensive motors, though. Not sure what to recommend in the 40A-50A.
simonk is online now Find More Posts by simonk
Reply With Quote
Old Nov 04, 2012, 07:34 PM
James not bond
jy0933's Avatar
United States, MN, Minneapolis
Joined May 2012
2,071 Posts
@simon

thx.... since it can get up to 2400 by default.. i'll try this out first and see if it is good enough... then decide going up to 4k or not

thx
jy0933 is offline Find More Posts by jy0933
Reply With Quote
Old Nov 04, 2012, 11:13 PM
Registered User
Acit's Avatar
Singapore
Joined Sep 2012
38 Posts
Quote:
Originally Posted by TheFernMan View Post
Download lazyzero flash tool.

Downloaded, it was a breeze to use. Thanks TheFernMan.
Acit is online now Find More Posts by Acit
Reply With Quote
Old Nov 05, 2012, 12:27 AM
Registered User
Joined Oct 2012
115 Posts
hi simolk,
thank you for reply, I need your help again
you can change a little program to all brushless esc can run with input signal is PWM. I want to convert the PWM signal from the device 4in 1 in the helicopter, because i use a brushless motor instead for the brushed motor.
and program conversion from PWM to PPM can fit more lines 4in 1

thank you very much, looking forward to your message




future88 is offline Find More Posts by future88
Last edited by future88; Nov 05, 2012 at 12:35 AM.
Reply With Quote
Old Nov 05, 2012, 01:00 AM
Registered User
Joined Jul 2008
8 Posts
guys,

Quick question:

How do you guys know when if the ESC were actually flashed? by the program output?

avrdude.exe: warning: cannot set sck period. please check for usbasp firmware update.
avrdude.exe: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude.exe: Device signature = 0x1e9307
avrdude.exe: NOTE: FLASH memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude.exe: current erase-rewrite cycle count is -50462977 (if being tracked)
avrdude.exe: erasing chip
avrdude.exe: warning: cannot set sck period. please check for usbasp firmware update.
avrdude.exe: reading input file "bs_nfet.hex"
avrdude.exe: input file bs_nfet.hex auto detected as Intel Hex
avrdude.exe: writing flash (2070 bytes):

Writing | ################################################## | 100% 1.43s

avrdude.exe: 2070 bytes of flash written
avrdude.exe: verifying flash memory against bs_nfet.hex:
avrdude.exe: load data flash data from input file bs_nfet.hex:
avrdude.exe: input file bs_nfet.hex auto detected as Intel Hex
avrdude.exe: input file bs_nfet.hex contains 2070 bytes
avrdude.exe: reading on-chip flash data:

Reading | ################################################## | 100% 1.01s

avrdude.exe: verifying ...
avrdude.exe: 2070 bytes of flash verified

avrdude.exe: safemode: Fuses OK

avrdude.exe done. Thank you.

I'm waiting on my rotors and battery so i cannot test the ESC. just wanted to be ahead and flash the ESC's. Here is my ghetto setup =/

pixelss is offline Find More Posts by pixelss
Reply With Quote
Old Nov 05, 2012, 01:01 AM
Registered User
United Kingdom, Bristol
Joined Aug 2008
1,774 Posts
future88 :
conversion from PWM to PPM


Can use Quax http://home.versanet.de/~b-konze/koa.../koax_heli.htm converter and he was first to do it with brushless ESC http://home.versanet.de/~b-konze/blc_6a/blc_6a.htm Its quite alot of work but well worth effort.
We have a lot to thank Quax's for his code got all this going!

Today the simplest way to go brushless is using Sskaug and for Heli's its got it all1 BLHeli

https://github.com/bitdump/BLHeli does have AVR version but dev stopped at v3 (think)
Can use arduino to flash and tweak setting. I use Olliw programmer my Fav
SadSack is offline Find More Posts by SadSack
Reply With Quote
Old Nov 05, 2012, 01:05 AM
Registered User
United Kingdom, Bristol
Joined Aug 2008
1,774 Posts
Quote:
Originally Posted by pixelss View Post
guys,

Quick question:

How do you guys know when if the ESC were actually flashed? by the program output?

avrdude.exe: warning: cannot set sck period. please check for usbasp firmware update.
avrdude.exe: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude.exe: Device signature = 0x1e9307
avrdude.exe: NOTE: FLASH memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude.exe: current erase-rewrite cycle count is -50462977 (if being tracked)
avrdude.exe: erasing chip
avrdude.exe: warning: cannot set sck period. please check for usbasp firmware update.
avrdude.exe: reading input file "bs_nfet.hex"
avrdude.exe: input file bs_nfet.hex auto detected as Intel Hex
avrdude.exe: writing flash (2070 bytes):

Writing | ################################################## | 100% 1.43s

avrdude.exe: 2070 bytes of flash written
avrdude.exe: verifying flash memory against bs_nfet.hex:
avrdude.exe: load data flash data from input file bs_nfet.hex:
avrdude.exe: input file bs_nfet.hex auto detected as Intel Hex
avrdude.exe: input file bs_nfet.hex contains 2070 bytes
avrdude.exe: reading on-chip flash data:

Reading | ################################################## | 100% 1.01s

avrdude.exe: verifying ...
avrdude.exe: 2070 bytes of flash verified

avrdude.exe: safemode: Fuses OK

avrdude.exe done. Thank you.

I'm waiting on my rotors and battery so i cannot test the ESC. just wanted to be ahead and flash the ESC's. Here is my ghetto setup =/

Well looking at your output all looks well.

btw i notice from picture you motor leads look like they could touch each other, just tape them up. Sure it would be ok but a short could spoil fun.
SadSack is offline Find More Posts by SadSack
Reply With Quote
Old Nov 05, 2012, 01:30 AM
Registered User
Joined Jul 2008
8 Posts
SadSack:

Thank you for the quick response, it just the quality of the picture, i checked twice to make sure the led's were not touching. if the program cold not connect ( read ) the ESC i would get an error right?
pixelss is offline Find More Posts by pixelss
Reply With Quote
Reply


Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
Discussion Rctimer 30A esc cutting out with KK board Efliernz Multirotor Talk 2 May 26, 2011 03:20 PM
Sold FS: Tricopter Parts- HK401b, Pentium 30A ESC, rctimer 750kv motors pwu_1 Aircraft - General - Miscellaneous (FS/W) 2 Jan 18, 2011 10:58 PM
Sold RCTimer 2826-6 + ESC 30A New in packaging will trade as well Pics Added! planebldr Aircraft - Electric - Power Systems (FS/W) 4 May 25, 2010 10:54 PM
Discussion RCTimer 30A Programmable ESC hunter7193 Power Systems 8 Jan 02, 2010 03:27 PM
For Sale Several New ESC's - 10a, 20a, 30a - Reduced Callen9345 Aircraft - Electric - Power Systems (FS/W) 0 Apr 20, 2009 03:31 PM