I'm getting the
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
error messages with an Arduino Duemilanove that I've been using for months without problem. I've read most of the threads about the problem and the trouble-shooting guide. Nothing that I've tried seems to have helped.
I was playing with as short sketch to get sound from an 8 ohm speaker. The sketch has pin 3 connected to an 100k ohm linear potentiometerr with the wiper connected to the red lead on the speaker and the black lead to the Arduino ground. I was getting sound from the speaker for awhile and then the above problem started.
I can accept that in my electronic ignorance I may have fried the atmega328. What I'd like to know is: Is it likely that replacing the chip with the bootloader will fix the problem?