Help: avrdude: initialization failed, rc=-1

USB AVR Programmer and SPI interface. Adafruit's USBtinyISP.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
cdegroot
 
Posts: 2
Joined: Thu Mar 13, 2008 11:34 pm

Help: avrdude: initialization failed, rc=-1

Post by cdegroot »

Hi,

I just built the USBtinyISP v2.0 programmer. But It keeps giving me the following:

Code: Select all

C:\avr>avrdude -c usbtiny -p attiny2313 -U flash:w:default.hex

avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.


avrdude done.  Thank you.
Here is what I did:
1. downloaded/installed the WinAVR as per the manual.
2. installed the ISP with the USB driver 1.12 (driver manager on windows says it is 1.12.1)
3. replaced the avrdude (3 files) from WinAVR with the avrdude 5.3.1 files.
4. rebooted a couple times (yes I'm used to windows...)

I'm pretty sure I built the kit correctly. I have a fair amount of electronics experience. I'm using a target OLIMEX board for the attiny2312. It has +5v on it which is coming from the USB programmer (JP3 is connected), so I think the cables are correct.

I have spent a couple hours poking around the forum and nothing I see seems to help me get beyond this.

Your help is greatly appreciated?

C.

cdegroot
 
Posts: 2
Joined: Thu Mar 13, 2008 11:34 pm

Resolved: Murphy's law strikes again.

Post by cdegroot »

Reading the OLIMEX manual again I managed to resolve the issue.

The LED on the OLIMEX board has a jumper that removes it from the circuit. For programming the manual says it should be removed (no jumper). The LED seems to be connected to the (SCK) which is required for the ICSP interface. Makes sense in the end.

I'm up and cooking now. RTFM....

Locked
Please be positive and constructive with your questions and comments.

Return to “USBtinyISP”