Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added radio aux stream debugconsole

...

The debug console can write to:

  • a virtual COM port (VCP) via USB
  • a serial (UART) interface (Main Port/Flexi Port)
  • a radio auxiliary stream while using a Revolution or Sparky2 board:. Aux. stream need to be redirected to VCP on ground OPLink.

Enabling an Interface

Before writing to the virtual COM port or a UART interface using the debug console, the port has to be assigned to that function in GCS:

  1. Go to the "Configuration" tab
  2. Select "Hardware" from the menu on the left
  3. Choose "DebugConsole" for the port you would like to use (USB is the easiest so set up, Main - or Flexi Port need a USB to serial converter)

...

  1. Save settings and reboot board.
USBMain/FlexiRadio Aux Stream

Image Added

Image Added

Image Added


Tip
titleWindows CDC/Virtual COM Port Driver

On Windows 8.1 and lower, a driver is needed in order to use the USB virtual COM port. If you have installed GCS using a setup file and checked the option "Install CDC Driver", the driver was installed already.

Otherwise, the driver can be found inside the LibrePilot repository (flight\Project\WindowsUSB\OpenPilot-CDC.inf). To install it, right-click the .inf file and click "Install".

...

To see the output of DEBUG_PRINTF, you'll need a serial terminal program. Find out what COM serial port the flight controller is on and connect to it.

On Windows, the OpenPilot Revolution shows up as "Revolution Virtual COM Port" under "Ports (COM & LPT)" in the device manager.

On Linux, the board or OPLink VCP (with Radio Aux Stream) will be something like /dev/ttyACM0.