Hi Folks... I recently purchased several of these programmers:
https://www.sparkfun.com/products/9825
The objective was to attach to a Arduino UNO and burn the required fuses for bootloader.
I have tried this on both Windows and Mac, migrating to the latter as no drivers are required thinking it could be part of the problem. In a nutshell... The problem experienced on both platforms was:
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
seems that the -P usb port is not seen.
Currently I prefer UNIX, so continue to troubleshoot the issue on MacOS (I have Lion OS). I downloaded and installed CrossPack.
The problem is cannot really see the programmer. I have swapped USB cables, Arduino Unos, and the programmer boards... to no avail. At the very least I should see the programmer. However as the below illustrates that is not the case. Any ideas why? My suspicion is just maybe I received a bad bunch of boards from Adafruit?
telmatrix-iMac:~ telmatrix$ avrdude -F -c usbtiny -p atmega328p -P usb -b115200 -e -u -U lock:w:0x3f:m -U efuse:w:0x05:m -U hfuse:w:0xD0:m -U lfuse:w:0xFF:m
avrdude: initialization failed, rc=-1
avrdude: AVR device initialized and ready to accept instructions
avrdude: Device signature = 0x000000 (retrying)
avrdude: Device signature = 0x000000 (retrying)
avrdude: Device signature = 0x000000
avrdude: Yikes! Invalid device signature.
avrdude: Expected signature for ATmega328P is 1E 95 0F
avrdude done. Thank you.
Note... Closer examination of the programmer board IC showed the ATtiny2313, so I attempted this device name in the cmd string, but this did not change the problem.
telmatrix-iMac:~ telmatrix$ avrdude -c usbtiny -F -p t2313 -P usb -b115200 -e -u -U lock:w:0x3f:m -U efuse:w:0x05:m -U hfuse:w:0xD0:m -U lfuse:w:0xFF:m
avrdude: initialization failed, rc=-1
avrdude: AVR device initialized and ready to accept instructions
avrdude: Device signature = 0x000000 (retrying)
avrdude: Device signature = 0x000000 (retrying)
avrdude: Device signature = 0x000000
avrdude: Yikes! Invalid device signature.
avrdude: Expected signature for ATtiny2313 is 1E 91 0A
avrdude done. Thank you.
ATtiny Programmer Problem
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: ATtiny Programmer Problem
This forum is for Adafruit's USBtinyISP. Have you tried contacting SparkFun for support?
-
- Posts: 18
- Joined: Tue Nov 12, 2013 5:47 am
Re: ATtiny Programmer Problem
Oops... Sorry. I resolved this.
Please be positive and constructive with your questions and comments.