-
Notifications
You must be signed in to change notification settings - Fork 1
Linux AVR32 Setup (Ubuntu 12.10 64 bit)
You need to download atmel AVR32 Studio 2.6 http://www.atmel.com/tools/avr32studio2_6.aspx
unzip avr32studio (move it where you want it) add PATH to binary utilities, for me this is in: as4e-ide/plugins/com.atmel.avr.utilities.linux.x86_64_3.0.0.201009140848/os/linux/x86_64/bin/ this folder should contain avr32program, avr32trace, avrfwupgrade, libusb-config
-
Run:
sudo apt-get install openjdk-6-jre
sudo apt-get install build-essential libxerces-c28
-
try
avr32program -h
If avr32program is installed, you should see a list of commands
add permissions for accessing atmel usb devices a discussion of this is provided in flip.3.2.1/docs/ - but use SUBSYSTEM=="usb" not "usb_device" in /etc/udev/rules.d/ add a file named 99-avrtools.rules which contains
# ICE50:
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb", ATTRS{idVendor}=="03eb",
ATTRS{idProduct}=="2101", MODE:="0660", GROUP="plugdev"
# JTAGICE mkII:
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb", ATTRS{idVendor}=="03eb",
ATTRS{idProduct}=="2103", MODE:="0660", GROUP="plugdev"
# AVRISP mkII:
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb", ATTRS{idVendor}=="03eb",
ATTRS{idProduct}=="2104", MODE:="0660", GROUP="plugdev"
# AVRONE:
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb", ATTRS{idVendor}=="03eb",
ATTRS{idProduct}=="2105", MODE:="0660", GROUP="plugdev"
# STK600:
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb", ATTRS{idVendor}=="03eb",
ATTRS{idProduct}=="2106", MODE:="0660", GROUP="plugdev"
# AVR Dragon:
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb", ATTRS{idVendor}=="03eb",
ATTRS{idProduct}=="2107", MODE:="0660", GROUP="plugdev"
# RzUsbStick:
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb", ATTRS{idVendor}=="03eb",
ATTRS{idProduct}=="210a", MODE:="0660", GROUP="plugdev"
# QT600:
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb", ATTRS{idVendor}=="03eb",
ATTRS{idProduct}=="2114", MODE:="0660", GROUP="plugdev"
# QT600P:
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb", ATTRS{idVendor}=="03eb",
ATTRS{idProduct}=="2116", MODE:="0660", GROUP="plugdev"
# Add support AT32UC3A0128 AT32UC3A0256 AT32UC3A0512
# AT32UC3A1128 AT32UC3A1256 AT32UC3A1512
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb", ATTRS{idVendor}=="03eb",
ATTRS{idProduct}=="2ff8", MODE:="0660", GROUP="plugdev"
# Add support AT32UC3B0128 AT32UC3B0256 AT32UC3B064
# AT32UC3B1128 AT32UC3B"""1256 AT32UC3B164
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb", ATTRS{idVendor}=="03eb",
ATTRS{idProduct}=="2ff6", MODE:="0660", GROUP="plugdev"
make sure you are a member of the group "plugdev"
sudo apt-get install dfu-programmer
as for batchisp3.. still don't have that working on 64bit Ubuntu 12.10
download FLIP 3.2.1 for Linux x86
sudo apt-get install libc6-i386 lib32gcc1 lib32z1 lib32stdc++6
change libatlibusbdfu.so location of usb devices
http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=97673
cp libatlibusbdfu.so libatlibusbdfu.so.orig
sed 's/\/sys\/bus\/usb/\/dev\/bus\/usb/g' libatlibusbdfu.so.orig > libatlibusbdfu.so