Bricked Arduino Yun AVRdude verification error.

Hello! I'm kinda desperate, my Yun's been giving me this error

***failed;
avrdude: verification error, first mismatch at byte 0x0000
0xcb != 0xfb
avrdude: verification error; content mismatch

every time I try uploading a new sketch since this morning. I followed the instructions in this post Bricked the 32U4 - Arduino part - recovered - Arduino Yún - Arduino Forum in hope it might work, but I get to this point:

avrdude: 1 bytes of hfuse verified
avrdude: reading input file "0xFB"
avrdude: writing efuse (1 bytes):

Writing | | 0% 0.00s ***failed;
Writing | ################################################## | 100% 0.06s

avrdude: 1 bytes of efuse written
avrdude: verifying efuse memory against 0xFB:
avrdude: load data efuse data from input file 0xFB:
avrdude: input file 0xFB contains 1 bytes
avrdude: reading on-chip efuse data:

Reading | ################################################## | 100% 0.00s

avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0000
0xcb != 0xfb
avrdude: verification error; content mismatch

avrdude: safemode: efuse changed! Was fb, and is now cb
Would you like this fuse to be changed back? [y/n]

I then type in y and hit enter but nothing happens.

Please help. Also my Rx LED is on all the time.

David.

Try this:

http://forum.arduino.cc/index.php?topic=223157.msg1618139#msg1618139

Thank you very much! Finally unbricked my Yun! Your link was very helpful, after reading a little bit, what I ended up doing was accessing the file /usr/bin/run-avrdude thorugh vi. For anyone that don't understand what I just said, vi is a text editor, you type vi /usr/bin/run-avrdude and you can edit the file, there press "i" so you can edit the file, in the file I changed te part that sais "efuse" from FB to CB, then pressed "esc", typed :wq! + enter and saved the file that way. After that I was done, just opened the Arduino IDE, compiled and uploaded a simple blank program, and the board was unbricked!

Thanks everyone for the help! I hope this post might help someone with similar problems, apparently it is a Yun bug that I'm not even sure how I triggered.

David.

Glad you are running again, this seems to crop up every so often, I don't know exactly what circumstances trigger the 0xcb != 0xfb bug. Since I never had it my setup always had 0xFB.

Vi is hard to adjust to but you can edit with a minimum of keystrokes when you get good at it.

BTW:
:wq! is:
: - command mode
w - write the file (save)
q - quit
! - I know I made changes, quit anyway

:x is exit saving changes, saves 2 whole keystrokes, 2 1/2 if you count the shift for the ! as a half. :wink:

davidrumsjb:
Thank you very much! Finally unbricked my Yun! Your link was very helpful, after reading a little bit, what I ended up doing was accessing the file /usr/bin/run-avrdude thorugh vi. For anyone that don't understand what I just said, vi is a text editor, you type vi /usr/bin/run-avrdude and you can edit the file, there press "i" so you can edit the file, in the file I changed te part that sais "efuse" from FB to CB, then pressed "esc", typed :wq! + enter and saved the file that way. After that I was done, just opened the Arduino IDE, compiled and uploaded a simple blank program, and the board was unbricked!

Thanks everyone for the help! I hope this post might help someone with similar problems, apparently it is a Yun bug that I'm not even sure how I triggered.

David.

noblepepper:
Glad you are running again, this seems to crop up every so often, I don't know exactly what circumstances trigger the 0xcb != 0xfb bug. Since I never had it my setup always had 0xFB.

Vi is hard to adjust to but you can edit with a minimum of keystrokes when you get good at it.

BTW:
:wq! is:
: - command mode
w - write the file (save)
q - quit
! - I know I made changes, quit anyway

:x is exit saving changes, saves 2 whole keystrokes, 2 1/2 if you count the shift for the ! as a half. :wink:

noblepepper and davidrumsjb, thak you, thank you, thank you!! i used your instructions to unbrick my 32u4 of yun. fantastic!!