Hi, I have a XBee environment consisting of a ConnectPort X2B and 2 x RS-485 adapters. In order to get to my second RS-485 adapter, I need the other to be a Router in the Zigbee network, not an end node. I know this should be a matter of upgrading the firmware on the device, but I am struggling to find a source of truth on the net about exactly how to do this and not brick my device.
I can see that the X2 has a screen allowing OTA firmware upgrades, I have downloaded the latest adapter firmwares from the Digi support site, but I am not sure which of these is the right file, or what the difference between the .ebl and .mxi/.ehx files is.
I also found a table in one of the “Drop-In Networking” documents that says that the RS-485 adapter firmware upgrades are “not allowed”.
Can anyone guide me on how to do what I need to do safely?
You don’t really need the ‘485 fw’ - you can use AT Router firmware. You just need to remember to MANULLY set D7 to 7 … which is I believe is the only true difference, the official 485 fw would factory default to have D7 set to 7 and not 0.
In fact, I’d suggest all nodes be routers unless they sleep. An ‘end-device’ literally sends 10 packets per second to it’s parent, which is a waste of bandwidth if the device never sleeps (aka: becomes QUIET :-] )
Router count impacts broadcast effects on large networks … but with 3 nodes your network isn’t anywhere near large.
Try the OTA, or even open the adapter and do it in a XBIB-U board.
Oh, I suppose the RS-485 adapter will STOP showing up as RS-485 on the X2 after you reflash the XBee to At Router since it will default to DD=0x0003000, which is unknown device and the X2 doesn’t offer direct Web UI access to the DD values.
Thanks for the advice. I managed to use the XBEE ZB 228C code and do an OTA update. Update file was “XB24-ZB_228C.ebl”.
It seems to update successfully, and not lose the D7 setting and device type appears right, but still seems to appear as an end node and does not behave like a router either. Is this a bug perhaps.
Make sure SM=0. As long as you have firmware 228C in there and SM=0, then it is a router.
The info you show may be stale (old). I find my routers frequenty ‘start’ as being listed as end-devices desite them being routers after a gateway reboot, but hopefully they soon start flip to say router.
Well … they are kind of documented … if like reading manuals front to back as amusement.
The D7 is no doubt documented as being for RS-485 duplex and no doubt the SM=0 is documented in some sleep-related section as defining router/end-device.
What you really mean is desiring a more concise “Know this if yee wish to us RS-485!” section. As is, lots of small pieces to hand-craft at times