Hi!
(I am using a genuine USBtinyISP board that I bought on adafruit.com)
I just finished soldering my USBTinyISP board and I tried to simply connect to the ATtiny85 processor with avrdude & the ISP. However, I'm always getting the following error(s): https://ghostbin.com/paste/t4dfu
(I did try to run the command with sudo, but that did not work either.).
Here is a (blurry) picture of my (poor) soldering skills: http://d.pr/i/bbAw However, it seems all fine to me. No pins are touching each other.
My board has the jumpers installed where R4 and R7 should go.
When I run the command, the red LED flashes for a split second, but immediately turns back off.
I have wired the 85 chip (I tried two different ATtiny85 chips, but that did not change a thing) to the USB according to this wiring diagram: http://d.pr/i/Vjo9
Thanks!
avrdude: initialization failed, rc=-1
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: avrdude: initialization failed, rc=-1
Not much I can tell you. I think your USBTiny is OK. The problem is that it's not talking to the ATtiny85. There's something wrong with your connections.
Make sure you're getting 5V between pins 4 and 8 of the ATtiny85. Make sure that RESET is pulled low while it's trying to program the chip. Make sure you've got the right orientation of pins on your ribbon cable - check continuity between the pin header on the USBTiny and the pins on the ATTiny.
Make sure you're getting 5V between pins 4 and 8 of the ATtiny85. Make sure that RESET is pulled low while it's trying to program the chip. Make sure you've got the right orientation of pins on your ribbon cable - check continuity between the pin header on the USBTiny and the pins on the ATTiny.
- cykey
- Posts: 12
- Joined: Sun Nov 17, 2013 11:41 am
Re: avrdude: initialization failed, rc=-1
Well, I fixed it. Turns out the pins weren't fully inserted in the ribbon cable's connector. *facedesks*
Thanks
Thanks
Please be positive and constructive with your questions and comments.