Difference between revisions of "AVR Pocket Programmer"

From Modding Fridays
Jump to: navigation, search
(Setup =)
Line 1: Line 1:
 
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.
 
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 ===
+
== Setup ==
  
 
To make sure <code>avrdude</code> 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 <code>operator</code>):
 
To make sure <code>avrdude</code> 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 <code>operator</code>):

Revision as of 13:49, 1 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="adm", 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!