# Error flashing Afro ESC 30A from HobbyKing

**URL:** <https://discuss.bluerobotics.com/t/error-flashing-afro-esc-30a-from-hobbyking/355>\
**Category:** Speed Controllers (ESCs)\
**Tags:** blue-esc\_retired\
**Created:** [June 27, 2016, 5:09am UTC](https://discuss.bluerobotics.com/t/error-flashing-afro-esc-30a-from-hobbyking/355 "2016-06-27T05:09:12Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![kontakt](https://avatars.discourse-cdn.com/v4/letter/k/22d042/32.png) [@kontakt](https://discuss.bluerobotics.com/u/kontakt)\
**Post date:** [June 27, 2016, 5:09am UTC](https://discuss.bluerobotics.com/t/error-flashing-afro-esc-30a-from-hobbyking/355/1 "2016-06-27T05:09:12Z")

</div>

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](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

---

<div class="post-metadata">

**Author:** ![rjehangir](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/rjehangir/32/671_2.png) [@rjehangir](https://discuss.bluerobotics.com/u/rjehangir)\
**Post date:** [June 27, 2016, 5:12am UTC](https://discuss.bluerobotics.com/t/error-flashing-afro-esc-30a-from-hobbyking/355/2 "2016-06-27T05:12:22Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![kontakt](https://avatars.discourse-cdn.com/v4/letter/k/22d042/32.png) [@kontakt](https://discuss.bluerobotics.com/u/kontakt)\
**Post date:** [July 6, 2016, 9:39pm UTC](https://discuss.bluerobotics.com/t/error-flashing-afro-esc-30a-from-hobbyking/355/3 "2016-07-06T21:39:59Z")

</div>

Hi Rusty,

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

Sebastian

---

<div class="post-metadata">

**Author:** ![rjehangir](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/rjehangir/32/671_2.png) [@rjehangir](https://discuss.bluerobotics.com/u/rjehangir)\
**Post date:** [July 7, 2016, 2:06am UTC](https://discuss.bluerobotics.com/t/error-flashing-afro-esc-30a-from-hobbyking/355/4 "2016-07-07T02:06:52Z")

</div>

Sebastian,

Excellent! Thanks for the update.

-Rusty

---

<div class="post-metadata">

**Author:** ![Robby2001](https://avatars.discourse-cdn.com/v4/letter/r/cab0a1/32.png) [@Robby2001](https://discuss.bluerobotics.com/u/Robby2001)\
**Post date:** [February 23, 2023, 7:19pm UTC](https://discuss.bluerobotics.com/t/error-flashing-afro-esc-30a-from-hobbyking/355/5 "2023-02-23T19:19:55Z")

</div>

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.](https://github.com/bluerobotics/tgy)

Greetings Robert

---

<div class="post-metadata">

**Author:** ![EliotBR](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/eliotbr/32/6937_2.png) [@EliotBR](https://discuss.bluerobotics.com/u/EliotBR)\
**Post date:** [February 24, 2023, 12:51am UTC](https://discuss.bluerobotics.com/t/error-flashing-afro-esc-30a-from-hobbyking/355/6 "2023-02-24T00:51:34Z")

</div>

Hi @Robby2001,

As mentioned in [the README](https://github.com/bluerobotics/tgy#notice-this-project-is-no-longer-maintained) (on the page you linked to),

> [@GitHub: bluerobotics/tgy - README](#):
>
> # NOTICE: This project is no longer maintained.
> 
> Blue Robotics has chosen to retire this project, **it is no longer** maintained or **supported.** Bug reports and feature requests are no longer accepted. The repository has been archived and made read-only. The source is still available and can be forked, but this project may be permanently removed from GitHub in the future.

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](https://github.com/bluerobotics/tgy/blob/bluesc/Makefile) seems to be in charge of compiling the `.inc` source files into `.hex` binaries, so perhaps that will be of use to you.

---

<div class="post-metadata">

**Author:** ![Robby2001](https://avatars.discourse-cdn.com/v4/letter/r/cab0a1/32.png) [@Robby2001](https://discuss.bluerobotics.com/u/Robby2001)\
**Post date:** [February 24, 2023, 9:11am UTC](https://discuss.bluerobotics.com/t/error-flashing-afro-esc-30a-from-hobbyking/355/7 "2023-02-24T09:11:54Z")

</div>

Thanks Eliot,

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

Greetings Robert
