Atmel AVRISP MKII programmer in Ubuntu 12.04

Atmel AVRISP MKII programmer in Ubuntu 12.04

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

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.

Notify me of followup comments via e-mail. You can also subscribe without commenting.


Coming soon ...

Recent Comments
  • Christian Stöveken: A less dirty solution to count pole pairs is to connect a small battery (e.g. AAA) or a bench...
  • Lego: Consider using the analog pins as these “have symmetrical drive characteristics with both high sink and...
  • Kim: Nava, You could PWM the high pins at ~10KHz 40% duty cycle to reduce your current. 5V @ 40 Ohms will consume...
  • Martin A: I am not a programmer but I was wondering if this example be run off one button instead of two? And if it...
  • Nava Whiteford: I’ve found you can actually drive these steppers directly from an Arduino without a driver,...
  • CHAARI: need an eagle file for the control of a stepper motor with easy drive or a microstepping driver
  • admin: Awesome! Thank you very much for sharing, Dani!
  • Dani: Here is my version, not perfect but I learned a lot.
  • Dani: Thanks for your reply! :)
  • Andreas Carmblad: Thanks for answer :) I use easydriver yes. The problem is solved though. I thought I was supposed...