paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] Blank GCS with Lisa/S


From: Samuel Comeau
Subject: Re: [Paparazzi-devel] Blank GCS with Lisa/S
Date: Mon, 02 Mar 2015 21:43:09 -0500
User-agent: KMail/4.14.2 (Linux/3.16.0-4-amd64; KDE/4.14.2; x86_64; ; )

Hi Beryl,

That is some good news! Yes, your bind was successful, and your messages means 
that the signal is going through, and all of your hardware is fine, as far as I 
know. What you can do next is change the order in which you power up your 
components. Do it in the exact reverse order: first the transmitter, so both 
the Lisa/S and the usbrf get powered on with a valid signal, then the Lisa, 
and finally the usbrf. 

If that still doesn't float your boat, check your paparazzi version, or more 
specifically, the version of airframe you are using. Depending on the version 
of paparazzi you're using, you may be using a version that has some outdated 
airframe files relative to the code base. The Lisa/S is a fairly recent board, 
and there as version 0.1 not that long ago (you are most likely using a 
version 1.0). If the airframe seems legit, try an other airframe based off the 
Lisa/S. I've personally never had any luck with ladybird, but did get some out 
of the quadracopter. Just grep around, you'll find one that works.

If you still have no luck with that, try talking with your Lisa/S through your 
Black Magic Probe. You shouldn't have much trouble with that, especially if 
you pay attention to which device your BMP gets listed as (since both the 
usbrf and the BMP are ttyACM*).

And if you still have no luck, then there are still things to try, like using 
gdb to communicate with the code on the Lisa/S, flashing the usbrf, changing 
the operating mode of the remote (DSMX or DSM2) or the baud rate of your 
serial connection.

Cheers!

Sam
On March 2, 2015 12:17:50 PM beryl.wicaksono wrote:
> Hi Garrosh,
> 
> Thank you for your reply. Actually, I also run paparazzi in ubuntu14.04
> VMWare on Windows 7, and I have tried to my friend laptop that use a native
> Linux install but I still facing the same problem.
> 
> After I read your message, I have just re-bind. I thought that my bound was
> successful.
> 1. Bind transmitter to usbrf --> I plug the usbrf, then press bind button,
> the orange led is ON. Power ON my transmitter in bind mode, than the orange
> led goes OFF and the red led goes ON. (Successful, right?).When I turn off
> the transmitter, the red led goes OFF and then when I turn on again, the red
> led goes ON.
> 2. Bind transmitter to Lisa/S --> turn ON lisa/s while pressing bind button,
> then the outer orange led blink slowly. Turn ON my transmitter in bind
> mode. The orange led blinks fast and then remains ON. (Successful, right?).
> When I turn off the transmitter, the orange led blinks fast (it means that
> no radios,doesn't it?). And when I turn on again the transmitter, the
> orange led in Lisa/S blinks fast and then remains ON. So I thought that I
> was successfully bound it.
> (I did that (step 1 and 2) in different time)
> 
> When plug in the usbrf, turn on Lisa, and turn on the transmitter, the outer
> orange led in Lisa/s goes ON and the two red leds in usbrf go ON,too. So I
> think that Lisa/s has communicate with usbrf, and vice versa. So I execute
> "Flight address@hidden" session. I surprised when I see the "Message"
> window, that there was some downlink message. (This was never happened
> before). But the GCS still showed a blank GCS with "Waiting for
> telemetry.." message. and there was a message :
> File "pprz.ml, line 523, character 4-10:Assertion failed
> 
> Here I attach my screen-shot when running this problem.
> 
> So, what is your next idea? Thank you very much for helping me :D
> <http://lists.paparazziuav.org/file/n16845/10861110_10203959457132698_692540
> 0680052019424_o.jpg>
> 
> 
> Garrosh wrote
> 
> > Hello Beryl,
> > 
> > I have some experience with the Lisa/S and the usbrf. I've had the same
> > problem you have now. I was facing several problems. I was attempting to
> > run paparazzi on a virtual machine, and the VM I was using was having
> > trouble letting my usb ports communicate through, and I thought that was
> > the source of my problem. When I eventually reformated and went with a
> > native Linux install, I was still facing the same problem, and this time,
> > I
> > thought it was because of the Black Magic Probe I was using, that was
> > getting ACM0 allocated to it, while the usbrf fell over to ACM1. When I
> > fixed that, my problem remained. I had already confirmed with a "dmesg |
> > tail" that my usbrf was properly detected and my udev rules were properly
> > setup.
> > 
> > What ultimately fixed the problem was the binding procedure. When you plug
> > in the usbrf and you want to bind it to your remote, you have to make sure
> > that you're pressing the bind button on it. Ditto when you power on the
> > Lisa/S. Don't try to bind them both at once, look at the flashing lights
> > to
> > make sure the binding occurs. If everything is properly communicating and
> > the signal still doesn't get through the GCS, I still have a few more
> > ideas, just let me know.
> > 
> > Samuel Comeau
> > 
> > _______________________________________________
> > Paparazzi-devel mailing list
> > 
> > Paparazzi-devel@
> > 
> > https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
> 
> -----
> Beryl Wicaksono
> Electrical Engineering
> Bandung Institute of Technology
> --
> View this message in context:
> http://lists.paparazziuav.org/Blank-GCS-with-Lisa-S-tp16839p16845.html Sent
> from the paparazzi-devel mailing list archive at Nabble.com.
> 
> _______________________________________________
> 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]