Arduino Yun not responding

Hello,

3 weeks ago we orderd a Arduino Yun from Mouser. It all worked very fancy upon yesterday morning.

The problem is that we cannot reach or even see our Arduino anymore via the COM-port. We first started testing some other USB-cables and laptops. When that didn't work either we tried to upload via the web, no results either. So till this point, we cannot load in any sketches to the Arduino. When we try to do so via the web we get the following error: avrdude: AVR device not responding avrdude: initialization failed, rc=-1

Linux is working just fine, we can login via PuTTy and the webinterface is also up and running.

Some more symptoms: L13 continuously burning, RX continuously burning. The problem is roughly the same as described in this post: http://forums.adafruit.com/viewtopic.php?f=25&t=52657

Any help is appreciated, Klaas-Jan Dunnink

It seems that your Atmel 32U4 isn't running anymore; are you able to reset it? Or switch off and back on the entire thing?

kind regards,

Jos

Thanks for your answer.

We tried all the reset options that are out there, nothing has worked so far...

Power on and off by unplugging and replugging does not work too.

It seems that your 32U4 is fried, sorry for saying. All symptoms show that it doesn't run anymore ...

kind regards,

Jos

Wait for a comment from the experts before throwing away your Yun.

Have you done anything that might "fry" the 32U4 ?

Have you tried loading a simple program (perhaps the Blink example) to the 32U4 using a USB cable before the Linux side has had time to complete its startup?

It is also worth trying the upload a few times in case the IDE is having trouble finding the 32U4.

...R

According to me it's almost impossible that we fried the Yun. The only thing besides running the board standalone was communicating with a Uno via SPI-bus.

And uploading something simple as the Blink program can't be done. The Yun is not recognized by diverse computers. Loading a program via the web gives an error.

kdunnink:
Hello,

3 weeks ago we orderd a Arduino Yun from Mouser. It all worked very fancy upon yesterday morning.

The problem is that we cannot reach or even see our Arduino anymore via the COM-port. We first started testing some other USB-cables and laptops. When that didn’t work either we tried to upload via the web, no results either. So till this point, we cannot load in any sketches to the Arduino. When we try to do so via the web we get the following error: avrdude: AVR device not responding avrdude: initialization failed, rc=-1

Linux is working just fine, we can login via PuTTy and the webinterface is also up and running.

Some more symptoms: L13 continuously burning, RX continuously burning. The problem is roughly the same as described in this post: http://forums.adafruit.com/viewtopic.php?f=25&t=52657

Any help is appreciated,
Klaas-Jan Dunnink

sonnyyu:
Some 32u4 USB port is missing, here is the reason:
The 32u4 at Yun creates a serial instance whenever it runs its bootloader. The board is an instance of USB’s Connected Device Class (CDC) driver. if bootloader is missing then USB port is gone.

Here is solution:

  1. flash bootloader only will do trick.

sonnyyu:
You need reflash correct bootloader.

nano /usr/bin/run-avrdude
Change the efuse value from FB to CB

#!/bin/sh

echo 1 > /sys/class/gpio/gpio21/value
avrdude -c linuxgpio -C /etc/avrdude.conf -p m32u4 -U lfuse:w:0xFF:m -U hfuse:w:0xD8:m -U efuse:w:0xCB:m -Uflash:w:$1:i $2
echo 0 > /sys/class/gpio/gpio21/value




1. flash bootloader only


/usr/bin/run-avrdude    /etc/arduino/Caterina-Yun.hex





2. flash sketch only ( save memory)


/usr/bin/run-avrdude    /tmp/Blink.cpp.hex





3. flash sketch+bootloader 


cd /tmp
/usr/bin/merge-sketch-with-bootloader.lua  /tmp/Blink.cpp.hex
/usr/bin/run-avrdude    /tmp/Blink.cpp.hex




Blink.cpp.hex 's size is 14450, the new Blink.cpp.hex after merge is 25372. Blink.cpp.hex is from blink example.

Hello sonnyyu,

Does that approach work? I've read through the links you mentioned but no one said it worked for him... Also note that Wireless programming doesn't work too (it isn't just the USB connection's problem)

kdunnink: ... Does that approach work? I've read through the links you mentioned but no one said it worked for him... ...

Four possibilities:

  • Missing bootloader
  • USB cable problem ( testing with an other cable)
  • Device driver problem ( testing with an other PC)
  • Hardware fried

Try one by one.

http://forum.arduino.cc/index.php?topic=188101.msg1594272#msg1594272

root@Arduino:~# /usr/bin/run-avrdude /etc/arduino/Caterina-Yun.hex
avrdude: AVR device not responding
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.

/usr/bin/run-avrdude: line 5: can't open /tmp/efuse: no such file

avrdude: AVR device not responding
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.


avrdude done.  Thank you.

The above standing code appears when we try your steps.

Also, the USB cable is not the problem. We tried several ones but none of them works. Different PC's didn't work either. (we tried multiple)

  • Hardware fried

Get RMA?

How? Mouser isn’t responding on the emails we’re sending them. Can we get RMA directly from Arduino?