First off, the error I am getting:
Code: Select all
sudo avrdude -c usbtiny -p attiny2313 -e -U flash:w:ringclock.hex -P /dev/USBTiny
USB read error: expected 4, got -71
USB read error: expected 4, got -71
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude done. Thank you.
Code: Select all
avrdude: Version 5.5, compiled on Mar 16 2008 at 13:02:41
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Code: Select all
avrdude: error: usbtiny_transmit: error sending control message: Protocol error
Code: Select all
avrdude: error: usbtiny_receive: error sending control message: Protocol error (expected 8, got -71)
This USBTiny unit functions perfectly fine using my other two development computers, so I am certain it is not a problem with the programmer.
Furthermore, the device ID is properly returned in lsusb, and detailed output up until the point the programmer is accessed is identical.
LibUSB is identical on both of my 64 bit boxes, and other USB devices using LibUSB function properly.
One other thing to note is the red status LED on the USBTiny unit. When I attempt to program, the LED turns on, and after the error shown at the top of this post is kicked out and I am returned to the terminal prompt the LED remains lit.
So, at this point I'm rather confused as to where to go. The -71 should be corresponding to an error code, but I have yet to be able to find where these error codes are listed. At this point I'm quite open to suggestions, and am quite curious as to weather anyone else has had the same problem and if anyone else has fixed it.