I have a weird issue when I am trying to wirelessly upload a sketch to the Fio board. I will try to elaborate on all the problems I have faced and the troubleshooting I have done so far. Please be patient with my long post.
I have 3 fio boards and 2 xbee series 2 and also 2 xbees 1 series.
I first tried working with series 2 xbees:
-I have 1 xbee flashed using X-Ctu as ZNET 2.5 Router/End Device AT where I have set the PAN ID
-Next I flashed another xbee series 2 using X-Ctu as ZNET 2.5 Coordinator AT where I have set the same PAN ID as above and also set DH -as SH of Router, and DL as SL of Router.
-Next I place Coordinator on a usb explorer connected to the pc and I have the other one on the fio board.
-First my RSSI light(which I understand indicates pairing of xbees) on the explorer board comes on. Then the RSSI light on the fio board comes on .
-But as soon I press Upload on the IDE, the fio RSSI light goes off and I get steady RX light on the explorer and blinking TX on explorer as well.
-After a second the TX and RX light goes off and the RSSI light on the fio board comes on AND
- I get the sync() error.
As a test I placed both my xbees on separate explorer and using 2 separate x-ctu terminals I tested and they both were communicating.
I am not sure why is this happening because if the 2 xbee were not paired why would it be coming on in the first place.
I HAVE ALSO TRIED WORKING WITH SERIES 1 XBEES.
-The first time I connect my xbees (one on the explorer and the other on the fio board) and press upload, the RSSI light on explorer board comes on, and everything goes smoothly and the sketch gets uploaded. I can see the values on a serial terminal.
-But after that when I try uploading a new sketch, I get the error: ' Serial COM PORT # not available.'
-I have verified my COM port and checked through Device manager, there is no other COM Port except for one to which explorer board is connected.
-Here as well when I connect both my xbees to separate explorers and test through separate x-ctu terminals, they communicate properly,
Any help will be greatly appreciated.