Download Print this page
Atmel AVR1921 Application Note
Atmel AVR1921 Application Note

Atmel AVR1921 Application Note

Reprogramming the xplain at90usb1287 and atxmega128a1 firmware

Advertisement

Quick Links

AVR1921: Reprogramming the Xplain
AT90USB1287 and ATxmega128A1 firmware
Features
• ATxmega128A1 microcontroller
• External Memory
- 8MB SDRAM
- 8MB Serial Data Flash
• AT90USB1287
- Communication gateway
- Programmer for Atmel
- Analog Input (to ADC)
- Temperature sensor
- Potentiometer
• Analog Output (from DAC)
- Mono speaker via audio amplifier
• Digital IO
- UART communication through USB gateway
- 8 micro switch buttons
- 8 LEDs
- 8 spare analog pins
- 8 spare digital pins
1 Introduction
This application note describes how to reprogram the AT90USB1287 and the
ATxmega128A1 on the Xplain board with the original firmware, or your own
application code.
Figure 1-1. Xplain evaluation kit.
®
®
TM
AVR
XMEGA
8-bit
Microcontrollers
Application Note
Rev. 8301A-AVR-04/10

Advertisement

loading

Summary of Contents for Atmel AVR1921

  • 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 3 AVR1921 Figure 2-2a. Xplain revision Figure 2-2b. Xplain revision 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.