An AVR programmer based on LittleWire
Recently I’ve built a small clone of LittleWire Attiny85 based AVR programmer.
A few notes to make it work with my toolchain follows:
Avoid permission errors on Ubuntu 12.10
Due to permissions on USB you can get the following error:
usbtiny_transmit: error sending control message: Operation not permitted
to fix it:
$ cat /etc/udev/rules.d/10-usbtinyisp.rules
# USBTiny
ATTR{idVendor}=="1781", ATTR{idProduct}=="0c9f", GROUP="plugdev", MODE="0666"
$ sudo restart udev
unplug and plug the programmer to see the changes.
Burn a bootloader on a factory new Atmega 328P-PU
avrdude -b 19200 -c usbtiny -p m328p -v -e -U efuse:w:0x05:m -U hfuse:w:0xD6:m -U lfuse:w:0xFF:m
avrdude -b 19200 -c usbtiny -p m328p -v -e -U flash:w:optiboot_atmega328.hex -U lock:w:0x0F:m
Jay
Some people may get confused with this —
$ sudo restart udev
I think you meant —
$ sudo restart udev
🙂
Jay
Oups… it didn’t come out as expected.
What I see above is:
<em id=”__mceDel”>$ sudo restart udev</em>
Jay
Argh… sorry. I don’t know how to reproduce how I see. Not sure which HTML tags are permitted, and how to ‘escape’ them, but I think you got the hint !!
Alessandro Pasotti
Thanks, corrected!