Programming The Boards - Atmel ATZB-EVB-24-SMA User Manual

Zigbit development kits
Table of Contents

Advertisement

5.2 Programming the Boards

25
First, WSNDemo image should be loaded onto the board. The location of WSNDemo
image file is listed in 10.7.
WSNDemo image file can be uploaded into the boards in one of two ways: by means
of Serial Bootloader utility (see Section 5.3) or in AVR Studio, using JTAG emulator.
JTAGICE mkII from Atmel [17]
IMPORTANT NOTE:
Be careful selecting the method of the node programming. Each of
ATZB-EVB (MeshBean) boards come with the bootstrap uploaded
onto the ZigBit's MCU, which is needed to run Serial Bootloader. If
JTAG had been used, this would make Serial Bootloader useless until
bootstrap is reloaded to the board.
To be connected with WSN network each node should be identified
with a unique MAC address. If MAC address is not defined by a
UID hardware chip, the address of the node should be programmed
manually. Programming a ATZB-EVB (MeshBean) board with MAC
address can be performed in four ways.
MAC address can be uploaded to a board by means
It can be specified in Configuration file when
Otherwise, MAC address can be programmed
Value stored in UID is used as MAC address.
MAC address is utilized for identification of the node within the network. Default value
of MAC address is zero. The module would not join the network unless MAC address
is set to any non-zero value which is not equal to 0xFFFFFFFFFFFFFFFF.
BitCloud software detects MAC address as follows. At startup, BitCloud Software tries
to load MAC address from EEPROM. If there is 0 or 0xFFFFFFFFFFFFFFFF value
in EEPROM, BitCloud attempts to load MAC address from UID chip. If there is no
UID, the node will not be able to join the network.
2
Another JTAG programmer may be also used but it should be compatible with the
Atmel 1281 MCU.
2
(see Section 5.3.1) is recommended.
of Serial Bootloader using a command line
flag (see [7]).
defining the compilation for an application
(see details in Section 8.4). The resulting
image file containing the unique MAC address
can be uploaded to the board either by JTAG
or using Serial Bootloader.
sending SerialNet AT-commands, as described
in [3].
ATZB-EVB-XXX-XXX User Manual
AVR-09-2011

Advertisement

Table of Contents
loading

Table of Contents