inav icon indicating copy to clipboard operation
inav copied to clipboard

blheli passthrough - flashing failed

Open eziosoft opened this issue 9 years ago • 26 comments

I think that might me important. I was setting up a quad for a friend, so I flashed latest inav and applied 5'' preset. And than I wanted to flash escs to newest blheli. And flashing for all escs failed leaving me with corrupted firmware on all escs. They still has bootloader intact so I tried many times and it always fails. Than I flashed betaflight and try to flash escs again and it worked on the first go. So something in inav is not working as it should.

even detection of escs wasn't "very good" usually blheli suite could find 3 of 4 escs. sometimes all 4. It was random which esc is not dedected.

someone else also have issues https://www.rcgroups.com/forums/showpost.php?p=37148383&postcount=12494

eziosoft avatar Mar 22 '17 04:03 eziosoft

Works fine for me; didn't really need Imperial March or Games of Thrones tunes at startup ... but so what.

omg. Mrs Stronnag now wants to know why my machines are playing a passable imitation of Imperial March and Games of Thrones tunes. Sometime one wishes one had never bothered.

stronnag avatar Mar 22 '17 18:03 stronnag

The above test was on my SP EVO, updating some previously flashed by me DYS 30A blheli ESCS.

I then connected some new Racestar 30A blheli_s (default factory flash) to my also new Omnibus F3AIO. Would not flash reliably using the Chrome app. Eventually flashed using blhei.exe + wine + SPRF3. Once updated (blheli 16.6) they will flash OK in either tool (chrome or .exe), on any board (SPRF3, SPEVO or Omnibus).

So I'm not sure this is iNav problem as much as a board / esc / original esc firmware issue.

For what's worth. Now, if they'd only play the first few bars from Berlioz Te Deum before the choir comes in, it would awesome.

stronnag avatar Mar 22 '17 20:03 stronnag

Do not work for me! Naze32 rev6 ESC kingkong Blheli 12A. I do not have problem when flash with cleanflight and betaflight, blhelisuit work perfect! Message : Initialization of serial 1 wire passthrough or 4way interface failed!

skavengeer avatar Mar 25 '17 06:03 skavengeer

@stanislavdimov https://github.com/iNavFlight/inav/wiki/Supported-boards#boards-based-on-f1-cpus

oleost avatar Mar 25 '17 06:03 oleost

Yes ...F1 board must do not flash with inav! Cleanflight!

skavengeer avatar Mar 25 '17 07:03 skavengeer

@eziosoft what board and what ESCs was that?

digitalentity avatar Mar 25 '17 07:03 digitalentity

As part of an upgrade, tried to flash using Omnibus F3, release 1.6.1 on Littlebee 30A esc. Had the same experience as eziosoft. After numerous attempts, ended up with one OK but now can't communicate with the other three. Previosly never had any problems using SPRF3 on RMDODO.

crashfrequently avatar Mar 25 '17 22:03 crashfrequently

@digitalentity spf3 (clone and original) and Racerstar MS Series 25A and 35A.

eziosoft avatar Mar 26 '17 14:03 eziosoft

I noticed thae problem with Racerstars as well. Many Racerstar ESCs I got from Banggood have dodgy bootloader that even bricked ESCs in a few cases. After flashing proper BLHeli bootloader via C2 interface all ESCs came to live and flashing via blheli passthrough never failed for them.

I'm not sure what's the issue with @crashfrequently's ESCs. Possibly something is different about the passthrough code. Does flashing through Betaflight work?

digitalentity avatar Mar 26 '17 14:03 digitalentity

Betaflight didn't work, it looks like the bootloader is gone. When I get a bit of time I'll try to recover them using C2 interface.

crashfrequently avatar Mar 26 '17 21:03 crashfrequently

I thought it was just me lol, mine did the same thing I am trying to recover it now. (Naze, INAV 1.6.1, Racestar BLHeli_S 20A lite, passthru compiled). Flashed failed corrupted now dead. Might have something to do with the "S" series, my other with is not a "S" series updated fine.

tonyintn avatar Mar 27 '17 19:03 tonyintn

I have confirmed its definitely something in INAV. I flashed betaflight on my Naze then I was able to restore the bad flash create by INAV and update my ESCs then flash back INAV to which I prefer :).

tonyintn avatar Mar 27 '17 21:03 tonyintn

@tonyintn I've made catch-ups with Betaflight regarding BLHeli passthrough code. If possible can you re-test with https://github.com/iNavFlight/inav/pull/1472?

digitalentity avatar Mar 27 '17 23:03 digitalentity

Sure, let me make a custom build and I will try it on one of my other ESCs I have only updated that recovered one thus far.

tonyintn avatar Mar 27 '17 23:03 tonyintn

Gave me a bad write, its seemed as though it did not recognize the ESC for example normally when you update the ESC BLHeli selects the correct hex and all you have to do it flash it but in this case it give you all the choices and you have to find your match.

tonyintn avatar Mar 28 '17 00:03 tonyintn

It's now exactly the same code as in Betaflight, no reason to expect different behavior. I'll test on my FCs.

digitalentity avatar Mar 28 '17 00:03 digitalentity

Let me try again may have forgot to point to #1472

tonyintn avatar Mar 28 '17 00:03 tonyintn

Same thing for me could very well be something I am doing not sure. Notice it recognize #1 but all the other are "u". #1 is the one I flashed in betaflight.

http://i8.photobucket.com/albums/a20/Tonyintn/Screen%20Shot%202017-03-27%20at%208.04.04%20PM_zpsymq2ur1h.png

http://i8.photobucket.com/albums/a20/Tonyintn/Screen%20Shot%202017-03-27%20at%208.09.08%20PM_zpscdihvebj.png

tonyintn avatar Mar 28 '17 01:03 tonyintn

tried again must be something on my end I am not getting a clean build: resolved

tonyintn avatar Mar 28 '17 16:03 tonyintn

Just for the record, had this too, omnibus f3 and MS 35A Racerstar (a single esc, I am building my S800 flying wing for inav).

Flashed OK with betaflight,

I will see tomorrow if my build chain works to test #1472.

tigert avatar Apr 01 '17 22:04 tigert