qgroundcontrol icon indicating copy to clipboard operation
qgroundcontrol copied to clipboard

3DR radio firmware: unable to put into command mode

Open AndKe opened this issue 9 years ago • 12 comments

Found device: SiK Radio
Putting radio into command mode
Error: Unable to put radio into command mode
Upgrade cancelled
------------------------------------------
If upgrade failed, make sure to connect directly to a powered USB port on your computer, not through a USB hub. Also make sure you are only powered via USB not battery.

tested with several radios, 3DR v2 radios, SiK 1.9.

The problem does not show on 3DR v1 radios, (using FTDI cable) - very strange...

AndKe avatar Dec 22 '16 22:12 AndKe

unable to reproduce reliably anymore, closing for now

AndKe avatar Dec 22 '16 22:12 AndKe

Radio upgrade can be a bit flaky. Something like 5-10% failure rate on getting the radio into the right mode. I was never able to figure out a 100% reliable way to make it work.

DonLakeFlyer avatar Dec 23 '16 12:12 DonLakeFlyer

in your experience, is there a difference between v1 and v2 radios (there should not be) , I did not reflash that many, simply because I am using en/decrypting firmware, and need to flash back later. -I might compare a few applications/methods using a logic analyzer, that should reveal any difference.

On 23 December 2016 at 13:17, Don Gagne [email protected] wrote:

Radio upgrade can be a bit flaky. Something like 5-10% failure rate on getting the radio into the right mode. I was never able to figure out a 100% reliable way to make it work.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/mavlink/qgroundcontrol/issues/4335#issuecomment-268981961, or mute the thread https://github.com/notifications/unsubscribe-auth/ABZpqjhiq3ztlMfFdtnmS5sPgGntKFkSks5rK7vggaJpZM4LUab3 .

AndKe avatar Dec 23 '16 12:12 AndKe

Not sure. Never looked at it in that level of detail.

DonLakeFlyer avatar Dec 23 '16 14:12 DonLakeFlyer

I know this is old but if someone stumbles on this, try turning off the other radio (ie the one probably on your drone).

blandry avatar Mar 06 '18 22:03 blandry

this has been fine for a long time now, the real remaining issue now is: https://github.com/mavlink/qgroundcontrol/issues/4336

AndKe avatar Mar 06 '18 22:03 AndKe

I believe you. But it just happened to me (perhaps on an old radio) so I'm documenting what worked for me

blandry avatar Mar 06 '18 22:03 blandry

I know this is old but if someone stumbles on this, try turning off the other radio (ie the one probably on your drone).

Interesting. I wonder if this really fixed the problem. I've found that flashing will fail to put into command mode intermittently at a low failure rate. I've never been able to make it work 100%. Did you have 100% failure until you did this?

DonLakeFlyer avatar Mar 13 '18 00:03 DonLakeFlyer

I get this error in QGroundControl (Unable to put radio into command mode) when one of the 2 radios is already plugged in. Make sure both radios are unplugged before upgrading the firmware. Also it fails on the last step, verify, with a timeout error from macos. It finishes from win10 ok.

PaulStubbs avatar Oct 28 '19 18:10 PaulStubbs

Just a data point for anyone else reading this: Flashing the drone-side radio may succeed or fail depending on which USB-UART adapter you're using!

I had nothing but frustration with both CP2102 and CY7C6521x adapters, despite confirming with an oscilloscope that everything seemed to be talking appropriately. Got the "unable..command mode" error every time. Switched to a name-brand FTDI, and it just worked.

I'm not sure if QGC is doing something weird with the UART, but if there's interest I could try to narrow it down. (QGC 4.0.6 on Ubuntu 18.04.4)

myself248 avatar Jun 28 '20 15:06 myself248

I just switched TX and RX pins and it worked for FT232RL. RX -> RX TX -> TX

danylevskyi avatar Dec 01 '21 05:12 danylevskyi

I just switched TX and RX pins and it worked for FT232RL. RX -> RX TX -> TX

This is helpful, thanks

MiangChen avatar Nov 14 '24 01:11 MiangChen