I have a problem uploading sketches to an Arduino Yun connected to my Mac OS X 10.9.4 and using Arduino IDE 1.5.7.
I discovered that after uploading a first sketch (Blink.ino for example), I can no longer repeat the operation and always get the following message:
Connecting to programmer: .avrdude: Send: . [1b]
avrdude: Send: S [53]
avrdude: ser_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
I have tried ...
1- changing the Arduino IDE 1.5.7 (used the official beta version and several nightly builds)
2- pressing the reset buttons on the board
3- upgrading to OpenWrt-Yun 1.4.1 (did it twice)
4- using different programmers and ports in the Arduino IDE
5- using different USB cables and physical ports
6- uninstalling applications on my Mac that may interfere with the USB ports (LEAP motion, Android File Transfer, ...)
The only thing that does work (but it only works once) is uploading a sketch immediately after rebooting my Mac.
I've noticed that after I get the "programmer is not responding" error message, close all applications, and try to reboot my Mac, it doesn't want to shutdown. I have to force it by pressing the Power On/Off button.
I also read the troubleshooting section (http://www.arduino.cc/en/Guide/Troubleshooting#upload) , but nothing helped.
One last thing. I currently have Java 8 installed
java version "1.8.0_20"
Java(TM) SE Runtime Environment (build 1.8.0_20-b26)
Java HotSpot(TM) 64-Bit Server VM (build 25.20-b23, mixed mode)
I thank you very much in advance.