24
Atmel AVR2052
8200M-AVR-11/11
Option
Default value in ATZB-XX
devices
Comments
SUT_CKSEL
Int. RC Osc.;
Startup time: 6 CK +
65ms
Can be changed according to application-
specific requirements, but external clock
source shall not be used by sleeping devices
Default fuse bit configuration allows use of Serial Bootloader, and results in the
following fuse bytes (extended fuse byte, high fuse byte, low fuse byte):
0xFF, 0x9C, 0x62
To work with OTAU functionality, special embedded bootloader firmware with OTAU
support shall be loaded to the device via the JTAG interface. Due to its large size,
BOOTSZ
fuse shall be changed to
Boot Flash size=2048 words start
address=$F800
.
If embedded bootloader support is not needed and devices are programmed only with
JTAG or ISP, then
BOOTRST
can be disabled, leading to the following fuse bytes:
0xFF, 0x9D, 0x62
8.2.2 Extended (MAC) address assignment
For proper operation, all nodes in a ZigBee network shall have unique, 64-bit MAC
address values. At startup, the Atmel BitCloud software assigns the MAC address to
a Atmel ZigBit device as follows. If at compile time the
CS_UID
parameter is set to 0,
the BitCloud stack attempts to load a MAC address from a dedicated UID chip
available on the MeshBean board via the 1-Wire interface. If there is no such UID,
then a zero MAC address will be assigned to the device. Note that for proper
operation, all nodes in the network shall have unique MAC address values. Hence, if
an address cannot be obtained automatically from an external source, separate
firmware images shall be created for each device with a unique
CS_UID
parameter
specified in the application configuration every time an image is compiled.
8.2.3 Programming with Serial Bootloader
All ZigBit modules are shipped preprogrammed with the embedded bootloader image
needed to use Serial Bootloader. Firmware images for the embedded bootloader as
well as the Bootloader PC tool, which is needed to load the application image from a
PC to the device, are included in the Atmel Serial Bootloader software package
available for downloading from the Atmel website.
To program a board using Serial Bootloader, proceed as follows:
1. Connect the serial port on the PC to the ATZB module pins, as specified in
. The MeshBean development board shall be connected using USB or the
extension slot, depending on the position of jumper J3 (see Section
Table 8-8.
Host UART and ZigBit/MCU pin connection.
UART pin on host device
ATZB-XX pin
ATmega1281 MCU pin
RXD
UART1_RXD (14)
PD3
TXD
UART1_TXD (13)
PD2
GND
DGND (any)
D_GND