Voting resources, early voting, and poll worker information - VOTE. ... Adafruit is open and shipping.
0

avrdude: initialization failed, rc=-1
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Re: avrdude: initialization failed, rc=-1

by adafruit on Thu Feb 04, 2010 11:53 pm

plz plz take a nice photo of top & bottom :)

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm
Location: nyc

Re: avrdude: initialization failed, rc=-1

by mschiff on Sat Feb 06, 2010 4:16 am

Pictures, as requested, of the top and bottom of my board.

3.jpg
3.jpg (444.31 KiB) Viewed 2458 times

1.jpg
1.jpg (754.06 KiB) Viewed 2458 times


-Michael-
mschiff
 
Posts: 26
Joined: Tue Feb 02, 2010 3:35 pm

Re: avrdude: initialization failed, rc=-1

by jgotthardt on Sat Feb 06, 2010 7:49 am

Looks like you forgot to solder the ZIF socket.

mschiff wrote:how do I connect that jumper you were talking about?

http://www.ladyada.net/make/usbtinyisp/use.html

mschiff wrote:do you by chance know the capacitance of the cap. between Vcc (pin7) and GND (pin8).

0.1 uF
John

jgotthardt
 
Posts: 33
Joined: Mon Dec 03, 2007 11:58 am
Location: Massachusetts

Re: avrdude: initialization failed, rc=-1

by adafruit on Sat Feb 06, 2010 11:51 am

thats strange, we cant see the photos, can you edit your post so the photos show up?

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm
Location: nyc

Re: avrdude: initialization failed, rc=-1

by mschiff on Sat Feb 06, 2010 6:22 pm

lets see..

I got the power jumper figured out.

I'll solder the ZIF socket and give it a try.

Is the 0.1 uF capacitor vital?? because this tutorial on EMS shows a programming target board without it.
http://www.evilmadscientist.com/article ... rgetboards


@adafruit - I don't know why you wouldnt be able to see the pictures in my last post as someone else posted replies that made it sound like they saw the pictures.

Ill try a repost of them
-Michael-
Attachments
3.jpg
3.jpg (444.31 KiB) Viewed 2439 times
1.jpg
1.jpg (754.06 KiB) Viewed 2439 times
mschiff
 
Posts: 26
Joined: Tue Feb 02, 2010 3:35 pm

Re: avrdude: initialization failed, rc=-1

by adafruit on Sat Feb 06, 2010 6:49 pm

*shrug* the browser says it has errors and wont display the images

out of curiosity, though, why did you think it would work without soldering in the ZIF socket? do you often place parts and dont solder them in? seeing this more often, just trying to figure out what people are thinking.

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm
Location: nyc

Re: avrdude: initialization failed, rc=-1

by mschiff on Sat Feb 06, 2010 8:00 pm

hahaha looking at it know It seems like a pretty newbie mistake so I bet the people making that mistake are as new to the game as I am.

In terms of why we think that.... I guess its because the ZIF socket sits so firmly in the board, and they emphasize the ability to switch chips in and out. But thinking about it now, it doesn't make too much sense.

I don't know why we make that mistake but I feel like it won't be the last time you see it.

Anyway....

Do you think it will work without the capacitor?

-Michael-
mschiff
 
Posts: 26
Joined: Tue Feb 02, 2010 3:35 pm

Re: avrdude: initialization failed, rc=-1

by mschiff on Sat Feb 06, 2010 9:58 pm

so I soldered the ZIF socket in place and everything worked the way it was supposed to (including my target code!!!)

Thanks everybody, I'm a firm believer in the forums now!
-Michael-
mschiff
 
Posts: 26
Joined: Tue Feb 02, 2010 3:35 pm

Re: avrdude: initialization failed, rc=-1

by jgotthardt on Sun Feb 07, 2010 8:40 am

Hi Michael,

I am able to view the photos in both posts with Firefox v3.5.7.

The 0.1 uF capacitor is what is called a "decoupling" or "bypass" capacitor. Digital integrated circuits generate high frequency current pulses which can propagate as noise on the PCB power traces. The capacitor "decouples" the noise from the Vcc bus by "bypassing" it to ground. It should be placed as close as possible to the IC's Vcc pin. It is not absolutely essential when programming a single IC in a test fixture.

Hope this helps.
John

jgotthardt
 
Posts: 33
Joined: Mon Dec 03, 2007 11:58 am
Location: Massachusetts

Re: avrdude: initialization failed, rc=-1

by FazJaxton on Mon Feb 08, 2010 4:14 pm

jgotthardt,

Huh, interesting. I thought I remembered from school that the caps on the Vcc pins of micros were to provide more instantaneous power to the chip as current demand fluctuates. Is this not the case or is it a combination of the two? Just curious.
FazJaxton
 
Posts: 59
Joined: Mon Sep 28, 2009 2:18 pm
Location: Kansas, USA

Re: avrdude: initialization failed, rc=-1

by jgotthardt on Mon Feb 08, 2010 7:15 pm

Different way of looking at the same thing.
John

jgotthardt
 
Posts: 33
Joined: Mon Dec 03, 2007 11:58 am
Location: Massachusetts

Please be positive and constructive with your questions and comments.