Avr-dev

From Attie's Wiki
(Difference between revisions)
Jump to: navigation, search
m (Install the tools)
m
Line 1: Line 1:
 +
[[avr-gcc]]
 +
[[avrdude]]
 +
[[bus pirate]]
 +
[[atmega328p]]
 +
 
==Install the tools==
 
==Install the tools==
 
On Ubuntu 12.04:
 
On Ubuntu 12.04:

Revision as of 17:54, 29 November 2012

avr-gcc avrdude bus pirate atmega328p

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