Hello guys, I have made Arduino s3v3, a copule of days ago and I have successfully uploaded the bootloader with parallel programmer, then i tried the "blink" test, and it worked. Yesterday I uploaded a program switching leds from pin 2 to pin 13 with a 15ms delay. And today i tried to upload a new program but i get this message.
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
At first place I went to troubleshooting but everything seemed ok, then I searched the forum and tried everything I found, diconnecting cables, power, protoshield, using another version of IDE and etc. tried pushing the reset button after "sketch size ***" appears but nothing.
At some point I started thinking I have fried the ATmega, but the old programm is still working after a short delay when I power the board. Now I dont have any idea what to do.
Hold the shift key down when you press the upload button in the Arduino IDE. This will upload with verbose output. It will show you exactly what avrdude is doing, line by line in the black bar at the bottom of Arduino IDE. Post all that and maybe someone can spot the problem.
well its still doing the same thing, its running the old program, when i try to upload, the RX led bliks 3 times with a period ot like a sec and a hlaf, and the pin 13 led blinks 3 times after 10 secs.