Skip to main content
added 97 characters in body
Source Link
user1584421
  • 1.4k
  • 3
  • 26
  • 36

I got a Pocket AVR Programmer.

https://learn.sparkfun.com/tutorials/pocket-avr-programmer-hookup-guide

I hooked it up on Ubuntu Linux, opened up a sketch in the Arduino IDE, selected Programmer: USBTinyISP and then Upload Using Programmer.

However, I am getting this error:

enter image description here

An error occured while uploading the sketch
avrdude: Warning: cannot open USB device: Permission denied
avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)

I even followed this blog post: https://www.krekr.nl/content/using-usbtinyisp-with-ubuntu/ and issued these commands:

In a terminal, type:

sudo nano /etc/udev/rules.d/99-USBtiny

Then paste

SUBSYSTEM=="usb", ATTR{idVendor}=="1781", ATTR{idProduct}=="0c9f", GROUP="adm", MODE="0666"

into the new file. Write it out by pressing Ctrl-O.

sudo usermod -a -G plugdev YOURUSERNAME
sudo service udev restart
sudo udevadm control --reload-rules

However, the problem still remains.

I got a Pocket AVR Programmer.

https://learn.sparkfun.com/tutorials/pocket-avr-programmer-hookup-guide

I hooked it up on Ubuntu Linux, opened up a sketch in the Arduino IDE, selected Programmer: USBTinyISP and then Upload Using Programmer.

However, I am getting this error:

enter image description here

I even followed this blog post: https://www.krekr.nl/content/using-usbtinyisp-with-ubuntu/ and issued these commands:

In a terminal, type:

sudo nano /etc/udev/rules.d/99-USBtiny

Then paste

SUBSYSTEM=="usb", ATTR{idVendor}=="1781", ATTR{idProduct}=="0c9f", GROUP="adm", MODE="0666"

into the new file. Write it out by pressing Ctrl-O.

sudo usermod -a -G plugdev YOURUSERNAME
sudo service udev restart
sudo udevadm control --reload-rules

However, the problem still remains.

I got a Pocket AVR Programmer.

https://learn.sparkfun.com/tutorials/pocket-avr-programmer-hookup-guide

I hooked it up on Ubuntu Linux, opened up a sketch in the Arduino IDE, selected Programmer: USBTinyISP and then Upload Using Programmer.

However, I am getting this error:

An error occured while uploading the sketch
avrdude: Warning: cannot open USB device: Permission denied
avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)

I even followed this blog post: https://www.krekr.nl/content/using-usbtinyisp-with-ubuntu/ and issued these commands:

In a terminal, type:

sudo nano /etc/udev/rules.d/99-USBtiny

Then paste

SUBSYSTEM=="usb", ATTR{idVendor}=="1781", ATTR{idProduct}=="0c9f", GROUP="adm", MODE="0666"

into the new file. Write it out by pressing Ctrl-O.

sudo usermod -a -G plugdev YOURUSERNAME
sudo service udev restart
sudo udevadm control --reload-rules

However, the problem still remains.

Source Link
user1584421
  • 1.4k
  • 3
  • 26
  • 36

Ubuntu - TinyISP is not recognized

I got a Pocket AVR Programmer.

https://learn.sparkfun.com/tutorials/pocket-avr-programmer-hookup-guide

I hooked it up on Ubuntu Linux, opened up a sketch in the Arduino IDE, selected Programmer: USBTinyISP and then Upload Using Programmer.

However, I am getting this error:

enter image description here

I even followed this blog post: https://www.krekr.nl/content/using-usbtinyisp-with-ubuntu/ and issued these commands:

In a terminal, type:

sudo nano /etc/udev/rules.d/99-USBtiny

Then paste

SUBSYSTEM=="usb", ATTR{idVendor}=="1781", ATTR{idProduct}=="0c9f", GROUP="adm", MODE="0666"

into the new file. Write it out by pressing Ctrl-O.

sudo usermod -a -G plugdev YOURUSERNAME
sudo service udev restart
sudo udevadm control --reload-rules

However, the problem still remains.