I have problems uploading sketches via Wifi while a shield is plugged in. The shield (handmade) connects the Yun with a RFMxx module, I'm using the ICSP header for this, wiring see http://lowpowerlab.com/wp-content/uploads/2012/12/rfm12B-arduino-moteino-atmega328_5V_connections.png ICSP see http://www.arduino.cc/en/uploads/Reference/ICSPHeader.jpg
While uploading I get this error message
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.
After removing the shield I can upload sketches without any problems.
I can also use the same shield with an Uno and uploading sketches with this attached shield. So it must be a Yun specific problem.
I have not seen any advice to taking off shields while programming the Yun so I ask myselfe (or you ;-) is this a specific circumstance with my RFMxx module or a general problem I can handle with a workaround. Would be nice to can the Yun re-programm without any manual access only over Wifi and without pluging and un-plugging shields.