Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Thread

Avrdude

Avrdude

2009-11-16 by Russell Shaw

Hi,
I just got a usb AVRISP. What permission should i fix? :

avrdude -p m8535 -c avrispmkII -P usb -U flash:w:proj.hex

   avrdude: usb_open(): cannot read serial number "error sending control message:
     Operation not permitted"
   avrdude: usb_open(): cannot read product name "error sending control message:
     Operation not permitted"
   avrdude: usbdev_open(): error setting configuration 1: could not set config 1:
     Operation not permitted
   avrdude: usbdev_open(): did not find any USB device "usb"


I wrote a udev rule so i have the avrdude device at:

ls -l /dev/avrdude

   crw-rw-r-- 1 root avrdude 189, 910 2009-11-16 15:19 /dev/avrdude


I'm in the avrdude group. I also tried:

avrdude -p m8535 -c avrispmkII -P avrdude -v -U flash:w:proj.hex


avrdude: Version 5.8, compiled on Sep 23 2009 at 13:21:07
          Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
          Copyright (c) 2007-2009 Joerg Wunsch

          System wide configuration file is "/etc/avrdude.conf"
          User configuration file is "/home/russell/.avrduderc"
          User configuration file does not exist or is not a regular file, skipping

          Using Port                    : avrdude
          Using Programmer              : avrispmkII
avrdude: ser_open(): can't open device "avrdude": No such file or directory

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.