Pages: [1]   Go Down
Author Topic: Reprogramming my Arduino after changing the serial pins to outputs  (Read 442 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
« Last Edit: February 20, 2013, 02:14:44 am by udi_h » Logged

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 503
Posts: 19095
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

When you reset the Arduino, all pins become inputs. That is not your problem.
Logged


Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 548
Posts: 27372
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Pages: [1]   Go Up
Jump to: