6
Atmel AVR2052
8200M-AVR-11/11
4.2 Programming the boards
As a first step, WSNDemo images should be loaded onto the boards. The locations of
the WSNDemo image files are platform specific, and are provided in the “Installing the
SDK” subsection of the sections specified in
The programming instructions and the sets of pre-built application images provided
with the SDK also depend on the target platform.
sections that describe how to program each target platform and evaluation kit.
Table 4-1.
Platform-specific programming sections.
For platform
Refer to Section
ZigBit / ZigBit Amp / ZigBit 900
megaRF
UC3
XMEGA
SAM7X
SAM3S
Running any ZigBee or ZigBee PRO application, WSNDemo included, requires that
every device in the network have a unique, 64-bit MAC address. See the appropriate
sections in
for how MAC addresses are assigned for each type of
supported board. In order to make initial setup easier, there are a number of pre-
compiled images provided with the SDK that can be used right away without any
modification.
Atmel ZigBit platform does not require manual assignment of MAC addresses, as the
evaluation boards are equipped with a dedicated unique ID chip or EEPROM, which
the BitCloud stack uses automatically on startup. Also, note that the default images
are configured to use a particular extended PAN ID
and channel mask. To change
these parameters, the user must modify the
configuration.h
file included in the
project and rebuild the application. Special care must be taken by the user when
configuring an application so that each compiled image contains a unique MAC
address and all images share the same extended PAN ID and channel mask.
4.3 Running WSNDemo
Each target platform requires its own set of instruction for getting the WSNDemo
provides references to the sections with platform-specific
instructions.
Table 4-2.
Platform-specific WSNDemo sections.
For platform
Refer to Section
ZigBit
megaRF
UC3
XMEGA
SAM7X
SAM3S