SparkFun Forums 

Where electronics enthusiasts find answers.

Discussions on the software and hardware for Atmel's STK standard.
By itslenny
#116216
Hi I'm trying to follow this guide: http://hackaday.com/2010/10/25/avr-prog ... -hardware/ to get started with AVR and I'm having some problems...

I’m using an AVR Dragon on OSX.. I checked the connections and pins 10 times… I’m getting the following error:

avrdude: Device signature = 0×000000
avrdude: Yikes! Invalid device signature.
Double check connections and try again, or use -F to override this check.

NOTE: I’m using a 328 instead of a 168.. but I checked the datasheet and the pinout is the same… Any advise?

Here is a screenshot of my terminal output and my wiring

Terminal Screenshot:

http://itslennysfault.com/stuff/AVRIssue.png
(also note I brought up the command I used at the bottom of the screenshot)

wiring photo:

http://itslennysfault.com/stuff/AVRIssueWires.jpg

Also, to further test the wiring I tried disconnecting the VCC wire from the ribbon cable and I got this error.. which seems to say it’s hooked up correctly (in my mind)?

http://itslennysfault.com/stuff/AVRIssue2.png

Please note I'm a TOTAL beginner at this whole AVR thing (hence why i'm trying to make an LED blink) ... My best guess so far is that it has something to do with the "fuse bits"? However, I have no idea how to check this or fix it...

I purchased this chip new from sparkfun.. I have 2 (I tried both with the same outcome)... I do remember an option to have them install the aurduino bootloader (which i said no to) is there a chance they sent me one with the bootloader? would that cause this problem?

is there any way to do like a factory reset on the chip?


any help is MUCH appreciated. I usually NEVER ask questions as most things can be figured out with google, but since I'm TOTALLY new to this I don't even know where to start.

thanks in advance

-Lenny