BLHeli icon indicating copy to clipboard operation
BLHeli copied to clipboard

cmnd_stk_get_sync

Open PaulosKapa opened this issue 3 years ago • 8 comments

i have connected my esc (xxd hw30a) to my arduino uno and i want to flash it so it can go in reverse too. When i go to make interfaces, choose the board, click on arduino blheli bootloader and then upload the sketch to my arduino it fails and it pops up this msg (cmnd_stk_get_sync). I can upload sketches from arduino ide to my arduino and the esc works. What is going on?

PaulosKapa avatar Sep 06 '21 10:09 PaulosKapa

cmnd_stk_get_sync is general answer for connection to Arduino bootloader failed. This might happen, if the com port is chosen wrong, the Arduino type is chosen wrong or the baudrate is wrong or by other reason. Some old Uno bootloader use 57600 baud, maybe useful to try.

4712 avatar Sep 06 '21 15:09 4712

cmnd_stk_get_sync is general answer for connection to Arduino bootloader failed. This might happen, if the com port is chosen wrong, the Arduino type is chosen wrong or the baudrate is wrong or by other reason. Some old Uno bootloader use 57600 baud, maybe useful to try.

had the correct com port, tried different usb ports, different baudrates, had the option uno w/ atmega328 chosen, still the same problem. If instead of clicking on make interfaces i click on read setup it shows this message: connection to 4-way interface failed please check usb/serial port -and power- connections to the interface

PaulosKapa avatar Sep 12 '21 00:09 PaulosKapa

@PaulosKapa what is actually the version of BLHeliSuite you are using?

4712 avatar Sep 12 '21 09:09 4712

@4712 BlHeliSuite32_32811, windows 10 64 bit. I ll try with an arduino nano too.

PaulosKapa avatar Sep 13 '21 09:09 PaulosKapa

@4712 i tried it with a nano, i get the same results. The arduino ide uploads the sketch normally.

PaulosKapa avatar Sep 13 '21 11:09 PaulosKapa

@PaulosKapa never had this issue before. BTW for 8-but ESC you need to use BLHeliSuite, not BLHeliSuite32. But as far as I can see from the schematic, you will not be able to use BLHeli with xxd hw30a, it has no external XTAL or ceramic resonator.

4712 avatar Sep 15 '21 15:09 4712

@4712 I had a similar problem with and Arduino UNO and solved it by setting Baud to 115200 and selecting the option Arduino BLHeli Bootloader

jvfd3 avatar Jul 25 '23 19:07 jvfd3

Had this exact issue, I ended up resetting my arduino's eeprom (see "Resert EEPROM Memory" section at this link: https://support.arduino.cc/hc/en-us/articles/5779192727068-Reset-your-board) and the issue was resolved!

JiaShengJerryLu avatar Jan 28 '24 01:01 JiaShengJerryLu