AVR Pocket Programmer

From Modding Fridays
Jump to: navigation, search

The AVR Pocket Programmer is a low-cost, simple to use USB AVR programmer based on Dick Streefland’s USBtiny and Limor Fried’s USBtinyISP. It works great with AVRDUDE, a software for programming Atmel AVR Microcontrollers.

Setup

To make sure avrdude will work with your user you need to make sure that you belong to a group that is given the right to manipulate the device. On Debian-based OS this is not the case by default so you need to add a udev, adjust the following to match a group your user belong to (here we use operator):

  • Edit /etc/udev/rules.d/10-avrpocket.rules
SUBSYSTEM=="usb", SYSFS{idVendor}=="1781", SYSFS{idProduct}=="0c9f", GROUP="operator", MODE="0666"
  • Restart udev:
sudo service udev restart

ATtiny13A

  • prepare a breadboard or make an adapter so that:

T13+pocketprg.png

  • Test if the chip is found with:
avrdude -c usbtiny -p t13
  • You're ready to flash!