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,
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:
- flash bootloader only will do trick.
You need reflash correct bootloader.
Change the efuse value from FB to CB
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
2. flash sketch only ( save memory)
3. flash sketch+bootloader
Blink.cpp.hex 's size is 14450, the new Blink.cpp.hex after merge is 25372. Blink.cpp.hex is from blink example.