Page 1
AVR1921: Reprogramming the Xplain AT90USB1287 and ATxmega128A1 firmware Features 8-bit • ATxmega128A1 microcontroller Microcontrollers • External Memory - 8MB SDRAM - 8MB Serial Data Flash • AT90USB1287 Application Note - Communication gateway ® ® - Programmer for Atmel XMEGA - Analog Input (to ADC)
Page 2
Xplain as shown in Figure 2.2b. It is possible to replace the AT90USB1287 firmware of a revision 1 kit with later firmware, in that case it is required to uninstall the USB driver and install the new driver. AVR1921 8301A-AVR-04/10...
Page 4
2. Connect the JTAGICE mkII to the “JTAG USB” pin header (J200) as shown in figure 2.1. 3. Open the programming dialog in AVR Studio selecting Tools -> Program AVR -> Connect. Select “JTAGICE mkII” and Auto and click “Connect”. AVR1921 8301A-AVR-04/10...
Page 5
AVR1921 4. Select the “Main” tab and choose the “AT90USB1287” from the dropdown list. Choose “JTAG mode” as programming mode. 5. Select the “Program” tab and choose the USB bootloader hex file provided with application note Flash input file (/firmware/revision_XXX/AT90USB1287/ AT90USB1287.hex). Click Program.
Page 6
11. Under “Operations Flow” check out “Erase, “Program” and “Verify”. 12. Choose the hex file to be programmed: select File -> Load hex file. Choose the USB application firmware file (/firmware/revision_XXX/AT90USB1287/ Xplain_USB.a90) and click “OK”. 13. Press “Run”. AVR1921 8301A-AVR-04/10...
Page 7
AVR1921 The device is now programmed with the serial gateway application firmware. The same procedure can be used to download your own application code. Remove the jumper at the “JTAG USB” pin header (J200) and cycle power to start the application code.
Page 8
BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Atmel makes no representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to make changes to specifications and product descriptions at any time without notice. Atmel does not make any commitment to update the information contained herein.