Programing problem

I try to configure my XBEE PRO S2 with X-CTU.
I use this tutorial https://sites.google.com/site/ahmedabdien89/Embedded-Systems/xbeeintroductionhappyxbeeing . All was OK. When I click on Write to download the new settings. After write that i saw this: https://lh4.googleusercontent.com/-ePCtfPLmawI/TyaXQTDY66I/AAAAAAAACXM/ber8pfWjEPw/s512/xbee.jpg
but I have home made proggramer (using FTDI) and no buttons on it. When I try to connect again XBEE tu X-CTU i saw again this https://lh4.googleusercontent.com/-ePCtfPLmawI/TyaXQTDY66I/AAAAAAAACXM/ber8pfWjEPw/s512/xbee.jpg . Now is unable to read data from XBEE. Can somebody help me solve this problem?
Thank you

hi,

How about showing [ what you changed ]?

Probably, it will be better to make connection of DIN, DOUT, RTS, CTS,DTR,and RESET, if XBee is changed by X-CTU.
Connection of Association LED is recommended to it.

It is necessary to use the thing in which 3.3V power supply also had sufficient capacity.

Hi Andariel,

I have experienced it a lot of time. I think your Xbee is sleeping. Didn’t you set your Xbee to the END DEVICE?

If you are trying to set one or more of your Xbee modules to the END DEVICE, you have to add the “commissioning button”. That is pin 20. That button keeps Xbee awake for 30 seconds. Then it can hold the communication with X-CTU while awake. It goes back to sleep again after 30 seconds then you have to push commissioning button again.

I fed up with that disconnection problem when I started using Xbee. But one commissioning button solved all the connection problem.
So try putting one tact switch to the pin 20 and connect it to the ground. I bet it helps!

It’s strange that Xbee doesn’t reset the sleep timer for serial connection even though it does for the remote connection by the air…

Regards,
Andy

I try to set XBEE as ZNET 2.5 ROUTER/END DEVICE AT. My programmer for XBEE have only basic connection DIN, DOUT, VCC, GND. Is possible with this setup configure the XBEE with XCTU?
AndyOyamada I think you have true I will try it on Breadboard.

I try to add “commissioning button” but that not help me. All stay same :frowning: . Can somobody help me?

I try to set XBEE as ZNET 2.5 ROUTER/END DEVICE AT. My programmer for XBEE have only basic connection DIN, DOUT, VCC, GND. Is possible with this setup configure the XBEE with XCTU?

No, pins demanded by firmware update should read the chapter of RECOMMENDED PIN CONNECTIONS of a product manual.
Moreover, RESET SWITCH and ASSOC LED are needed in many situations.

I know only about S2B though, “ROUTER/END DEVICE” can be a firmware that shuts the serials off and receives updates only by remote.

What is your baud rate?
Xbee has a through hole baud rate even if you set it a flying device. I guess it was 9600bps.

Hope it helps,
Andy

OK, I digged out my old mails from the support.

They adviced me these steps,

  1. Set it 9600bps, Flow Control None, 8Bit, Non Parity, 1 Stop Bit.
  2. Choose the firmware. Don’t choose the firmware with “/”.
  3. Always Update Firmware ON
  4. Write

Hope it helps,
Andy

Ah, yes, Reset does work for many case. Sorry for troubling the basic case.

Andariel, try adding RESET button.
But it’s true that commissioning button is also needed although it’s not noted on the manual.

Hope things go get better.
Andy

Excuse me, I erased my last post about the reset.

Reset works in most case. I just remembered the truth that reset only troubles when awake time was too short like 200ms.

Best Regards,
Andy

Thanks for help.
First time was all ok I read Xbee configuration and write program (ZIGBEE ROUTER/END DEVICES SENSOR) to Xbee. End of writting stop with error and I can´t again get in Xbee firmaware. To solve this problem a try this:

  1. Add “commissioning button” pin 20
  2. Add RESET button on pin 5
  3. Add power LED pin 13
    4 Add status LED pin 15
    with this setup I try to connect Xbee with XCTU (baud and other I have set right like wrote AndyOyamada ) I firstly push commissioning button (status led blink 1 tymes) and try to Test/Query and agian I saw this error when I saw this error a push Reset buttom (status and power leds stop flashing). Nothing help me read Xbee :frowning: . I would like to buy new XBee Explore maybe the full connection DIN, DOUT, RTS, CTS,DTR,and RESET help me solve my problem.

write program (ZIGBEE ROUTER/END DEVICES SENSOR) to Xbee.

Is this really?.
SENSOR will not communicate to PC through DIN and DOUT.

[quote]write program (ZIGBEE ROUTER/END DEVICES SENSOR) to Xbee.

Is this really?.
SENSOR will not communicate to PC through DIN and DOUT.[/quote]

Yes ZIGBEE ROUTER/END DEVICES SENSOR (I will use xbee for Telemetry in my plane). Can I solve this problem?

yes.

First,normal xbee modlues are not used as a sensor,a digital io,an analog io.
You must recovery default firmware again.

The way to recover wrote in this site .
http://www.digi.com/support/kbase/kbaseresultdetl?id=3203

and more trouble shooting wrote my site.
http://hamayan.blog.so-net.ne.jp/2012-02-01

chobichan thanks for help
I try to recovery (http://www.digi.com/support/kbase/kbaseresultdetl?id=3203) but that not solve my problem. When I type B nothing happened…

oh,OTL

It checks.
1.Change baud rate to 115200 in PC Setting tab.

2.Check DTR, uncheck RTS, check Break in Assert category in Terminal tab.

3.Hit the RESET button.

4.Uncheck Break in Assert category.

5.Click on the Terminal Window tab, then Type B and hit Enter.
the B must be “upper case”.

6.Without resetting or power cycling the XBee go to the Modem Configuration tab.

7.Check “Always Update Firmware” and select firmware you wish to load.
Modem type = “XB24-ZB” or “XBP24-ZB”.
Function Set = “ZIGBEE ROUTER AT”.

8.Click Write

If you want to use XBee as an original sensor,you must read a product manual.
8.XBee Analog and Digital IO Lines.
9.API Operation -> ZigBee IO Data Sample RxIndicator
10.XBee Command->I/O Commands and Sleep Commands.

when I push reset buton LEDs light off and again light up for 6 second and again light off for 6 sek and after that stay light up
I do all what you write but when I type B nothing happened .
Is possible solve this problem or Is my Xbee death?

Maybe cause that problem my homemade porgarammer…

I guess you are already fed up with this. Hold on. I have 2 more thoughts.

  1. seeing by remote
  2. your PC’s usb driver

1.Do you have one more Xbee? You might have since Xbee doesn’t work alone. Try to read from other one by the remote configuration > open com port > discover. If you could see any remote device in second line, press “read” on X-CTU main window. Be aware to give identical PAN ID.

  1. What is the cpu and chipset of your PC? Do you have nForce chipsets or AMD cpu?

This recovery method didn’t work for me too.
http://www.digi.com/support/kbase/kbaseresultdetl?id=3203

Your problem is exactly the same when I used a firmware with “/”. I sent it to the support and they recovered by the method I mentioned. I guess I couldn’t recover it myself because of PC’s usb hardware misfits. AMD or nForce has a problem in usb driver they still don’t solve.

Regards,
Andy

And my guess is,
You could update once correctly with the ROUTER/END firmware because Xbee had some other firmware that time. Since ROUTER/END firmware is meant to be the sensor device that disables DIN/DOUT, it became a flying device that can only be read by the remote configuration. Xbee has been changed after your first update.

And even if you set it to ROUTER/END firmware, it has a backside door in the DIN/DOUT that can be activated by the recovery method I meant before, it was not so tweaky though.

Andy

I guess you are already fed up with this. Hold on. I have 2 more thoughts.

  1. seeing by remote
  2. your PC’s usb driver

1.Do you have one more Xbee? You might have since Xbee doesn’t work alone. Try to read from other one by the remote configuration > open com port > discover. If you could see any remote device in second line, press “read” on X-CTU main window. Be aware to give identical PAN ID.

  1. What is the cpu and chipset of your PC? Do you have nForce chipsets or AMD cpu?

This recovery method didn’t work for me too.
http://www.digi.com/support/kbase/kbaseresultdetl?id=3203

Your problem is exactly the same when I used a firmware with “/”. I sent it to the support and they recovered by the method I mentioned. I guess I couldn’t recover it myself because of PC’s usb hardware misfits. AMD or nForce has a problem in usb driver they still don’t solve.

Regards,
Andy

Thank you
I have 2 Xbee one communicate with XCTU correctly (have factory settings) and other one make me trobubles(sensor).
The second thought is not probem I have this setup:
Intel Core 2 Duo 2GHz T5750, NVIDIA GeForce 9200M GS

To first thought can you I write me how can I do that more details.? (you think “Digi Device Discovery” in “Network Interface”??).
More over I have only one xplorer (waiting for second) But I have platform with I´m going to programing Telemetry. Can I use correct XBee for read the second (wrong) Xbee in platform?