paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] problem connecting GCS via serial to Tiny v/2.11


From: Felix Ruess
Subject: Re: [Paparazzi-devel] problem connecting GCS via serial to Tiny v/2.11
Date: Mon, 18 Jun 2012 18:27:47 +0200

Hi,

The baudrate you set on the ground needs to match the baudrate you set in your airframe file. So if you start it on the ground with 9600, you have to configure it to 9600 on the autopilot as well.
Also your ground xbee already needs to be plugged in when you start the link (or you have to (re)start the link once you plugged it in)

http://paparazzi.enac.fr/wiki/Subsystem/telemetry#Set_GCS_baud_rate
http://paparazzi.enac.fr/wiki/FAQ#Why_do_I_only_get_a_blank_.28black.29_GCS

Cheers, Felix

On Mon, Jun 18, 2012 at 3:27 PM, Árni Þorvaldsson <address@hidden> wrote:
Hi all

I am trying to connect to the tiny via serial but I am getting blank GCS.

I am using
Airframe: funjet_example.xml
flight plan: basic.xml
Telemetry: default.xml

Uploading to the board works fine an then I launch
Session Flight address@hidden
get the error
Failure("Error opening modem serial device : fd < 0 (/dev/ttyUSB0)")

I get blank CGS and then plug in the serial to USB using PPZUAV FTDI Utility board V1.0
but nothing happens.

I ran sudo|dmesg and got

253220.816059] usb 5-1: USB disconnect, address 13
[253220.816372] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
[253220.816400] ftdi_sio 5-1:1.0: device disconnected
[253245.416020] usb 5-1: new full speed USB device using uhci_hcd and address 14
[253245.618193] usb 5-1: configuration #1 chosen from 1 choice
[253245.626084] ftdi_sio 5-1:1.0: FTDI USB Serial Device converter detected
[253245.626140] usb 5-1: Detected FT232RL
[253245.626145] usb 5-1: Number of endpoints 2
[253245.626149] usb 5-1: Endpoint 1 MaxPacketSize 64
[253245.626154] usb 5-1: Endpoint 2 MaxPacketSize 64
[253245.626157] usb 5-1: Setting MaxPacketSize 64
[253245.627225] usb 5-1: FTDI USB Serial Device converter now attached to ttyUSB0
[253272.400063] usb 5-1: USB disconnect, address 14
[253272.400312] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
[253272.400344] ftdi_sio 5-1:1.0: device disconnected
[253436.888026] usb 5-1: new full speed USB device using uhci_hcd and address 15
[253437.086607] usb 5-1: configuration #1 chosen from 1 choice
[253437.094533] ftdi_sio 5-1:1.0: FTDI USB Serial Device converter detected
[253437.094584] usb 5-1: Detected FT232RL
[253437.094589] usb 5-1: Number of endpoints 2
[253437.094593] usb 5-1: Endpoint 1 MaxPacketSize 64
[253437.094597] usb 5-1: Endpoint 2 MaxPacketSize 64
[253437.094601] usb 5-1: Setting MaxPacketSize 64
[253437.095646] usb 5-1: FTDI USB Serial Device converter now attached to ttyUSB0

I have also tried to set the baudrate in airframe to 9600

 <!-- Communication -->
   <subsystem name="telemetry" type="transparent_usb"/>
   <configure name="MODEM_BAUD"    value="B9600"/>

Is there anything I am missing?

regards Arni



_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel


reply via email to

[Prev in Thread] Current Thread [Next in Thread]