Difference between revisions of "AVR Pocket Programmer"

From Modding Fridays
Jump to: navigation, search
(Setup)
 
Line 6: Line 6:
  
 
* Edit <code>/etc/udev/rules.d/10-avrpocket.rules</code>
 
* Edit <code>/etc/udev/rules.d/10-avrpocket.rules</code>
  SUBSYSTEM=="usb", SYSFS{idVendor}=="1781", SYSFS{idProduct}=="0c9f", GROUP="adm", MODE="0666"
+
  SUBSYSTEM=="usb", SYSFS{idVendor}=="1781", SYSFS{idProduct}=="0c9f", GROUP="operator", MODE="0666"
 
* Restart udev:
 
* Restart udev:
 
  sudo service udev restart
 
  sudo service udev restart

Latest revision as of 22:34, 6 March 2019

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!