[SOLVED] recovering the control of my arduino

Hi everybody.
By error, I configured the pin #1 as LCD output, and now, I cant upload anything to the board.

LiquidCrystal lcd(12, 11, 5, 1, 3, 2);

"1" key is just under "4" key, and didnt see the error when I was typing :cold_sweat:
Now, the TX led (pin 1) is constantly on, and I always get the same message:

stk500_recv(): programmer is not responding

¿Some ideas to recover the control?

It's an Arduino Uno

Yikes! Try holding down the reset button and uploading the blink sketch.

If this doesn't work, do you have another arduino? Cause then you can program it over ICSP...

good luck!

baum

baum:
Yikes! Try holding down the reset button and uploading the blink sketch.

I tryied and didnt work :frowning:
If reset button is hold, I have this message:
:relaxed: :~ :~ :~ :astonished: :astonished: :astonished: :astonished: (*)

And if I release the button, I have this message:

Binary sketch size: 1018 bytes (of a 32256 byte maximum)
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x00

baum:
If this doesn't work, do you have another arduino? Cause then you can program it over ICSP...

I can try, but don't know how, because the Tx is constantly trying to send signal to lcd.
I have another arduino.

(*)
Miraculously solved :astonished:
When I pressed the 'upload' button to copy the message, it worked :astonished:
And I tryied that more than 50 times, with all possible combinations:
Holding the reset button, then plugging the USB and send program, plugging and then pressing reset and send, etc...

Maybe the key is send the program in the exact moment that the arduino bootloader is charged, and the program isnt still running.

The solution was:
Plug the USB, and after... ¿600 ms? (Dont know) press the 'send' button. Not reset button needed

Great! You'll have your arduino back in no time. I just need to know what type of arduino each one is. (duemilanove, uno, etc.)

Thanks, solved when I was modifying the post before

It's an Arduino Uno

Great! Be careful as to not use pin 1 ever again!