paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] Add a delay on power up to avoid bricking xbee


From: Felix Ruess
Subject: Re: [Paparazzi-devel] Add a delay on power up to avoid bricking xbee
Date: Fri, 20 Feb 2015 21:32:31 +0100

Hi Joseph,

that sounds bit strange, I've never had this problem before...
What mode are you running the XBee in?
Do you maybe have xbee_api mode configured in your airframe file and are sending some wrong XBEE_INIT codes?

Cheers, Felix

On Thu, Feb 19, 2015 at 8:07 PM, Joseph Muhlhausen <address@hidden> wrote:
I found a solution.

in v5.0 I modified paparazzi/sw/airborne/firmware/fixedwing/main_ap.c

after line 227 #if defined DATALINK I added:
sys_time_usleep(5000000);

It works although I'm not sure it's the best fix.

On Wed, Feb 18, 2015 at 12:33 AM, Joseph Muhlhausen <address@hidden> wrote:
Hi Guys,

I have been having some trouble with my xbee. It bricks every time I power up the board, but works fine if I power up the board first and then connect the xbee. It might be some sort of signal before power issue.

I am not very familiar with C. How should I got about adding a delay of 1 second before sending a signal through the xbee? Would sleep(1000) at the beginning of telemetry.c do the trick?

Thanks,
Joseph


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