BLHeli icon indicating copy to clipboard operation
BLHeli copied to clipboard

Flash failed - COM_ECHO error on SET_BUFFER - 32.7.0.3

Open MrLatebros opened this issue 7 years ago • 10 comments

I have just got a Razor32 V2 35A ESC. It came with firmware ver. 32.6. Connected it using the 4-way arduino interface. Writing any values failed. I tried to flash the update FW (32.7), it got about 40% there, then "flash failed".

I tried power-cycling the ESC, etc, now it's stuck in the flash corruption-please flash-flash failed loop. I saw this issue: https://github.com/bitdump/BLHeli/issues/407 in which they have the same problem as me. I tried the advised fix of using the USB/COM interface with pin D11, but this does not detect the ESC when connected.

This is all with BLHeliSuite32 version: 32.7.0.3 , which claims to fix the isue. This is apparently not the case.

Edit: I have tried USB/COM with pin D3, and the ESC is recognised, but the flash still fails at about 20%. The log is as follows:

image

Edit 2, Debugging Boogaloo: I tried the android app, and it was able to re-flash the firmware, but then it hung and failed to write any settings (I tried changing the LED colour). I can now connect to my PC, and read values, so the ESC is working, but I cannot write any values. It gives the same ERROR_COM_ECHO error on CMD_SET_BUFFER: image

MrLatebros avatar Oct 29 '19 10:10 MrLatebros

@MrLatebros What Arduino do you exactly use?

4712 avatar Oct 29 '19 20:10 4712

@4712 Arduino Nano flashed as USB/COM interface.

MrLatebros avatar Oct 30 '19 01:10 MrLatebros

@MrLatebros which chip is used on the Nano for the onboard USB/UART? (CH340?)

4712 avatar Oct 30 '19 01:10 4712

@4712 yeah, CH340

MrLatebros avatar Oct 30 '19 13:10 MrLatebros

@MrLatebros I still cannot reproduce the failure here, neither with Nano CH340. Strange... The failure always occurs when reading the echo (because it is a 1wire interface) back. How does the log look like, when using 4way interface?

Also: Could you check with 32.7.0.0? BLHeliSuite32_32700.zip

4712 avatar Oct 30 '19 13:10 4712

1-wire interface works perfectly on 32.7.0.0: image

the arduino nano is still running the 1-wire interface flashed by 32.7.0.3 - I'm reluctant to try anything else, because I don't want it to break again :)

Edit: flashed 1-way using 32.7.0.0, still works fine

MrLatebros avatar Oct 30 '19 15:10 MrLatebros

Very weird... And does the android app work too now?

4712 avatar Oct 30 '19 15:10 4712

No. It fails to write settings as before.

MrLatebros avatar Nov 02 '19 16:11 MrLatebros

@MrLatebros For me it looks like an internal problem of the Nano board or the connection from Nano to the ESC. Do you have a second Nano to try?

4712 avatar Nov 02 '19 17:11 4712

Please check out the new released version 32.7.0.9. It should fix the issue. It took some time to get the clue about what happens. Thanks again for your heads up and the testing!

4712 avatar Jan 18 '20 16:01 4712