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
  • Mark Needham: Hey mirceboy, I am using a toggle switch, SPDT center off. I will manually start/stop, or a micro...
  • Jeff R: Can you please give me some details about how to reformat the code from milliseconds to microseconds so I can...
  • admin: You would have to reformat the code to start using microseconds instead of milliseconds for the time...
  • Jeff R: Thanks for posting, this was exactly what I was looking for. I’m using the Sparkfun SM-42BYG011-25...
  • mirceboy: Hello, this is perfect and im new with arduino, can you please tell me if its possible to change the code...
  • admin: That sounds great! Sorry I did not have a chance to follow your previous comment. But in general terms this is...
  • Mark: Hi Sir. Just dropped by to report that I have made the unipolar stepper motor rotated clockwise and...
  • Mark: All right sir I got it. Like any other post in some websites, I have found out that pins 5&6 (which are...
  • admin: If we are talking about unipolar (not bipolar, as in the title of this post), then yes, you may have the 5-pin...
  • Mark: Hi Sir it’s me again Mark. Just wanted to ask another one thing sir. Just wanted to ask if there are such...
Meta