44
Atmel AVR2052
8200M-AVR-11/11
and the make utility are located in
bin
and
utils\bin
directories in WindAVR installation directory, respectively.
g. Open AVR Studio and go to
Tools > Options
. In the
dialogue window open
AVR Toolchain > GCC 8-bit
and
set
bin
and
utils\bin
directories’ paths as Toolchain and
Make Utility paths.
3. Download and install Java Runtime Environment
, if not already installed on
your PC.
4. Demonstration of OTAU functionality and programming devices with Serial
Bootloader require the Serial Bootloader package, which should be downloaded
from the Atmel website.
11.2 Programming the boards
A firmware image file can be uploaded into the ATxmega device in one of the
following ways: using the Serial Bootloader package or using the JTAG interface.
11.2.1 Setting fuse bits
provides the default fuse bit configuration loaded into Atmel
ATxmega256A3/Atmel ATxmega256D3 devices during production. It also describes
some use cases when certain fuse bits require values different from the default ones.
Based on their own application-specific requirements, users can change the fuse bits
for detailed fuse bit descriptions.
NOTE
Modifying fuse bit settings is possible only using the JTAG programming interface,
and cannot be done with the Serial Bootloader package tools.
Table 11-4.
Fuse bit settings for ATxmega256A3/D3 device.
Option
Deafult value in
ATxmega256A3/D3
devices
Comments
JTAGUSERID
0xFF
Can be changed according to application-
specific requirements
WDWP
8 cycles (8ms @ 3.3V)
Can be changed during application
development. Must be disabled for final
products
WDP
8 cycles (8ms @ 3.3V)
Must be always enabled
DVSDON
OFF
Must be always enabled
BOOTRST
Application reset
Must be set to BOOTLDR if device needs to
be programmed with Serial Bootloader or if
OTAU support is required
BODACT
BOD Disabled
Can be changed according to application
requirements
BODPD
BOD Disabled
SUT
0ms
WDLOCK
OFF
JTAGEN
ON
EESAVE
OFF
Can be changed according to application-
specific requirements, but external clock
source shall not be used by sleeping devices.