Avr-dev

From Attie's Wiki
(Difference between revisions)
Jump to: navigation, search
m
m (Install the tools)
Line 2: Line 2:
 
On Ubuntu 12.04:
 
On Ubuntu 12.04:
 
<source lang="bash">
 
<source lang="bash">
sudo apt-get install gcc-avr avr-libc avrdude
+
apt-get install gcc-avr avr-libc avrdude
 
</source>
 
</source>
  

Revision as of 17:50, 29 November 2012

Install the tools

On Ubuntu 12.04:

apt-get install gcc-avr avr-libc avrdude

Setup the AVR JTACICE mkII

cat <<EOF >/etc/udev/avrisp.rules
SUBSYSTEM!="usb_device", ACTION!="add", GOTO="avrisp_end"
 
# 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"
 
LABEL="avrisp_end"
EOF
chmod 511 /etc/udev/avrisp.rules
ln -s ../avrisp.rules /etc/udev/rules.d/60-avrisp.rules
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox