paparazzi-devel
[Top][All Lists]
Advanced

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

Re: AW: AW: [Paparazzi-devel] data upload to Twog v1 and modem communic


From: Felix Ruess
Subject: Re: AW: AW: [Paparazzi-devel] data upload to Twog v1 and modem communication
Date: Sun, 6 Jun 2010 23:46:17 +0200

Hi Roman,

did you already connect your xbee modem and disconnect the usb cable
again (that is normally only used for flashing).
Which XBee versions do you use? Did you configure the XBee modems? If
you are using the Digi XBee Pro ZB (formerly named series 2) modules
you have to set them up according to
http://paparazzi.enac.fr/wiki/Modems#Setup
Try to only connect the XBee modem (you don't need to reflash so you
don't need the direct USB connection) and set the link parameters as
follows:
.../link -d /dev/ttyUSB0 -s 9600
since the default baud rate on the XBees is 9600 baud if I remember correctly.

Cheers, Felix

P.S.: you can also talk to other helpful people and me on the IRC
channel (if someone is active):
http://paparazzi.enac.fr/wiki/Contact#The_IRC_Chat_Channel


On Sun, Jun 6, 2010 at 11:06 PM, Roman Nikitin <address@hidden> wrote:
> Martin,
>
> First I have done "execute", then I changed /dev/paparazzi/xbee to
> /dev/ttyUSB0 and applied the button "redo", it is what I have:
>
> make[1]: Leaving directory `/home/uav-ubuntu/paparazzi3/sw/airborne'
> cd sw/airborne; make PAPARAZZI_SRC=/home/uav-ubuntu/paparazzi3
> PAPARAZZI_HOME=/home/uav-ubuntu/paparazzi3 TARGET=ap upload
> make[1]: Entering directory `/home/uav-ubuntu/paparazzi3/sw/airborne'
> /home/uav-ubuntu/paparazzi3/sw/ground_segment/lpc21iap/lpc21iap
> /home/uav-ubuntu/paparazzi3/var/MJ5/ap/ap.elf
> ...................
> Found USB device
> BootROM code: 2.12
> Part ID: 0x0402FF25 (LPC2148, 512k Flash, 32k+8k RAM)
> BootLoader version: 1.3
> ############################
> Starting software at 0x00004000
> make[1]: Leaving directory `/home/uav-ubuntu/paparazzi3/sw/airborne'
> make: Leaving directory `/home/uav-ubuntu/paparazzi3'
> Run '/home/uav-ubuntu/paparazzi3/sw/ground_segment/tmtc/link  -d
> /dev/paparazzi/xbee -transport xbee -s 57600'
> Run '/home/uav-ubuntu/paparazzi3/sw/ground_segment/tmtc/server '
> Run '/home/uav-ubuntu/paparazzi3/sw/ground_segment/cockpit/gcs '
> Failure("Error opening modem serial device : fd < 0 (/dev/paparazzi/xbee)")
> Broadcasting on network 127.255.255.255, port 2010
>
> DONE (exec /home/uav-ubuntu/paparazzi3/sw/ground_segment/tmtc/link  -d
> /dev/paparazzi/xbee -transport xbee -s 57600 2>&1)
>
> *** client connect ***: Connection refused
> Run '/home/uav-ubuntu/paparazzi3/sw/ground_segment/tmtc/link  -d
> /dev/ttyUSB0 -transport xbee -s 57600'
>
> As I can see Data Link, Server and GSC are running now, aren´t they?! But
> after that as I push the button "redo" in GCS, all the lights, except power
> light, on the modem stop lighting. I am total confused. I don´t know if you
> have time to contact me tomorrow in Skype (nikitin.roman in UK). If not,
> then may be some ideas what can be tried to solve the problem.
>
> Is the telemetry rate of 57600 for XbeePro 2.4 GHz right? Maybe it should be
> changed to smaller number?
>
> Martin, sorry for the stupid questions, but I have never done something like
> that before, all that is new for me.
>
> Guys, if somebody had the same problem I have, please confirm to the e-mail.
> I would be very thankful for each help.
>
> Thanks,
>
> Roman
>
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: address@hidden
> [mailto:address@hidden Im Auftrag
> von Martin Mueller
> Gesendet: Sonntag, 6. Juni 2010 20:02
> An: address@hidden
> Betreff: Re: AW: AW: [Paparazzi-devel] data upload to Twog v1 and modem
> communication
>
> Hi,
>
>> [ 2156.730593] usb 8-2: FTDI USB Serial Device converter now attached to
>> ttyUSB0
>
> sounds good.
>
>> Failure("Error opening modem serial device : fd < 0
> (/dev/paparazzi/xbee)")
>
> Try replacing "/dev/paparazzi/xbee" with "/dev/ttyUSB0" in the start line of
> the link in Paparazzi center.
>
> Martin
>
>
> _______________________________________________
> Paparazzi-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>
>
> _______________________________________________
> Paparazzi-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>



reply via email to

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