Go Down

Topic: Reprogramming my Arduino after changing the serial pins to outputs (Read 479 times) previous topic - next topic

udi_h

Hello,
I did a stupid thing and pinMode'd my serial lines (UNO 0 and 1) to outputs, now i cannot reprogram my UNO and i get "avrdude: stk500_recv(): programmer is not responding" from the software.
What can i do to reprogram it?
Thanks

udi_h

I guess ill have to erase the ATMEGA completely reprogram the boot loader... can someone point me to the file of the bootloader to the UNO R1?

Nick Gammon

When you reset the Arduino, all pins become inputs. That is not your problem.
Please post technical questions on the forum, not by personal message. Thanks!

More info:
http://www.gammon.com.au/electronics

udi_h

I understand but after a second my code begins and change it back to outputs...

CrossRoads

Press & Hold the reset button until the IDE shows
"compiled xxx of 32xxx bytes" or similar.
May take a few tries to get the timing of the button release correct for the bootloader to see the start message from the PC.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

Go Up