bitdump / BLHeli

BLHeli for brushless ESC firmware
GNU General Public License v3.0
1.97k stars 1.09k forks source link

Flashing SpeedyBee BLS50A ESC using C2 interface #740

Closed krupis closed 6 months ago

krupis commented 6 months ago

I am trying to flash the BLS 50A ESC firmware using BLHeliSuite using c2 interface. As a general reference, I am using this tutorial: https://oscarliang.com/flash-blheli-c2-interface/

Current Behavior

Not able to flash SpeedyBee BLS50A ESC via the BLHeliSuite

Steps to Reproduce

In order to flash the ESC, I have used Arduino UNO 4way-interface method. See the steps below

  1. Download BLHeliSuite

  2. Connect Arduino UNO USB to the PC

  3. On the BLHeliSuite go to Make interfaces, select the Arduino UNO Com Port and click the Arduino 4way-interface button as shown below: image

  4. Select 4wArduino_m328P_16_PB3PB4v20006.hex and wait for the flashing to complete image

  5. Solder 3 wires on the BLS50A ESC (C2D, C2CK, and GND): image

  6. Make connections between Arduino UNO and BLS50A ESC board: GND => GND D2 => C2D D3 => C2CK

  7. Power the ESC board. I use external Power Supply +12V and power the ESC board: image

  8. Go to BLHeliSuite -> Select ATMEL / SILABS Interface -> SILABS C2 (4way-if) image

  9. Click Read Setup image

Expected behavior

Able to connect to the ESC and flash it

Additional information

If I connect the FC+ESC boards without the Arduino UNO board, plug the FC board to PC and run the BLHeliSuite in BLHeli bootloader mode: image

I can read the ESC information: image so that proves that my ESC are working.

I just want to learn and understand how to reflash them using C2 interface via Arduino UNO for education purposes. Also, what is the most convenient way to flash the ESC (considering it has not been flashed before). What if I buy the components myself and replace the broken chips on the ESC - I would need to reflash them. Thanks in advance!