Hello all, I have a question about programming an Atmega328 chip on a breadboard using an Arduino Uno. So I'm using this little tutorial here: http://arduino.cc/en/Tutorial/ArduinoToBreadboard
Now I know that the tutorial specifically mentions this is for the Duemilanove and not the Uno, but just here me out!
A little while ago, maybe less than a month ago, I tried using this tutorial to create a breadboarded atmega328 (taken out of my Uno) to be programmed using my Arduino Uno. Now the weird thing is that even though it says the Uno doesn't work for this method, I was able to get it to work. I was able to compile and upload code using the Uno that I had hooked up to it (as directed in the tutorial) and it ran properly. Unfortunately I inevitably disassembled this circuit so I could continue using my Uno normally.
Now flashforward to a couple of nights ago:
I once again attempted to use the same setup to make a functioning breadboarded atmega328. Unfortunately, this time I had no luck. If I hooked up my Uno the same way and it just gave me an error in the IDE saying something about a sync error. Now here's probably where the problem really lies: If I hook up a preprogrammed Atmega328 (In this case one just running the standard pin 13 LED blink program) and set it up using an external crystal, regulated 5v power supply, and an led on pin 13, it won't even run. Nothing. However, If I take that same chip and put it back into my Uno, it will blink the built in led on pin 13 just fine. So this leads me to believe it really isn't the Uno's fault, nor is it the chip's fault... but then what is the problem!?
Another thing I'd like to mention is that over these past few nights I have disassembled and reassembled the circuit several times to see if I had perhaps missed something when I had wired it the night before, but I still have had no luck.
So does anybody have thoughts as to what the problem could be? If anybody has any clue what could be the problem here, it would be great if you could give some advice, thanks in advance!
Oh, one last thing: would pictures of my project be of assistance to anybody in helping with my problem? I'd be happy to take them if they would be help.