BLHeli icon indicating copy to clipboard operation
BLHeli copied to clipboard

Flash verify failed error - on blheli_s 16.3

Open blazomusic opened this issue 8 years ago • 37 comments

Guys, I have a serious problem.

16.3 came out, and I flashed my racerstar 30A blheli_s v2 ESC's with G-H-30 firmware. I flashed ok, then I disconected, connected again, and 3 of 4 ESCs are in blheli bootloader, don't have the correct firmware. What is worse, I cannot flash them again because there is an error : "failed to write flash, "Flash verify failed" error "

I tried to flash with 16.2 and there is the same error.

I connected to blheli one more time, now all 4 of the ESCs are in the bootloader, and I can't flash. Please help me. I am trying with fc (betaflight 2.9.1) passthrough.

Please help me with this, is this a 16.3 bug or what? With 16.2 there was no problem reflashing the ESCs

blazomusic avatar Aug 25 '16 23:08 blazomusic

I have the same issue using passthrough, usb programmer and an arduino nano on fvt 30a escs. They came with 16.2. No way this will flash. Had it working on 16.3, needed to reverse two motors, connected in passthroug and bam "wat is dis esc? No config for you!"

Orrrb avatar Sep 01 '16 00:09 Orrrb

The latest BLHeli has a bug that erases the flash unless you unplug the lipo before disconnecting from BLHeliSuite. I have bricked 4 xs20a because of this. You now need to use a arduino with c2 pin connected to bring it back.

illest33 avatar Sep 02 '16 05:09 illest33

Do you have a source please, illest33? There are very few resources about this, at least with my googlefu, and those that exist all refer to the c2 method or are just reports without replies.

I have tried both the arduino c2, the fvt usb programming dongle with blheli and FVT`s own software and passthroug w betaflight, to no avail. BLHeliSuite reports "blheli bootloader" but unknown firmware. It doesnt seem to have erased the firmware though, as I am flying them, but I cant connect to change anything ofcourse.

Orrrb avatar Sep 02 '16 11:09 Orrrb

Hey. I had the same problem but I managed to flash them using pads on esc with c2 interface with arduino nano. No problem. I dont have any other ideas

So we should disconnect battery first before clicking disconnect in blheli in the future?

On Friday, 2 September 2016, Orrrb [email protected] wrote:

Do you have a source please, illest33? There are very few resources about this, at least with my googlefu, and those that exist all refer to the c2 method or are just reports without replies.

I have tried both the arduino c2, the fvt usb programming dongle with blheli and FVT`s own software and passthroug w betaflight, to no avail. BLHeliSuite reports "blheli bootloader" but unknown firmware. It doesnt seem to have erased the firmware though, as I am flying them, but I cant connect to change anything ofcourse.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bitdump/BLHeli/issues/175#issuecomment-244350595, or mute the thread https://github.com/notifications/unsubscribe-auth/AUREZO6zfbfb5dXRmW-3g3cpfJj0Z8efks5qmAgMgaJpZM4Jtmk4 .

blazomusic avatar Sep 02 '16 11:09 blazomusic

Orrb I saw your post this morning, if you had 16.0, 16.1, or 16.2 you should be able to right click the "unknown firmware" and flash it in single. Make sure you select the right letter that corresponds to the pinout and clock speed of the mcu then number. If you are on 16.3 and receive the "erased or unknown firmware" message you have to recover with a arduino on c2 pin somehow. I haven't even tried recovering my xs20's yet. It's a problem with certain F3 boards and the pass through along with blheli. So just remember when you get the firmware loaded back, always disconnect the battery before you click the "disconnect radio button" and close blheli suite. I would NOT recommend flashing to 16.3.

illest33 avatar Sep 03 '16 14:09 illest33

Issue is fixed with BLHeliSuite 16.3.14.7.0.2

4712 avatar Sep 05 '16 09:09 4712

Very nice! Just tried it out, worked flawlessly this time, running 16.3. Thank you for your effort 4712.

Orrrb avatar Sep 05 '16 23:09 Orrrb

BLAZOMUSIC

Hello,

I have the problem as you. I bought a Arduino Nano too.

Was is C2 Interface ?

Thanks you in advance,

AleC

aalec25 avatar Oct 06 '16 23:10 aalec25

I got it fixed with a nano and the C2 interface. ESC`s have been going strong ever since. Take a look here and here

Orrrb avatar Oct 07 '16 12:10 Orrrb

Hello Orrrb,

Thanks your for you help.

My ESC DYS XM 10A are supported by blheli.

If I have well understood about Arduino Nano ATmega328P , I need to weld the black on Ground, and the White on one pin from D4 to D10 because of multi. I tried with the D3 but it doesnt work. And in Blheli, I need to use SILABS 4way-if NOT SILABS USB/COM.

AleC

aalec25 avatar Oct 07 '16 12:10 aalec25

Hello,

Unfortunately, it changed nothing.

What can i do ?

thanks,

AleC

aalec25 avatar Oct 11 '16 19:10 aalec25

@aalec25 this might help https://www.youtube.com/watch?v=b-7VFt3IhhE

4712 avatar Oct 11 '16 19:10 4712

@4712

Thanks for your link ! I have tried but no success.

I send this message to the author of the video. I'm waiting for his answer & let you know.

"Hello !

Thanks you for the great video !

I tried your tutorial for a ESC DYS XM10A. There are the 4 pads. I used the second one from the left to weld the C2C cable, the third one for the 3,3 V from Arduino Nano & the last one for the ground.

The arduino NANO 328 had been flashed with Arduino 4way-interface and 4wArduino_Nano__16_MULTIv16400.

I have connected the Esc to flash it, Blheli recognized the arduino but when I want to read it tells :

"Serial Interface"m4wANm328P16" connected succesfully.

Connexion to ESC#1 failed! Please check data- und power-connections to the ESC!

Hint : All interface lines are LOW: ESC seems to be disconnected or not powered up"

I have the same when I put out 3.3 V and use the lipo.

Do you have any idea about the problem ?

Thanks you in advance,

AleC"

aalec25 avatar Oct 12 '16 16:10 aalec25

@aalec25 Do NOT connect 3.3V. The read marked pad does NOT mean VCC! Please read here https://nathan.vertile.com/blog/2015/11/16/flashing-xrotor-20a-with-blheli-via-4w-if/#wiring for better understanding.

4712 avatar Oct 12 '16 16:10 4712

@4712

https://we.tl/2qpkXmfkKs

Hello,

My XM10A has only 2 cables : 1 black which must be Ground and 1 yellow which must be use as C2CK.

The arduino is well programmed. Just need to know where I must weld these 2 cables.

I will use my lipo as power.

Thanks,

AleC

aalec25 avatar Oct 12 '16 20:10 aalec25

Your link does not work. The cables cannot be used for the C2 flashing. You need to connect either over the bootloader using the interface "D SiLabs BLHeli Bootloader (4way-if)", or remove the heat shrink and solder direct to the C2 interface pads on the ESC board. I assume, you would need further help for this...

4712 avatar Oct 12 '16 20:10 4712

@4712

The link doesn't work ? https://we.tl/2qpkXmfkKs

I would like to thank you for your time & help,

AleC

aalec25 avatar Oct 12 '16 21:10 aalec25

Ok now I can see. The gnd pad is right (black). The order is GND nc C2CK C2D.

4712 avatar Oct 12 '16 21:10 4712

@4712

Thanks,

So if I have well understood, from left to right, it is C2C - C2CK - Nc - GND.

I need to connect C2CK + GND, and flash.

Sorry my noobness, but it is the last point to understand before to be "independant"...

aalec25 avatar Oct 12 '16 22:10 aalec25

Did you read the tutorial (link above)? You need C2D, C2CK and GND.

4712 avatar Oct 13 '16 05:10 4712

@4712

Thanks you very much for your patience !!! I did it successfully !!! My mind was blocked because my ESC has only two cables, but why don't weld a third one more ? Thanks you for your perseverance !

I resume shortly for people who has the same problem :

  • Buy an arduino Nano ATmega328P V3 => it uses a ch340g usb chip, the driver for which is here: http://www.wch.cn/downfile/65
  • Download the lastest version of blheli here : blhelisuite.wordpress.com
  • Use the program to flash your arduino Nano :100:
    1. Connect the arduino & select the good communication port
    2. Select Make Interfaces
    3. Select Arduino 4way-interface
    4. Ok
    5. Select 4wArduino_Nano__16_MULTIv16400.hex & confirm
  • You will find 4 pads on the board of your ESC. For mine, from left to right, you have to connect/weld C2C - C2CK - Nc - GND
  • You can use this link https://github.com/4712/BLHeliSuite/blob/master/Manuals/BLHeliSuite%204w-if%20interfaces%20pinout.pdf to help you to know where to connect the cables on the arduino. => But for a Nano, it is Ground - D2 : C2C - D3 : C2CK
  • To be sure if your ESC is supported,please check here : https://github.com/4712/BLHeliSuite/blob/master/Manuals/BLHeli%20supported%20SiLabs%20ESCs.pdf
  • When the THREE cables are connected to the arduino Nano, connect you on Belheli, connect, read setup, and choose the good firmware in Multi for your ESC, confirm & it must be well flashed => Link from 4712 = Please read here https://nathan.vertile.com/blog/2015/11/16/flashing-xrotor-20a-with-blheli-via-4w-if/#wiring for better understanding

Please free to contact me if any trouble, and thank the community for the help !!

See u,

AleC

aalec25 avatar Oct 13 '16 09:10 aalec25

Hi all, I know it's an old post, but I have same or similar issue with blheli s 4in1 10a esc, tried to flash it in blheli, esc #2 failed flashing and now its not recognizable in suite, I have an arduino and thought if I could get it flashed and working again.. I will get it apart to see if there are any pads for connecting to arduino as the esc so tiny.. maybe u guys could help me to recognize the pins layout on esc? Not sure where to cennect it. Thanks

Tadinius avatar Feb 05 '17 20:02 Tadinius

Hello,

On my Esc, on pads side when the cable are on the left, the order of the pads is GND nc C2CK C2D.

Hope it will help you,

AleC

aalec25 avatar Feb 07 '17 19:02 aalec25

hi again guys, as mentioned before, I've got blheli 4in1 10a esc, which one esc failed to flash, now trying to flash it using instructions stated in this post and still cant get it recognized by blheli, as you see in the picture there are two pads near each esc, these must be c2ck and csd pads, gnd goes to the port, ive tried to connect it using 4 way interference and also other ways but esc just cant get recognized, maybe someone got any ideas how to fix it as its driving me crazy lol.. thanks img_20170210_163530 img_20170210_163559

Tadinius avatar Feb 10 '17 16:02 Tadinius

Hi, Bhelisuite bricked 3 of 4 XS30A escs, now I cant flash it. I will try C2 mode. Anyone know if sequence of the signals pads in the picture are right? Regards

19238384_1746349435393559_450202073_o

FlyerFpv avatar Jun 20 '17 21:06 FlyerFpv

yes, those are the pads to use. Just look up the pinout on google.

Sent from my Verizon 4G LTE Droid On Jun 20, 2017 5:15 PM, FlyerFpv [email protected] wrote:

Hi, Bhelisuite bricked 3 of 4 XS30A escs, now I cant flash it. I will try C2 mode. Anyone know the if the sequence of the signals pads in the picture are right? Regards [19238384_1746349435393559_450202073_o]https://user-images.githubusercontent.com/20193680/27356333-fdbacaba-5605-11e7-9362-0914e21366e8.jpg

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/bitdump/BLHeli/issues/175#issuecomment-309894044, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AUtGj3wW75IhhHlVIL3GBdSmZ4jHyN12ks5sGDaMgaJpZM4Jtmk4.

illest33 avatar Jun 21 '17 00:06 illest33

You can determine C2 port by testing for the ground. Sequence goes Ground, 3.3V, C2D and C2CK.

voodoo614 avatar Jun 22 '17 01:06 voodoo614

voodoo614, what do you mean with testing for the ground?

FlyerFpv avatar Jun 22 '17 21:06 FlyerFpv

Using a multimeter, determine which pad is the ground. The rest follows in the order I wrote down above.

voodoo614 avatar Jun 22 '17 21:06 voodoo614

Ok ok, Understand :+1: Thanks Regards

FlyerFpv avatar Jun 22 '17 21:06 FlyerFpv