when uploading any sketch to my arduino.
The arduino was fine before, and now all of a sudden it has acted up. The IDE says "done uploading", but the code does not upload. I'm using arduino uno on Windows 7, and the serial port and board are correct.
This error occurs when you try to upload sketch while the Tx and Rx pins are used by other device.
try to remove any shield from the arduino before uploading the sketch,
or remove any wires from Tx and Rx pins (Pins 0 and 1)
if this not work, make sure you chose the right arduino Board from top menu.
I hope this solve your problem
The old sketch is running?
I had that problem when I tried to program an Arduino in a breadboard using my Arduino board as an programmer, but I forgot to connect the reset pin from the board to the breadboard.
If your using a uno pin 9 to a led will show the heart beat pulse of the arduinoisp sketch, pin 9 to a 220 ohm resister, then resistor to the anode of the led then conect the other end of the led to ground.
could also try moving your circuit to another part of your bread board, check the + v and ground pin with a a volt meter to make sure they are in contact with supplied voltage.
check your wiring, make sure it is correct and post your arduino with breadboard arduino wiring image.
i also face the same issue because of bad wiring.!
Are you trying to load a program on to the Arduino, or on to the breadboard atmega328 via the Arduino when you get this error?
Did you add a capacitor to the arduino reset? Did you select the right programmer in the IDE?
When I program a brand new blank atmega328 on a breadboard, I find I have to use a 16 MHz resonator the very first time until I have the fuse bits set to use the internal 8 MHz clock.