I put together an Arduino on a breadboard using a tutorial I found at http://itp.nyu.edu/physcomp/Tutorials/ArduinoBreadboard
You can view a photo of my build using this link:http://www.kasiemoon.com/arduino/arduino_bb.jpg
The only variance from the tutorial I followed was that I used a USB-BUB from Modern Device... and I connected an LED to the 5v power as a visual indicator that the board was getting power.
When I attempt to program from the Arduino software environment, I get the following error:
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
I've been searching the forum, Google, and the Arduino Troubleshooting page for the last couple of hours but I can't seem to identify my problem.
One question DOES stand out to me, however... how long should I depress the RESET button... and at exactly what TIME in relation to clicking the UPLOAD button in the Arduino software? I suspect that this may be part of my problem.
I did a couple of tests... but unfortunately they told ME nothing -- they might tell you fellows something though. I have two batches of ATmega328p chips... one set I purchased virgin and burned the bootloader myself with an AVR Dragon board... the other set I purchased from SparkFun with the Arduino Bootloader pre-burned.
Switching between the two yielded an interesting difference. While I get the SAME error when trying to upload a new sketch, the LED on pin 13 behaves differently.
With my self-burned bootloader chips, the LED flashes very briefly followed by a 2 second (or so) pause and then repeats. When I press the reset button, the blinking continues again virtually immediately (no noticable delay). Pressing and holding the reset button stops the LED from flashing as long as it is depressed.
With my pre-burned bootloader chips, the LED flashes rapidly, getting faster and faster until it reaches peak brightness then it goes out. This happens within 3 seconds. When I press the reset button, the process repeats and the LED is dark again within 3 seconds or so.
So this raises another question... with a fresh chip, what SHOULD the behavior on Pin 13 be? Flashing? Dark?
Any help you could provide is truly appreciated. I'm getting frustrated with this setup. I've stripped the breadboard down and started fresh twice since the first build, but I keep getting the same results.
One last thought... is there a way I can change my curcuit to have the Arduino auto-reset when attempting to upload a sketch? Perhaps that'd help with some of the problems!!![/edit]