32
Atmel AVR2052
8200M-AVR-11/11
Option
Deafult value in
ATmega128RFA1 devices
Comments
BOOTSZ
Boot Flash size=4096
words start
address=$F000
Specifies section size, in words (2 bytes),
reserved in flash memory for the embedded
bootloader.
Applied only if
BOOTRST
is enabled.
Shall be changed to
Boot Flash
size=1024 words start
address=$FC00
if it is to work with the
serial bootloader without OTAU support.
Shall be changed to
Boot Flash
size=2048 words start
address=$F800
if OTAU support is
required on the device.
BOOTRST
Disabled
Shall be enabled if the device needs to be
programmed with the serial bootloader or if
OTAU support is required. Can be disabled
in other cases
CKDIV8
Enabled
CKOUT
Disabled
SUT_CKSEL
Int. RC osc.; Start-
up time: 6 CK + 65ms
Can be changed according to application-
specific requirements, but external clock
source shall not be used by sleeping devices
By default, programming with Serial Bootloader is not allowed, and so firmware can
be uploaded only over the JTAG interface. Default fuse bytes equal (in this order:
extended fuse byte, high fuse byte, low fuse byte):
0xFF, 0x99, 0x62
To turn on bootloader support, first, the
BOOTRST
fuse must be enabled and
BOOTSZ
must be set to
Boot Flash size=1024 words start address=$FC00
, which
leads to the following fuse bytes:
0xFF, 0x9C, 0x62
Second, a firmware image of the embedded bootloader (without OTAU support) shall
be programmed to the Atmel ATmega128RFA1 using JTAG. After that, application
images can be loaded to the device using the Bootloader PC tool from the Serial
Bootloader package, as described in Section
Enabling OTAU bootloader support requires the
BOOTSZ
fuse to be set to
Boot
Flash size=2048 words start address=$F800
,
and, hence, the following
fuse bytes values:
0xFF, 0x9A, 0x62
9.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
the ATmega128RFA1 device as follows: