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
  • Dokta: Thank you for your response and forgive the late reply. Unfortunately I have been away on ‘family...
  • ed: Agreed,pulseIn and shiftOut work as well on the Attiny13, but seem to take 52 resp 45% of program memory. Not...
  • ed: Install the core for Arduino IDE 1.6.0 and 1.7.0: https://arduinodiy.wordpress.c om/2015/04/26/installing-at...
  • ed: I only have the 13A and that goes very well
  • Jean: I got it solved already. Apparently there needs to be a analogReference(0); statement in the setup. then it...
  • Jean: I actually have the same problem, a small code reading the ADC on physical pin 2 and 3 (thus ADC 3 and 2) It...
  • Gaz Cripps: Hi, Great article. I wish I had found this a long time ago. I’ve collected all the parts that I...
  • Ignas: Thanks for sharing information! I made my version of this project targeted for very slow speeds(gimbal motors)...
  • smeezekitty: Well, yes. Floating point math means it has to link in the FPE which is very large. I suggest avoiding...
  • Edwin (different one): Very good article. I kindalost over the time what cores I am using so now I am in the...