paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] Berg Receiver Mod


From: Chandler Chen
Subject: Re: [Paparazzi-devel] Berg Receiver Mod
Date: Fri, 19 Oct 2007 07:00:39 +0800

Hi,
Thank you for your response, I've configure the GPS manually with the help of the document for paparazzi wiki, and I've set the UART1 speed to 38400, and make the same conf in my airfram file like this: ap.CFLAGS += -DGPS -DGPS_LED=2 -DUBX -DUSE_UART1 -DGPS_LINK=Uart1 -DUART1_BAUD=B38400.
But after upload to tiny board, LED 2 no response...
By the way, I am using the latest cvs code. After I connect my tiny board to paparazzicenter and in Messages program I can see the GPS status, it's working, and I can see GPS already have 4-5 satellite connected, but the LED still no response...
I really don't know what's wrong now~
Thanks again.

--------------------------------------------------
From: <address@hidden>
Sent: Friday, October 19, 2007 5:25 AM
To: <address@hidden>
Subject: RE: [Paparazzi-devel] Berg Receiver Mod

Hi

What do you mean it doesn't work ?

from sw/airborne/gps.c

void use_gps_pos( void ) {
 if (GpsFixValid()) {
   last_gps_msg_t = cpu_time_sec;
   estimator_update_state_gps();
#ifdef GPS_LED
   LED_TOGGLE(GPS_LED);
 }
 else {
   LED_ON(GPS_LED);
#endif
 }

so the LED should be on while the GPS has no fix but is sendig UBX_NAV_STATUS_ID
and blinking is it has a (3D) fix

Are you sure your GPS is talking to your board ? a new GPS chip will need some
configuration ( either saved in flash or run time at boot )

hth

Poine


Quoting ³ÂÈð <address@hidden>:

Hi all,
Recently, I am testing my new tiny board, everything works fine except
the GPS LED, I set it use DGPS_LED=2 in my airframe settings, but LED 2
dosent' work, I've switch the DTIME_LED to 2, it works fine, so hardware no
problem. Anyone has any idea on how to make this working ? thanks a lot.
_________________________________________________________________
Windows Live Custom Domain£¬ÄúµÄÃâ·Ñµç×ÓÓʾ֡£
https://domains.live.com/default.aspx




_______________________________________________
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]