XYGStudy 6455556

Download PDF
Contents

XYGStudy AVRISP mkII USB In-System Programmer User Manual

Model: 6455556

1. Introduction

The XYGStudy AVRISP mkII is a professional in-system programmer designed for Atmel AVR microcontrollers. It is fully compatible with the original AT AVRISP mkII and supports all AVR devices with ISP (In-System Programming) or PDI (Program and Debug Interface) interfaces, including XMEGA series microcontrollers. This programmer integrates seamlessly with AVR Studio 4, 5, 6, or higher versions, and can be updated to support future devices.

XYGStudy AVRISP mkII USB In-System Programmer

Figure 1: XYGStudy AVRISP mkII USB In-System Programmer

2. Key Features

  • Compatibility: Fully compatible with AT AVRISP mkII from Atmel.
  • Device Support: Programs all AVR devices with ISP or PDI interface, including XMEGA, and certain 51 devices.
  • Programming Capabilities: Supports programming of both Flash and EEPROM memory, as well as fuses and lock bits.
  • Software Integration: Compatible with AVR Studio 4/5/6 or higher versions, and WINAVR (GCC). Supports program files generated by IAR, ICCAVR, and CVAVR.
  • Firmware: Delivered with firmware for AVR Studio 5, upgradeable to support other AVR Studio versions and future devices.
  • Target Voltage Support: Operates with target voltages ranging from 1.8V to 5.5V.
  • Adjustable Speed: ISP programming speed is adjustable from 50Hz to 8MHz SCK frequency.
  • Connectivity: USB 2.0 compliant (full speed, 12Mbps).
  • Power Supply: Powered directly from the USB bus, eliminating the need for an external power supply for the programmer unit.
  • Protection: Features target interface protection and short-circuit protection.

3. Package Contents

The following items are included in your package:

  • 1 x USB AVRISP XPII Programmer
  • 1 x USB Cable (Type A to B)
  • 1 x 6-pin Cable (spare)
  • 1 x 6-pin to 10-pin ISP Cable
  • 1 x 6-wire Multicolour Custom Connector Cable
Package contents of the AVRISP mkII programmer

Figure 2: Included accessories and programmer unit

4. Setup Guide

4.1. Software Installation

Before connecting the AVRISP XPII programmer, you must install Atmel Studio (version 4, 5, 6, or higher) on your computer. The necessary drivers are typically included with Atmel Studio. The programmer is compatible with Windows XP/7/8/8.1/10 operating systems.

4.2. Hardware Connection

  1. Connect to PC: Connect the AVRISP XPII programmer to your computer using the provided USB cable.
  2. Connect to Target Board: The programmer connects to the target board via one of three optional cables, depending on the target board's connector type:
    • For a standard 6-pin ISP connector, use the 6-pin cable.
    • For a standard 10-pin ISP connector, use the 6-pin to 10-pin ISP cable.
    • For custom connections, use the 6-wire multicolour custom connector cable.
  3. Target Board Power: The AVRISP XPII programmer is powered by USB and does not supply power to the target board. The target board must be powered from an external power supply. Ensure the target board is powered before attempting to program.
AVRISP mkII programmer connected to a target board

Figure 3: Connecting the USB AVRISP XPII to a target board

4.3. Firmware Upgrade

Generally, firmware auto-upgrades after connecting the XPII to Atmel Studio (above Studio 6.1). Manual upgrade is only required if the programmer does not function correctly. To manually upgrade firmware:

  1. Open the installation directory of your Atmel Studio software, typically c:\Program Files (x86)\Atmel\Atmel Studio 6.2\.
  2. Copy the firmware file (e.g., avrispmkii_fw.zip) to the tools folder within the \atbackend\ directory.
  3. Open a command prompt, navigate to the \atbackend\ directory (e.g., cd c:\Program Files (x86)\Atmel\Atmel Studio 6.2\atbackend\).
  4. Execute the command: run atfw -a avrispmkii_fw.zip -t avrispmkii to upgrade the firmware.

5. Operation

5.1. Programming Microcontrollers

The AVRISP XPII programmer allows you to program Flash and EEPROM memory, as well as configure fuses and lock bits on supported AVR and XMEGA microcontrollers. The programming process is managed through Atmel Studio or other compatible development environments.

The programmer offers high-speed programming, capable of programming a 12K program file with verification in approximately 2.5 seconds (with programming speed set to 1MHz; maximum speed is 8MHz).

5.2. Pinout Diagrams

Understanding the pinouts is crucial for correct connection to your target board. The following diagrams illustrate the standard 10-pin and 6-pin ISP connectors:

10-pin ISP Connector Pinout Diagram

Figure 4: 10-pin ISP Connector Pinout

6-pin ISP Connector Pinout Diagram

Figure 5: 6-pin ISP Connector Pinout

Note: The target board must be powered independently. Ensure MOSI, MISO, SCK, GND, and RESET lines are correctly connected and free from interference during programming.

6. Supported Devices

The AVRISP XPII programmer supports a wide range of Atmel AVR microcontrollers. Refer to Atmel Studio for the most up-to-date list. Below is a general list of supported AVR Mega, AVR Tiny, and AVR Xmega devices:

6.1. AVR Mega Series

List of supported AVR Mega microcontrollers

Figure 6: Supported AVR Mega Devices (Part 1)

6.2. AVR Tiny and AVR Xmega Series

List of supported AVR Tiny and AVR Xmega microcontrollers

Figure 7: Supported AVR Tiny and AVR Xmega Devices (Part 2)

The programmer supports all different voltages and speed grade versions of the devices listed above.

7. Troubleshooting

7.1. LED Status Indicators

The programmer features LED indicators to provide status information:

LEDDescription
Power (Green)Connect to PC normally
States (Green)Connect to PC and target board
States (Red)Connect to PC without target board
States (Red)Program; Orange flash: Firmware upgrade
LED status and troubleshooting guide

Figure 8: LED Status and Firmware Upgrade Information

7.2. Common Issues and Solutions

  • Programmer not recognized by PC: Ensure the USB cable is securely connected. Verify that Atmel Studio and the necessary drivers are correctly installed. Try a different USB port.
  • Cannot connect to target board:
    • Target Power: Confirm that the target board is independently powered. The programmer does not supply power to the target.
    • Wiring: Double-check all connections between the programmer and the target board, ensuring correct pinouts (MOSI, MISO, SCK, RESET, GND).
    • Interference: Disconnect or remove any circuitry in series or across the ISP bus that might interfere with programming signals.
    • Target Voltage: Ensure the target voltage is within the supported range of 1.8V to 5.5V.
  • Programming errors: This could be due to incorrect fuse settings, an incompatible device selected in Atmel Studio, or issues with the target board's clock source. Verify all settings and connections.
  • Firmware issues: If the programmer behaves erratically, consider performing a manual firmware upgrade as described in Section 4.3.

8. Specifications

FeatureDetail
Product Dimensions7.3 x 5.5 x 1.7 inches
Item Weight7 ounces
Model Number6455556
Connectivity TechnologyUSB
Number of Ports2 (USB, ISP/PDI)
Compatible DevicesPersonal Computer, Laptop, Microcontrollers (AVR, XMEGA, certain 51)
Target Voltage Range1.8V to 5.5V
ISP Programming Speed50Hz to 8MHz SCK frequency (adjustable)
USB ComplianceUSB 2.0 (full speed, 12Mbps)
Documents and downloads

Ask a question about this manual

Ask about setup, troubleshooting, compatibility, parts, safety, or missing instructions. Manuals+ will review the question and use this page’s manual context to help answer it.

After a successful submission, we securely hash the supplied account or form email before sending it to Microsoft Advertising for conversion attribution. Privacy details.