User manual
10
Atmel AVR1926
8439A-AVR-09/11
5.2 Programming via the DFU boot loader
This method of programming allows the application and the boot loader to coexist.
The preprogrammed DFU boot loader is located in the “Boot Loader Flash Section” of
the on-chip flash memory; it manages the USB communication protocol and mainly
performs read/write operations to the on-chip memories (flash/EEPROM).
Two ways are available to evoke the boot loader on the Atmel AVR XMEGA-B1
Xplained board:
• Automatic if the “Application Flash Section” of the Atmel ATxmega128B1 is blank
when power is applied
• Forced if pin 6 on J1 is shorted to GND when power is applied
Figure 5-1. USB DFU boot process.
5.2.1 Prerequisite
To pro
gram the device, you need the
DFU programming application Flip, which can be
found under the FLIP instal
lation directory.
You need to install the most recent version (ver. ≥ 3.4.3).
5.2.2 Step-by-step guide
•
Start Flip. This can be also done through the desktop “start” menu:
“All Programs” -> . . . -> “Flip 3.4.3”
• Select “ATxmega128B1” from the device selection list available with the ‘chip’ icon
• Select “USB” as communication media (available with the “USB cable icon”)