Using Atmel AVRISP MKII programmer in Ubuntu

Using Atmel AVRISP MKII programmer in Ubuntu

This is a quick follow up on an eariler post describing installation of Atmel AVRISP MKII programmer on a Ubuntu Linux computer. The original post was based on Ubuntu 10.10 and several small changes have sneaked up on us during the upgrade to Ubuntu 12.04
Here are the changes:

One required package is missing: uisp Install is by executing this command:

sudo apt-get install uisp


udev rules file for the programmer needs to be changed:

$ cd /etc/udev/rules.d
$ sudo pico 60-avrisp.rules

The file should now contain:

# Atmel Corp. JTAG ICE mkII
ATTR{idVendor}=="03eb", ATTR{idProduct}=="2103", MODE="660", GROUP="dialout"
# Atmel Corp. AVRISP mkII
ATTR{idVendor}=="03eb", ATTR{idProduct}=="2104", MODE="660", GROUP="dialout"
# Atmel Corp. Dragon
ATTR{idVendor}=="03eb", ATTR{idProduct}=="2107", MODE="660", GROUP="dialout"

Once the file has been changed, unplug AVRISP if it was plugged in and restart udev

sudo service udev restart

Plug AVRISP back in and proceed to upload compiled sketches as usual. This has been tested on the newest Arduino IDE version to date - Arduino 1.0.1

One Response to “Using Atmel AVRISP MKII programmer in Ubuntu”

  • vlad:

    Thank You! I Spend half day for give privilege to ordinary user for run avrdude. This fix a problem – GROUP=”dialout”

Leave a Reply

Or use the Forums ! If your comment is a question, please consider posting it to a matching section of our Electronics Forums. The forums allow for a more natural conversation flow, especially if multiple replies are required. Additionally, you'll be able to style your writing (bold font, italics etc.) and post images which can help with a good answer.