HobbyKing.com New Products Flash Sale
Reply
Thread Tools
Old Oct 11, 2012, 05:06 AM
Registered User
Joined Oct 2012
127 Posts
Hey Olli, is it possible to flash a Turnigy Plush with BLHeli using this:
http://www.pjrc.com/teensy/

A Teensy++ 2.0 that uses a AT90USB1286? Or to write some code to make it possible? If not I'll just wait until I eventually get an Arduino.

EDIT: This may help:
http://www.pjrc.com/teensy/teensyduino.html
ElectroDie is offline Find More Posts by ElectroDie
Reply With Quote
Sign up now
to remove ads between posts
Old Oct 11, 2012, 06:34 AM
OlliW
Joined Sep 2009
1,435 Posts
ha, this is a very good question.

I find using and USB-AVR very interesting and I did look seriously in the teensy and Leonardo projects. So, it may eventually happen that I will go into all this USB stuff (and it's kind of likely to happen LOL), but since I first have to learn this is not going to result in a working project soon. I also find the hardware still a bit expensive. The Leonardo can be used essentially like an ordinary Arduino, so I think it would relative easy to get owsilprog working on this if the USB is used in ordinary virtual COM port mode. I am not sure about the teensy. So, in short, this is in my mind but not near to a working result.

An arduino nano is 13$ incl shipping... it's not extremely cheap but fairly cheap..
OlliW is offline Find More Posts by OlliW
Reply With Quote
Old Oct 11, 2012, 06:47 AM
Registered User
Joined Oct 2012
127 Posts
No worries. I only bought the Teensy to jailbreak my PS3 and just have it laying around.
ElectroDie is offline Find More Posts by ElectroDie
Reply With Quote
Old Oct 11, 2012, 09:56 AM
Close Range Aerial Imagery
copterfilms's Avatar
Argentina, Autonomous City of Buenos Aires, CF
Joined Feb 2006
66 Posts
Quote:
Originally Posted by OlliW View Post
how could you change the baudrate in BLHeliTool... I thought I only did allow 38400... have to check this
Quote:
Originally Posted by OlliW View Post
The BESC needs power, is it connected to a battery?
Any chance that your identifcation of the GND pad might be incorrect. Have you tried also to attach your connnector 180 turned around, assuming that the pads are as C2D,C2CK,VCC,GND from bottom to top (and not GND,VCC,C2CK,C2D from bottom to top as drawn currently)?

OlliW,
I changed baud rate manually, the dropdown menu has only the 38400 option but it is text editable. While trying different things i changed it for 19200 then returned back to 38400 bauds.

Yes the BESC is fed with a 3s battery, no motor connected nor RC signal in the throttle lead.
I assumed negative to be the lower pad (according to the multimeter reading) so i did not try anything different (the other way around)...yet
copterfilms is offline Find More Posts by copterfilms
Reply With Quote
Old Oct 13, 2012, 07:28 PM
Emress
sirbow2's Avatar
United States, SD, Rapid City
Joined Nov 2011
1,934 Posts
Quote:
Originally Posted by OlliW View Post
ha, this is a very good question.

I find using and USB-AVR very interesting and I did look seriously in the teensy and Leonardo projects. So, it may eventually happen that I will go into all this USB stuff (and it's kind of likely to happen LOL), but since I first have to learn this is not going to result in a working project soon. I also find the hardware still a bit expensive. The Leonardo can be used essentially like an ordinary Arduino, so I think it would relative easy to get owsilprog working on this if the USB is used in ordinary virtual COM port mode. I am not sure about the teensy. So, in short, this is in my mind but not near to a working result.

An arduino nano is 13$ incl shipping... it's not extremely cheap but fairly cheap..
haha i got some usbasp thinking i could use them for this and then i remembered that they are usb only.... no serial...
sirbow2 is offline Find More Posts by sirbow2
Reply With Quote
Old Oct 14, 2012, 02:51 AM
OlliW
Joined Sep 2009
1,435 Posts
one shouldn't confuse USBasp and USB-AVR...
USBasp is an ISP programmer which uses an "ordinary" ATmega and a software implementation of USB...
with USB-AVR I meant the Atmel micocontrollers which provide native hardware USB support, such as the Atmega32U4 etc. used in the Teensy or Leonardo (or in the Arduino Uno as USB-serial converter)


BTW: on ebay one can find the Arduino Nano now for $10.38 incl shipping...
OlliW is offline Find More Posts by OlliW
Reply With Quote
Old Oct 14, 2012, 03:49 PM
OlliW
Joined Sep 2009
1,435 Posts
Hey Victor,

Steffen indicated that there are also BESCs which use the F310 instead of the F330 Silabs chip, and since the former has a different device ID this also could be an explanation for why you don't have success with flashing. If your BESC would have a F310 it would terminate also with exactly the "d... Connection to target FAILED!" error!

Sorry that I have not realized this possibility earlier.

Could you try the v007 beta3 version of BLHeliTool you can download here www.olliw.eu/uploads/blhelitool-v007-beta3.zip? It would tell now the device ID of your BESC and hence allows us to see what's going on here.

cheers, Olli
OlliW is offline Find More Posts by OlliW
Reply With Quote
Old Oct 14, 2012, 08:36 PM
Close Range Aerial Imagery
copterfilms's Avatar
Argentina, Autonomous City of Buenos Aires, CF
Joined Feb 2006
66 Posts
Hey OlliW,
Thanks for the information and the new version of the BLHeliTool! i discovered that there are different versions of the 40A Plushes boards around, mine is V6.1 while Steffen's is V6.0, probably one of the differences might be the processors, would this impact on the FW too?.
Tomorrow in the morning i will test the v007 beta3 version BLHeliTool and i will let you know, THANK YOU!!

Steffen posted this:
"Originally Posted by sskaug View Post
Here is a picture of the Plush 40A, with black/red/white circles identifying the connections (like described in BLHeli docs). The 40A is quite different though from the 30A and below, so you will need the 40A firmware "

Do you think it is still good idea to flash the 40A Plush with the TURNIGY_PLUSH_30A_MULTI_REV7_0.HEX FW?

Thanks again for your invaluable help.
Victor
copterfilms is offline Find More Posts by copterfilms
Reply With Quote
Old Oct 15, 2012, 12:15 AM
OlliW
Joined Sep 2009
1,435 Posts
Hey Victor,
I think both versions look quite the same, except that they cut off this unsuesd space for a protection diode on the left
so, I would say that this also confirms your C2 line assignment in the sequence GND, VCC, C2CK, C2D from bottom to top
if the MCU has cahnged is though hard to tell because its not seen... but considering that flashing doesn't work for you this is a good call, it would explain it... but the beta3 BLHeliTool will tell you
which firmware to use however I really can't answer, but I guess Steffen did do?
cheers, Olli
OlliW is offline Find More Posts by OlliW
Reply With Quote
Old Oct 15, 2012, 11:08 AM
Close Range Aerial Imagery
copterfilms's Avatar
Argentina, Autonomous City of Buenos Aires, CF
Joined Feb 2006
66 Posts
Hey Olliw,
Just tested BLHeliTool_v007_beta3...
Now it works!!
This is what i got as a reply

"Verify... Please wait!
delay... OK
v... OlliW SilProg v0.08 PB3PB4
r... rok
d... dok08 -> Device ID 08MCU is not a F33x!"


I stopped there, i did not "flash" just "verified" it.
I will ask Steffen on which FW is working on his 40A Plush.
copterfilms is offline Find More Posts by copterfilms
Reply With Quote
Old Oct 15, 2012, 11:32 AM
Close Range Aerial Imagery
copterfilms's Avatar
Argentina, Autonomous City of Buenos Aires, CF
Joined Feb 2006
66 Posts
I started to peeling off all the Plushes i have, i discovered i'm having mixed versions V6.0 and V6.1 !
Need to solder connectors and i will check what BLHelitool says...
Thanks!
copterfilms is offline Find More Posts by copterfilms
Reply With Quote
Old Oct 15, 2012, 01:19 PM
Close Range Aerial Imagery
copterfilms's Avatar
Argentina, Autonomous City of Buenos Aires, CF
Joined Feb 2006
66 Posts
OlliW,
Tried to flash both V6.0 and V6.1 with "TURNIGY_PLUSH_40A_MULTI_REV8_0.hex"

.... but kept outputting:

"Verify... Please wait!
delay... OK
v... OlliW SilProg v0.08 PB3PB4
r... rok
d... dok08 -> Device ID 08MCU is not a F33x!"
copterfilms is offline Find More Posts by copterfilms
Reply With Quote
Old Oct 16, 2012, 12:12 AM
OlliW
Joined Sep 2009
1,435 Posts
Hey Victor

ok, that's good news... I was quite puzzled that it wouldn't work for you, but it's "just" a F31x instead of a F33x it had been all the time before... so, we found the reason

BLHeliTool doesn't handle F31x yet... wait a short bit longer and then it will work

cheers, Olli

EDIT:
Quote:
I started to peeling off all the Plushes i have, i discovered i'm having mixed versions V6.0 and V6.1 !
so you have versions which use a F33x and a F31x? Can you verify that using BLHeliTool (v007-beta3)?
OlliW is offline Find More Posts by OlliW
Reply With Quote
Old Oct 16, 2012, 02:41 AM
OlliW
Joined Sep 2009
1,435 Posts
OK, here we go,

BLHeliTool v007 beta4, please download here www.olliw.eu/uploads/blhelitool-v007-beta4.zip

it also includes the new BLHeli hex files
this version is currently beta4, but I don't think it has issues, i.e., it's very likely to become the final release version of v007 (it's beta4 because my test BESC just seem to have died and I can't go on with testing at the moment )

tell how it goes,
Olli
OlliW is offline Find More Posts by OlliW
Reply With Quote
Old Oct 16, 2012, 01:44 PM
Close Range Aerial Imagery
copterfilms's Avatar
Argentina, Autonomous City of Buenos Aires, CF
Joined Feb 2006
66 Posts
OlliW,

COMPLETE SUCCESS!! on both versions 6.0 and 6.1 same procedure.

"Read... Please wait!
delay... OK
v... OlliW SilProg v0.08 PB3PB4
r... rok
d... dok08 -> Device ID 08
i... iok
br... br011A02ok0E -> Layout 14
br... br021A00ok0800 -> Revison 8.0
br... br021A0Dok55AA -> Mode 55AA MULTI
br... br101A60ok20202020202020202020202020202020
-> Name: > <
br... br101A50ok23424C48454C49234633313023202020
-> MCU: >#BLHELI#F310# <
br... br101A40ok235475726E6967793430412320202020
-> BESC: >#Turnigy40A# <
br... br011A07ok03 -> Gain: 3
br... br011A06ok01 -> Low Voltage Limit: 1
br... br011A0Bok01 -> Motor Direction: 1
br... br011A0Cok01 -> Input PWM Polarity: 1
br... br011A09ok03 -> Startup Power: 3
br... br011A12ok01 -> Startup RPM: 1
br... br011A13ok05 -> Startup Acceleration: 5
br... br011A15ok03 -> Motor Timing: 3
br... br011A0Aok01 -> Motor PWM Frequency: 1
br... br011A16ok02 -> Damping Force: 2
br... br011A18ok02 -> Startup Method: 2
br... br011A1Fok02 -> Demag Compensation: 2
br... br011A0Fok01 -> Programming by Tx: 1
br... br011A1Eok0D -> Throttle Rate: 13
br... br011A19ok25 -> Throttle Min: 37
br... br011A1AokD0 -> Throttle Max: 208
br... br011A1Cok50 -> Beacon Strength: 80
br... br011A1Dok01 -> Beacon Delay: 1
br... br011A1Bok28 -> Beep Strength: 40
Read... DONE!"

Now i will flash them all and install the Plushes for test fly them.
Will come back with results!
Thanks a MILLION
Victor
copterfilms is offline Find More Posts by copterfilms
Reply With Quote
Reply


Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
For Sale turnigy plush 40amp esc jd3010 Aircraft - Electric - Power Systems (FS/W) 0 Oct 06, 2012 09:10 PM
Sold 2x Turnigy Plush 40amp ESCs - New WiperBlade Aircraft - Electric - Power Systems (FS/W) 0 Jun 12, 2012 05:16 PM
Sold Gently used 4x Turnigy Plush 18A [ATMega, reflashed] timecop Aircraft - Electric - Multirotor (FS/W) 3 Jan 16, 2012 03:08 AM
For Sale Turnigy Sentry (Plush) 60amp and 40amp escs Lance Aircraft - Electric - Power Systems (FS/W) 3 Dec 23, 2010 12:58 AM
Sold Turnigy Plush 40amp ESC's Daveyboycfs Aircraft - Electric - Power Systems (FS/W) 5 Sep 19, 2010 09:18 PM