Problem with uploading sketch on Uno after selecting wrong board

So, I have an Arduino Uno and an Arduino Mega. I wanted to upload some sketch on the Uno, but by mistake I forgot to change the board from the IDE and it uploaded with Mega selected. After that, the Uno just bricked. There are 2 leds stuck on, the one marked with "ON" and the one marked with "L". How can I unstuck it? Is there any possibility that I've damaged the board by selecting the wrong one? The error I get is the classical one:

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x52
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x52
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x52
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x52
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x52
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x52
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x52
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x52
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x52
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x52

Here is a related thread.

And this is probably the procedure referenced to in that thread.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.