28
ATZB-EVB-XXX-XXX User Manual
AVR-09-2011
I
f the node is to be programmed
with the use of Serial Bootloader,
enable additionally the BOOTRST
option
.
Make sure the following hex value
string appears at the bottom of
Fuses
tab:
0xFF, 0x9C, 0x62.
By default, each of the boards (MCU) is preprogrammed with this fuse setting.
In addition, JTAG can be used to restore the device's ability to respond to Serial
Bootloader commands. Serial Bootloader firmware can be reprogrammed with JTAG
by selecting
bootloader.hex
image contained in your ZDK Distribution CD and
uploading it to the device.
5.4 Using the Boards
At node startup, current channel mask is regularly read from EEPROM. If channel
mask has been uploaded to EEPROM using Serial Bootloader, then no special action
described below is needed before starting WSNDemo. Nevertheless, if you need to
upload channel mask to EEPROM from flash (from an image file) then startup
initialization of the node must be performed as follows.
Press and hold the on-board
SW1
button first (see
Error! Reference source not
found.
). Power ON the board with holding the button pressed for at least 1 second.
LED2
will get flashing 3 times. Next, all LEDs will start flashing to indicate the node’s
role: they will flash once on router, twice on end device and three times on
coordinator.
LED1
,
LED2
and
LED3
will start blinking for 2 sec to indicate the acceptance of
channel mask in EEPROM.
NOTE:
When the operation described above is completed, the channel mask
preloaded to EEPROM is lost.
Starting the WSNDemo, do the following:
Configure one single node as a coordinator, and make the
others be routers and end devices (see Table 11). Any of
the boards provided can be configured with any role.
Connect the coordinator node to the PC, using USB port on the
coordinator board
8. Power on the coordinator node
9. Run WSN Monitor (see Section 0)
10. Power ON and reset the rest of the nodes.