14
AVR1612
8282A-AVR-11/10
6 Quick Start Guide
This section is intended as a step-by-step tutorial on how you get started using the
Atmel Xplain kit programming the Atmel ATxmega128A1 chip.
NOTE
The Atmel AT90USB1287 fuses needs to be set to clock the device to 8MHz that
means the CKDIV8 fuse needs to be unchecked if checked.
1. Download and unzip the source code for AVR1612.
2. Download and install Atmel AVR Studio
®
4.18 (or later) from
WINAVR-20090313 (or later) from
3. Extract the AVR1612’s code to a specific location (any location can be used, here
used “C:\xplain_pdi_prog\”).
4. Open either the GCC project file or the IAR™ project file and compile the source
code.
5. Connect the USB cable of Atmel Xplain to provide power to the Xplain board.
6. Connect a programmer (JTAGICE mkII or like) to the JTAG USB header on the
Atmel Xplain.
7. Start Atmel AVR Studio and select Tools -> Program AVR -> Connect -> then
select the correct programmer and port. Program the Atmel AT90USB1287
device with compiled hex file.
8. Exit the programming interface. And disconnect and reconnect the Xplain USB
cable if necessary to reset the board. If every thing works the LEDs on the Atmel
Xplain should now flash, indicating that the Atmel ATxmega128A1 target device
is programmed with a test program stored inside the flash of the Atmel
AT90USB1287.