Ubuntu AVR packages and udev entries

In order to setup basic avr development environment we need to install following packages:

sudo aptitude install gcc-avr gdb-avr binutils-avr avr-libc avrdude

Create the /etc/udev/rules.d/52-avrisp.rules file and add device IDs into the file.

sudo vi /etc/udev/rules.d/52-avrisp.rules
# Atmel Corp. JTAG ICE mkII
SUBSYSTEM=="usb", ATTR{idVendor}=="03eb", ATTR{idProduct}=="2103", MODE="0666"
# Atmel Corp. AVRISP mkII
SUBSYSTEM=="usb", ATTR{idVendor}=="03eb", ATTR{idProduct}=="2104", MODE="0666"
# Atmel Corp. Dragon
SUBSYSTEM=="usb", ATTR{idVendor}=="03eb", ATTR{idProduct}=="2107", MODE="0666"

Set permissions for the newly created file.

sudo chmod a+rx /etc/udev/rules.d/52-avrisp.rules

On the end just restart the udev service.

Comments on this page are closed.