Avr-dev
From Attie's Wiki
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
ISP Header
NOTE: the following colors are for use with a bus pirate
miso | 1 | 2 | vcc (3.3v) | |
sck | 3 | 4 | mosi | |
reset | 5 | 6 | gnd |
pin 2 can use 5v instead of 3.3v if your circuit is okay with that