I have 2 xBee 900MHz with diydrones shields and if I don't remember to unplug the plane side xbee connection when I power up then it sometimes gets bricked where the blue and red lights stay on. I'm getting really good at debricking them in under a minute but I'm wondering if this is normal :-/
I'm using the latest firmware in X-CTU.
Is this normal?
Assuming you're using APM and not the original ArduPilot, that almost always means that you've got a loose connection in the cable connecting them to APM. If a signal comes to the Xbee while it doesn't have power, it will corrupt the firmware.
Once I switched to the custom Xbee cable, I never had that problem again. Those cables should be back in stock next week.
Yes I am using the latest APM and I made my own cable just like what you have. I will make another one and see if that solves the problem. Good to know this isn't normal :) I know with the arducopter code before it merged with APM, it had that problem.
I don't know if its normal but I have 2 xBee 900 MHz and both bricked during configuration. My project: botmite.com
I've got two or three modems where the RSSI light on the usb explorer board stays lit all the time and they don't work. Might my modems be "bricked"?
I think that is definitely the cause. The Xbee needs some time to boot up, not long, 1s maybe. If it gets serial data during this time it gets bricked. I fixed this problem in the original autopilot firmware by putting a delay before the init(). In your case it is not real data being sent, but glitches from your power up problem. Xbee gets powered up and the capacitor charged on the adapter. Main power glitches when plugging in deans connector, but Xbee is still alive and sees the serial line drop from 5V and sees this as a 1. With a serial line 0 is 5V and 1 is 0V. Maybe the dropouts are seen as data coming in and since it's garbage data the Xbee gets corrupted or bricked.
Hmmm I didn't think about the planner being part of the cause. I will try your sequence and see if it helps.
I've never been able to brick the ground side either.
I'm thinking this is related to inconsistent powering up because sometimes I can't make a clean quick connection when I apply power to the APM and that quick on off on might be the cause. I'm going to start unplugging the full xbee cable during power up.
Is there any problem in the booting of the code without the xbee connected and then connecting it after it's booted up?