English
Language : 

UG124 Datasheet, PDF (14/18 Pages) Silicon Laboratories – ZigBee Contact Sensor Reference Design Kit
UG124: ZigBee® Contact Sensor Reference Design (RD-0030-0201) Kit User's Guide
Firmware
7. Firmware
This section describes the Contact Sensor reference design application firmware.
7.1 Obtaining the Firmware Application
The firmware application in pre-compiled binary form is available for download from: http://www.silabs.com/zigbeecontactsensor. The
firmware application source code is available as part of EmberZNet PRO, which is available to registered users of a development kit.
For more information visit the ZigBee Getting Started page.
7.2 Programming the Contact Sensor Reference Design
The reference design provides two methods to reprogram the demo board:
• Using the ISA3 header with an .s37 or .hex image file.
• Using the over-the-air (OTA) upgrade feature with an .ota image file.
7.2.1 Board Header Reprogramming
The contact sensor can be reprogrammed with an available .s37 or .hex file and an ISA3 programmer. Please refer to Silicon Labs'
UG110: "Ember® EM35x Development User’s Guide" for more information on how to successfully program the contact sensor with an
ISA3 programmer. The ISA3 connector on the contact sensor is the J3 header. Notice the orientation of the connector, where the keyed
side of the connector corresponds to the ISA3 key marking found with the silkscreen drawing surrounding the J3 header.
7.2.2 Over-the-Air Repregramming
The demo board can be reprogrammed with an available .ota file and a device that can perform OTA upgrades such as the
RD-0002-0201 ZigBee USB Gateway Kit supported by Silicon Labs. Refer to the gateway documentation for more information on how
to reprogram via OTA upgrade.
7.3 Build Instructions
The instructions below describe how to build the device firmware.
1. Install EmberZNet PRO.
Note: You must have installed Ember Desktop version 3.3 build 1913 or later for this stack release to work.
2. Create a new Application Framework Configuration in AppBuilder and select the 5.4.4 stack release.
3. Create a project using HaContactSensor sample application.
4. In AppBuilder, under the “hal configuration tab”, select the EM3587 chip.
5. Generate and note the directory in which the project files were created.
6. Save the Ember Desktop project file into the directory you just created.
7. Compile in IAR version 7.30.1 or later.
At this point you can load the image onto the Contact Sensor reference design.
7.4 Cluster Support
This section details clusters that were implemented as part of this project.
• Basic
• Power Configuration
• Identify
• OTA Boot-loading
• Poll Control
• Temperature Measurement
• IAS Zone
• Diagnostics
silabs.com | Smart. Connected. Energy-friendly.
Rev. 0.4 | 13