User’s Manual
46
5.2.5.1 Including Firmware Update in Cloned Application
If you include the firmware update in the master RCM4510W program, clone this program to an
RCM4510W clone, and then let that program run on the clone, then the firmware update will fail
unless you remove the cloning cable from the clone before the firmware update begins.
To avoid this failure, Rabbit recommends that you include code in the master program that is to
be cloned to check the firmware version when the RCM4510W resets or boots up. The reset or
boot-up will happen as a matter of course once the cloning cable is removed and the RCM4510W
clone operates in the Run Mode for the first time. The firmware version can be checked by calling
xbee_init()
— if an error returns, the firmware update will happen successfully since the
cloning cable is no longer attached, and if there is no error returned, the firmware is already up-
to-date and the RCM4510W clone will reset or boot up normally.
5.2.6 ZigBee Drivers
The ZigBee drivers are located in the
LIB\Rabbit4000\XBee
folder. Complete information on
these libraries and the ZigBee function calls is provided in Section 6.4.