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
1

udev rules file for the programmer needs to be changed:
1
$ 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.

Tools

Coming soon ...

Recent Comments
  • Dokta: I placed the ‘boards.txt’ and the unzipped core (smeezekitty’s) into...
  • JBG: I made a (small) mistake in my previous reply, you could delete lines 107 to 109, not 105 to 111. The rest...
  • JBG: Really good work. I was working on solving this problem this afternoon but as humans mostly are, trying a far...
  • admin: Well, sure: http://elabz.com/brushless-dc- bldc-motor-with-arduino-part-3 -the-stroboscope-project/ you will...
  • gauri: will you please provide code to drive BLDC motor in arduino ?
  • Christian Stöveken: A less dirty solution to count pole pairs is to connect a small battery (e.g. AAA) or a bench...
  • Eric: Hi there. Great tutorial and overview. If I’m not mistaken however, your LEVELS truth table is organized...
  • 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...
Meta