User`s guide

MASSA PRODUCTS CORPORATION
Product Manual- April 24, 2012 15 M3 Wireless Ultrasonic Level Sensor
Manage Files after FW upload
XBee successfully programmed with FW level indicated
3.0 Operating Modes for Gateway and Sensor
3.2.6 Sensor XBee Firmware Update
Follow the steps below to program sensors XBee firmware. You should obtain the firmware from either massa.com or
from digi.com. Xbee firrmware has an “ebl” file extension. NOTE: Update only one Sensor XBee firmware at a time.
As of this writing, programming the XBee firmware requires several
steps. It requires the sensor to keep its XBee ON for the entire
programming process. This procedure is time sensitive because of the
limitations of the radio which can only be instructed to stay awake for 5
minutes. The XBee programming takes about 1 minute.
The gateway must be prepared to allow quick access to enable sensor
XBee programming. Follow these steps to successfully program the
sensors XBee. Enable setting log_dia and monitor dia_log.txt file for
driver status for Step 6 below.
1) Verify that the sensor is awake so that it will be seen in the OTA
Firmware Update Status UI. Boot gateway with
dia_configure.yml setting sleep_interval_sec: 0. Also enable
settings poll_rate: 0 and node_discovery: 1.
2) In the XBee Configuration – OTA Firmware Update Setup UI,
check the Enable over the air firmware updates and Stop
automatic updates if an update error occurs then click Apply.
3) Browse for the latest XBee firmware (ver 29xx) and click Upload.
4) Go to the OTA Firmware Update Status UI and find sensor’s
XBee in the nodes list. If it does not appear on this list, then go to
the XBee Devices UI and click on Discover Xbee Devices.
5) Boot gateway with dia_configure.yml setting keep_xbee_awake:
'true'. This will keep the sensor 100% awake for 5 minutes.
6) Monitor the dia_log.txt file in the python manges files UI and
keep refreshing this log file until you get the “keep_xbee_awake
message is acknowledged” message. When you receive this
message with “True” indicated, proceed quickly to next step.
7) Immediately go to the OTA Firmware Update Status UI then check
the sensor node, select node firmware ebl file, and
click Update. Note Status will be indicated as
Updating.
8) After 70 seconds, click on the Refresh button to get
the indication that the XBee has updated the firmware
with a Complete indication. This will validate that
the XBee’s firmware has been successfully updated.
9) IMPORTANT! After the sensor’s XBee has been
upgraded to ver 29A0 or greater, you must program a
new XBee CR register (CR=3). Reboot gateway.
10) Lastly, reboot sensor by setting reboot_sensor =
‘true’. Reboot gateway.
11) Disable sensor_keep_awake, pan_conflict_threshold
and reboot_sensor settings after you verify sensor
was rebooted.