Is it possible to enter the Command Line Interpreter while connected via 3DR?
Thanks in advance,
Rick
Tags: 3DR, Command, Interpreter, Line
No, only while connected by USB. (That's because the board has to reset to go into the CLI, and it's not safe to allow that unless it's on the ground)
Permalink Reply by Jake Stew on May 27, 2012 at 12:49am Tridge says there's a way, but you have to reset the board and enter CLI before it finishes the boot. You'll have to search for the post.

Hi Rick,
It is possible on an APM2, but not on an APM1. The reason is that on the APM2 both the USB serial and the telemetry are actually the same serial port, and the CLI is tied to that serial port. On the APM1 they are separate serial ports, so the CLI won't work via the telemetry link.
The trick to getting it to work is to ensure you "hit enter 3 times" (like it says at bootup) before you send any MAVLink messages. So reset your APM2, then connect with a serial console and hit enter 3 times. You will be in the CLI.
Cheers, Tridge
Permalink Reply by Rick Eis on July 8, 2012 at 6:05pm Hi Tridge,
Thanks for the response....
I get connected via 3DR (at 57600), then I reset the APM2 and after a few seconds I open the CLI and hit enter 3 times. I get the following from the CLI window. (see attached).
Thanks again,
Rick
Rick: The CLI only works over USB; you can't use it remotely over a wireless link.
Permalink Reply by Rick Eis on July 8, 2012 at 9:12pm Chris,
Well, that is what you said at the beginning of this thread (see your comment 5-26-12 above). But then Tridge seems to believe it is possible (see his response 6-8-12 above). Maybe I am not being clear ?
Thanks again Chris for your help.
Rick
The problem is that you need to reset the board to get into the mode where it will listen for the three enters before going into MAVLink mode. There's no way to reset the board wirelessly. I don't see how to do it unless it's on the ground and you can press the reset button.
Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.184 members
1290 members
51 members
11 members
182 members
© 2013 Created by Chris Anderson.
Powered by
