I've uploaded a sketch to an Arduino Uno whose loop is something like this:
void loop(){
Serial.println("Hello, World!");
}
So, now, I can't upload anything anymore, because the IDE says "port already in use".
Is there a way to "reset" the Arduino without another programmer?
Nothing else is using the serial port, and everything went just fine until I uploaded the previous sketch.
I've found some interesting things:
Try the following:
There is a delay before the boot loader starts the programs, just work on your timing. It worked for me when a bug in my Arduino's code was executing a soft reset every 500 ms.