Error flashing Afro ESC 30A from HobbyKing

Hello,

I have recently bought Afro ESC 30A and Afro ESC USB Programming Tool from Hobbyking and I’m trying to flash ESC using HEX file found in this: https://github.com/bluerobotics/tgy respository. I have tried doing this from Linux using

avrdude -c stk500v2 -b 9600 -P /devttyUSB0 -p m8 -U flash:w:afro_nfet_besc30_r1.hex:i

command and from Windows using KKMulticopter Flashtool.

Every time I get the following error:

stk500v2_ReceiveMessage(): timeout

Sebastian Olędzki

Hi Sebastian,

Are you powering the ESC through the main red and black power wires while flashing it? You cannot provide power through the signal cable alone during flashing.

-Rusty

Hi Rusty,

Your solution solved problem with timeouts. Thank you very much.

Sebastian

Sebastian,

Excellent! Thanks for the update.

-Rusty

Hi,

where can i find the HEX file for flashing the ESC?
This site is quite old: GitHub - bluerobotics/tgy: Modification of the tgy firmware to support I2C communication for the BlueESC.

Greetings Robert

Hi @Robby2001,

As mentioned in the README (on the page you linked to),

That project is from before my time at Blue Robotics, and is not something I can dedicate time or resources looking into because we’re not supporting it anymore.

That said, the Makefile seems to be in charge of compiling the .inc source files into .hex binaries, so perhaps that will be of use to you.

Thanks Eliot,

meanwhile i´ve found the old .hex file on my computer!

Greetings Robert

1 Like