(1) avrdude -P usb -p m1281 -c jtag2 -U fl:w:install/bin/sniffer_stk541.hex (2) avrdude -P usb:4711 -p m1281 -c jtag2 -U fl:w:install/bin/sniffer_stk541.hex (3) avrdude -P usb:1234 -p m1281 -c avrisp2 -U fl:w:install/bin/sniffer_stk541.hex
avarice -I -P atmega1281 -2 -j usb --detach :4242 ddd --debugger avr-gdb install/bin/sniffer_stk541.elf &
When ddd/avr-gdb has opened, type "target remote:4242<ENTER>"
in order to connect avarice and avr-gdb.
ISPDUDE="-c jtag2isp -P usb -p t44" DWDUDE="-c jtag2dw -P usb -p t44" avrdude $ISPDUDE -F -U hfuse:w:????:m avrdude $DWDUDE -F
http://www.homebuilthardware.com/index.php/avr/linux-avrdragon-tutorial-1/