Skip to content

Arduino IDE serial ports not working on EL Capitan OSX #3928

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
HBRancher opened this issue Oct 7, 2015 · 70 comments
Closed

Arduino IDE serial ports not working on EL Capitan OSX #3928

HBRancher opened this issue Oct 7, 2015 · 70 comments
Labels
OS: OSX Specific to the Mac OS X (macOS) version of the Arduino IDE
Milestone

Comments

@HBRancher
Copy link

Anyone know how to fix Arduino IDE serial port lockup on EL Capitan OSX ??
Thanks

@matthijskooijman
Copy link
Collaborator

You are the first to report this issue, so could you please provide more details? What happens exactly? What did you expect? Any error messages / verbose output you could add?

@ffissore ffissore added OS: OSX Specific to the Mac OS X (macOS) version of the Arduino IDE Waiting for feedback More information must be provided before we can proceed labels Oct 7, 2015
@ffissore ffissore self-assigned this Oct 7, 2015
@wizardofwords
Copy link

Hi Matthijs Kooijman,

I have the very same problem.

Arduino IDE does no longer show "tty" ports in port list, but just "cu", even if device "/dev/tty.usbmodem1A21" looks to be correctly created when USB cable is connected.
Second, when I try to transfer any sketch, after compilation and link, when it tries to transfer datas to my genuine Arduino UNO, process gets stuck completely and no return error is reported.
My bluetooth mouse also get stuck, while, fortunately, touch pad still works, so I can close Arduino IDE. My Mac fan, that usually can be barely heard, starts to slowly to increase its speed till maximum.

If I run again Arduino IDE in this situation, it reports no USB port at all, even if I disconnect and reconnect my Arduino UNO.

The only way to stop these effects is to turn off and back on my Mac.

I hope I gave you enough elements to start to catch this issue, that has completely stacked my project.

I look forward you hearing from you.

Best Regards.

Luca Moscardini

@facchinm
Copy link
Member

Note to self:
see serialport/node-serialport#607 for a clever fix

@wizardofwords
Copy link

Hi Martino,

Unfortunately I had no success: “nam install tmpvar/node-serialport#el-capitan” returns a long list of errors (see below), so I still can’t fix that issue.

Please also find attached a copy of the file “npm-debug.log”.

I look forward to hearing from you.

Best Regards.

Luca Moscardini

npm ERR! git rev-list -n1 el-capitan: fatal: ambiguous argument 'el-capitan': unknown revision or path not in the working tree.
npm ERR! git rev-list -n1 el-capitan: Use '--' to separate paths from revisions, like this:
npm ERR! git rev-list -n1 el-capitan: 'git [...] -- [...]'
npm ERR! git rev-list -n1 el-capitan: ls -l
npm ERR! git rev-list -n1 el-capitan: fatal: ambiguous argument 'el-capitan': unknown revision or path not in the working tree.
npm ERR! git rev-list -n1 el-capitan: Use '--' to separate paths from revisions, like this:
npm ERR! git rev-list -n1 el-capitan: 'git [...] -- [...]'
npm ERR! git rev-list -n1 el-capitan:
npm ERR! git clone --template=/Users/luca/.npm/_git-remotes/_templates --mirror git@github.com:tmpvar/node-serialport.git /Users/luca/.npm/_git-remotes/git-github-com-tmpvar-node-serialport-git-bde745f9: Cloning into bare repository '/Users/luca/.npm/_git-remotes/git-github-com-tmpvar-node-serialport-git-bde745f9'...
npm ERR! git clone --template=/Users/luca/.npm/_git-remotes/_templates --mirror git@github.com:tmpvar/node-serialport.git /Users/luca/.npm/_git-remotes/git-github-com-tmpvar-node-serialport-git-bde745f9: Permission denied (publickey).
npm ERR! git clone --template=/Users/luca/.npm/_git-remotes/_templates --mirror git@github.com:tmpvar/node-serialport.git /Users/luca/.npm/_git-remotes/git-github-com-tmpvar-node-serialport-git-bde745f9: fatal: Could not read from remote repository.
npm ERR! git clone --template=/Users/luca/.npm/_git-remotes/_templates --mirror git@github.com:tmpvar/node-serialport.git /Users/luca/.npm/_git-remotes/git-github-com-tmpvar-node-serialport-git-bde745f9:
npm ERR! git clone --template=/Users/luca/.npm/_git-remotes/_templates --mirror git@github.com:tmpvar/node-serialport.git /Users/luca/.npm/_git-remotes/git-github-com-tmpvar-node-serialport-git-bde745f9: Please make sure you have the correct access rights
npm ERR! git clone --template=/Users/luca/.npm/_git-remotes/_templates --mirror git@github.com:tmpvar/node-serialport.git /Users/luca/.npm/_git-remotes/git-github-com-tmpvar-node-serialport-git-bde745f9: and the repository exists.
npm ERR! Darwin 15.0.0
npm ERR! argv "/usr/local/Cellar/node/4.2.1/bin/node" "/usr/local/bin/npm" "install" "tmpvar/node-serialport#el-capitan"
npm ERR! node v4.2.1
npm ERR! npm v2.14.7
npm ERR! code 128

npm ERR! Command failed: git clone --template=/Users/luca/.npm/_git-remotes/_templates --mirror git@github.com:tmpvar/node-serialport.git /Users/luca/.npm/_git-remotes/git-github-com-tmpvar-node-serialport-git-bde745f9
npm ERR! Cloning into bare repository '/Users/luca/.npm/_git-remotes/git-github-com-tmpvar-node-serialport-git-bde745f9'...
npm ERR! Permission denied (publickey).
npm ERR! fatal: Could not read from remote repository.
npm ERR!
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.
npm ERR!
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues

npm ERR! Please include the following file with any support request:
npm ERR! /Users/luca/particle-cli/npm-debug.log

Il giorno 14 ott 2015, alle ore 15:57, Martino Facchin notifications@github.com ha scritto:

Note to self:
see serialport/node-serialport#607 serialport/node-serialport#607 for a clever fix


Reply to this email directly or view it on GitHub #3928 (comment).

@facchinm
Copy link
Member

Sorry Luca, my message was intended as a reminder for myself, not a real way to solve the issue.
We'll tackle this very soon I promise 😄

@wizardofwords
Copy link

Hi Martino,
Thanks so much for your time, I really appreciate that.
I would greatly apreciate also if you could recommend even a temporary solution to that issue.
Thanking you in advance, I look forward to hearing from you.
Kind Regards.

Luca Moscardini

-------- Messaggio originale --------
Da: Martino Facchin notifications@github.com
Data: 20/10/2015 09:57 (GMT+01:00)
A: arduino/Arduino Arduino@noreply.github.com
Cc: wizardofwords wizardofwords@gmail.com
Oggetto: Re: [Arduino] Arduino IDE serial ports not working on EL Capitan OSX
(#3928)

Sorry Luca, my message was intended as a reminder for myself, not a real way to solve the issue.

We'll tackle is very soon I promise


Reply to this email directly or view it on GitHub.

@HBRancher
Copy link
Author

Unfortunately, he only fix that I have found, so far, is the return to Yosemite.... I've reported the problem to Apple... Under El Capitan, any use of the USB ports would lockup my Bluetooth keyboard and mouse. So, either the drivers from the Arduino must be re-written.... or... there is actually a bug in El Capitan....
Good Luck to all.... I'm also still waiting for any solutions...

cmaglie added a commit to cmaglie/Arduino that referenced this issue Oct 20, 2015
@tmpvar
Copy link

tmpvar commented Oct 21, 2015

Heads up, the pull request @facchinm mentioned has been landed and is included in serialport@2.0.1

npm install serialport@latest should bring in these changes if you (@wizardofwords) wanted to try again!

@michaelemery
Copy link

This issue is not a bug, but rather the result of Apple's new System Integrity Protection (SIP) policy called "Rootless". Rootless was introduced with the launch of El Capitan. The effect of Rootless is that many applications and drivers (such as those required for your USB serial connections) will no longer operate correctly. Third party vendors must modify their drivers and applications in order to comply with the new policy.

There are "fixes" floating around the internet that require you to manually disable certain El Capitan security protection features – it is not recommended that you implement these fixes as they are either dangerous, or opportunistic security scams. The only thing you can really do is wait for third party vendors to rewrite their software.

Unfortunately, this is not the answer anyone wanted to hear.

@Dark-Archer
Copy link

You say that 'Third Party Vendors' need to re-write their software, Does this mean that genuine Arduino boards will still work?

@ffissore
Copy link
Contributor

Fixed by #4006. Available with latest hourly build http://www.arduino.cc/en/Main/Software#hourly

@ffissore ffissore added this to the Release 1.6.6 milestone Oct 26, 2015
@ffissore ffissore removed the Waiting for feedback More information must be provided before we can proceed label Oct 26, 2015
@cmaglie
Copy link
Member

cmaglie commented Oct 26, 2015

For the record: we tried the fix on our macs with various Arduino/Genuino boards and it is working flawlessly. If you are still experiencing problems maybe your boards uses proprietary USB-Serial chips that are not compliant with CDC-ACM?

@michaelemery
Copy link

@cmaglie - are you using El Capitan? I had no problems with Yosemite on either of my macs (including my MacBook 2015 with USB C). However, since installing El Capitan on both my macs, the USB serial ports will only communicate using Windows 10 as a Bootcamp OS. Earlier versions of Windows would be fine too, but they have to be run natively (not as a virtual OS within El Capitan). If you are using El Capitan, then you must be using newer drivers.

@cmaglie
Copy link
Member

cmaglie commented Oct 27, 2015

are you using El Capitan?

yes, the issue is all about "El Capitan".

I had no problems with Yosemite on either of my macs (including my MacBook 2015 with USB C). However, since installing El Capitan on both my macs, the USB serial ports will only communicate using Windows 10

Which boards are you using? In particular, I want to know if the USB-2-Serial chip is an atmega16u2 with Arduino's firmware or is another proprietary chip like FTDI or CH340.

@wizardofwords
Copy link

Hi Federico,

I download latest nightly release but it does not fix my Mac problem with USB ports.

Regards.

Luca Moscardini

Il giorno 26 ott 2015, alle ore 19:58, Federico Fissore notifications@github.com ha scritto:

Fixed by #4006 #4006. Available with latest hourly build http://www.arduino.cc/en/Main/Software#hourly http://www.arduino.cc/en/Main/Software#hourly

Reply to this email directly or view it on GitHub #3928 (comment).

@PaulStoffregen
Copy link
Contributor

Are you certain you're using a genuine Arduino board? Not one of those Chinese clones with a CH340 chip?

@wizardofwords
Copy link

Hi Paul,

I only use 100% genuine Arduinos.

In my opinion, if this issue would be caused by a not 100% compatible USB chip, my Mac should simply not recognize and ignore it or transfer would return an error message.

On the contrary, when Arduino IDE tries to upload my sketch, it crashes and also makes my bluetooth mouse crash as well: only way to close it is kill it from shell or from “Cmd+Alt+Esc” (luckily touch pad keeps working). Afterward, my Mac fan starts slowly to increase its speed till maximum. At that point, I can only shut my Mac down (it takes ages to turn off, ten times longer than usual).

Best Regards.

Luca

Il giorno 28 ott 2015, alle ore 04:18, Paul Stoffregen notifications@github.com ha scritto:

Are you certain you're using a genuine Arduino board? Not one of those Chinese clones with a CH340 chip?


Reply to this email directly or view it on GitHub #3928 (comment).

@wizardofwords
Copy link

Hi All,

Today I have bought a Yún (original, obviously!) and I have tried to upload a sketch: it does not work anyway, but IDE has not crashed and it has not crashed my bluetooth mouse.

Also it has displayed the following error message:

“Arduino:1.6.6 Hourly Build 2015/10/27 05:48 (Mac OS X), Scheda:"Arduino Yún"

/Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware "/Applications/Arduino.app/Contents/Java/hardware" -tools "/Applications/Arduino.app/Contents/Java/tools-builder" -tools "/Applications/Arduino.app/Contents/Java/hardware/tools/avr" -libraries "/Applications/Arduino.app/Contents/Java/libraries" -libraries "/Users/luca/Documents/Arduino/libraries" -fqbn=arduino:avr:yun -vid-pid=0X2341_0X8041 -ide-version=10606 -build-path "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp" -warnings=null -prefs=build.warn_data_percentage=75 -verbose "/prg/C/Arduino/ShiftRegisterTest/ShiftRegisterTest.ino"
/Applications/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware "/Applications/Arduino.app/Contents/Java/hardware" -tools "/Applications/Arduino.app/Contents/Java/tools-builder" -tools "/Applications/Arduino.app/Contents/Java/hardware/tools/avr" -libraries "/Applications/Arduino.app/Contents/Java/libraries" -libraries "/Users/luca/Documents/Arduino/libraries" -fqbn=arduino:avr:yun -vid-pid=0X2341_0X8041 -ide-version=10606 -build-path "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp" -warnings=null -prefs=build.warn_data_percentage=75 -verbose "/prg/C/Arduino/ShiftRegisterTest/ShiftRegisterTest.ino"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -M -MG -MP -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10606 -DARDUINO_AVR_YUN -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8041 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Yun"' "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/sketch/ShiftRegisterTest.ino.cpp"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -M -MG -MP -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10606 -DARDUINO_AVR_YUN -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8041 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Yun"' "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/yun" "-I/Users/luca/Documents/Arduino/libraries/ShiftRegister" "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/sketch/ShiftRegisterTest.ino.cpp"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -M -MG -MP -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10606 -DARDUINO_AVR_YUN -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8041 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Yun"' "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/yun" "-I/Users/luca/Documents/Arduino/libraries/ShiftRegister" "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/sketch/ShiftRegisterTest.ino.cpp"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -M -MG -MP -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10606 -DARDUINO_AVR_YUN -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8041 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Yun"' "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/yun" "-I/Users/luca/Documents/Arduino/libraries/ShiftRegister" "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/sketch/ShiftRegisterTest.ino.cpp"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -M -MG -MP -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10606 -DARDUINO_AVR_YUN -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8041 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Yun"' "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/yun" "-I/Users/luca/Documents/Arduino/libraries/ShiftRegister" "/Users/luca/Documents/Arduino/libraries/ShiftRegister/ShiftRegister.cpp"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -M -MG -MP -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10606 -DARDUINO_AVR_YUN -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8041 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Yun"' "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/yun" "-I/Users/luca/Documents/Arduino/libraries/ShiftRegister" "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/sketch/ShiftRegisterTest.ino.cpp"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10606 -DARDUINO_AVR_YUN -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8041 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Yun"' "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/yun" "-I/Users/luca/Documents/Arduino/libraries/ShiftRegister" "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/sketch/ShiftRegisterTest.ino.cpp"
"/Applications/Arduino.app/Contents/Java/tools-builder/ctags/5.8-arduino1/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/preproc/ctags_target.cpp"
"/Applications/Arduino.app/Contents/Java/tools-builder/ctags/5.8-arduino1/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/preproc/ctags_target.cpp"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10606 -DARDUINO_AVR_YUN -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8041 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Yun"' "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/yun" "-I/Users/luca/Documents/Arduino/libraries/ShiftRegister" "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/sketch/ShiftRegisterTest.ino.cpp" -o "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/sketch/ShiftRegisterTest.ino.cpp.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10606 -DARDUINO_AVR_YUN -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8041 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Yun"' "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/yun" "-I/Users/luca/Documents/Arduino/libraries/ShiftRegister" "/Users/luca/Documents/Arduino/libraries/ShiftRegister/ShiftRegister.cpp" -o "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/libraries/ShiftRegister/ShiftRegister.cpp.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-gcc" -c -g -x assembler-with-cpp -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10606 -DARDUINO_AVR_YUN -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8041 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Yun"' "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/yun" "/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/wiring_pulse.S" -o "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/wiring_pulse.S.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-gcc" -c -g -Os -std=gnu11 -ffunction-sections -fdata-sections -MMD -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10606 -DARDUINO_AVR_YUN -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8041 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Yun"' "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/yun" "/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/WInterrupts.c" -o "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/WInterrupts.c.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-gcc" -c -g -Os -std=gnu11 -ffunction-sections -fdata-sections -MMD -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10606 -DARDUINO_AVR_YUN -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8041 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Yun"' "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/yun" "/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/hooks.c" -o "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/hooks.c.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-gcc" -c -g -Os -std=gnu11 -ffunction-sections -fdata-sections -MMD -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10606 -DARDUINO_AVR_YUN -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8041 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Yun"' "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/yun" "/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/wiring.c" -o "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/wiring.c.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-gcc" -c -g -Os -std=gnu11 -ffunction-sections -fdata-sections -MMD -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10606 -DARDUINO_AVR_YUN -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8041 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Yun"' "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/yun" "/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/wiring_analog.c" -o "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/wiring_analog.c.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-gcc" -c -g -Os -std=gnu11 -ffunction-sections -fdata-sections -MMD -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10606 -DARDUINO_AVR_YUN -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8041 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Yun"' "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/yun" "/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/wiring_digital.c" -o "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/wiring_digital.c.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-gcc" -c -g -Os -std=gnu11 -ffunction-sections -fdata-sections -MMD -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10606 -DARDUINO_AVR_YUN -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8041 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Yun"' "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/yun" "/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/wiring_pulse.c" -o "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/wiring_pulse.c.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-gcc" -c -g -Os -std=gnu11 -ffunction-sections -fdata-sections -MMD -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10606 -DARDUINO_AVR_YUN -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8041 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Yun"' "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/yun" "/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/wiring_shift.c" -o "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/wiring_shift.c.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10606 -DARDUINO_AVR_YUN -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8041 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Yun"' "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/yun" "/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/CDC.cpp" -o "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/CDC.cpp.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10606 -DARDUINO_AVR_YUN -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8041 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Yun"' "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/yun" "/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/HardwareSerial.cpp" -o "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/HardwareSerial.cpp.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10606 -DARDUINO_AVR_YUN -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8041 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Yun"' "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/yun" "/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/HardwareSerial0.cpp" -o "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/HardwareSerial0.cpp.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10606 -DARDUINO_AVR_YUN -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8041 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Yun"' "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/yun" "/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/HardwareSerial1.cpp" -o "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/HardwareSerial1.cpp.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10606 -DARDUINO_AVR_YUN -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8041 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Yun"' "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/yun" "/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/HardwareSerial2.cpp" -o "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/HardwareSerial2.cpp.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10606 -DARDUINO_AVR_YUN -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8041 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Yun"' "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/yun" "/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/HardwareSerial3.cpp" -o "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/HardwareSerial3.cpp.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10606 -DARDUINO_AVR_YUN -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8041 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Yun"' "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/yun" "/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/IPAddress.cpp" -o "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/IPAddress.cpp.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10606 -DARDUINO_AVR_YUN -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8041 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Yun"' "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/yun" "/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/PluggableUSB.cpp" -o "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/PluggableUSB.cpp.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10606 -DARDUINO_AVR_YUN -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8041 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Yun"' "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/yun" "/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/Print.cpp" -o "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/Print.cpp.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10606 -DARDUINO_AVR_YUN -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8041 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Yun"' "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/yun" "/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/Stream.cpp" -o "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/Stream.cpp.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10606 -DARDUINO_AVR_YUN -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8041 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Yun"' "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/yun" "/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/Tone.cpp" -o "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/Tone.cpp.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10606 -DARDUINO_AVR_YUN -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8041 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Yun"' "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/yun" "/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/USBCore.cpp" -o "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/USBCore.cpp.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10606 -DARDUINO_AVR_YUN -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8041 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Yun"' "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/yun" "/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/WMath.cpp" -o "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/WMath.cpp.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10606 -DARDUINO_AVR_YUN -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8041 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Yun"' "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/yun" "/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/WString.cpp" -o "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/WString.cpp.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10606 -DARDUINO_AVR_YUN -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8041 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Yun"' "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/yun" "/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/abi.cpp" -o "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/abi.cpp.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10606 -DARDUINO_AVR_YUN -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8041 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Yun"' "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/yun" "/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/main.cpp" -o "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/main.cpp.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10606 -DARDUINO_AVR_YUN -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8041 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Yun"' "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/yun" "/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/new.cpp" -o "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/new.cpp.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/core.a" "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/wiring_pulse.S.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/core.a" "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/WInterrupts.c.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/core.a" "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/hooks.c.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/core.a" "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/wiring.c.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/core.a" "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/wiring_analog.c.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/core.a" "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/wiring_digital.c.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/core.a" "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/wiring_pulse.c.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/core.a" "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/wiring_shift.c.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/core.a" "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/CDC.cpp.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/core.a" "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/HardwareSerial.cpp.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/core.a" "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/HardwareSerial0.cpp.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/core.a" "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/HardwareSerial1.cpp.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/core.a" "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/HardwareSerial2.cpp.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/core.a" "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/HardwareSerial3.cpp.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/core.a" "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/IPAddress.cpp.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/core.a" "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/PluggableUSB.cpp.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/core.a" "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/Print.cpp.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/core.a" "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/Stream.cpp.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/core.a" "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/Tone.cpp.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/core.a" "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/USBCore.cpp.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/core.a" "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/WMath.cpp.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/core.a" "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/WString.cpp.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/core.a" "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/abi.cpp.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/core.a" "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/main.cpp.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/core.a" "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/new.cpp.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-gcc" -Os -Wl,--gc-sections -mmcu=atmega32u4 -o "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/ShiftRegisterTest.ino.elf" "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/sketch/ShiftRegisterTest.ino.cpp.o" "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/libraries/ShiftRegister/ShiftRegister.cpp.o" "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/core/core.a" "-L/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp" -lm
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-objcopy" -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/ShiftRegisterTest.ino.elf" "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/ShiftRegisterTest.ino.eep"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-objcopy" -O ihex -R .eeprom "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/ShiftRegisterTest.ino.elf" "/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/ShiftRegisterTest.ino.hex"
Uso la libreria ShiftRegister nella cartella: /Users/luca/Documents/Arduino/libraries/ShiftRegister (legacy)

Lo sketch usa 5.190 byte (18%) dello spazio disponibile per i programmi. Il massimo è 28.672 byte.
Le variabili globali usano 260 byte (10%) di memoria dinamica, lasciando altri 2.300 byte liberi per le variabili locali. Il massimo è 2.560 byte.
Forzo il reset aprendo e chiudendo a 1200bps la porta /dev/cu.usbmodem1A21
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.Claudia-BluetoothSerial-1, /dev/cu.Claudia-Dial-upNetworki-2, /dev/cu.iPhone-WirelessiAP, /dev/cu.iPhone-WirelessiAP-3, /dev/cu.NorisMobile-DataTransfer, /dev/cu.SerialPort, /dev/cu.Topastro-COM1, /dev/cu.Topastro-NokiaPCSuite-1, /dev/cu.usbmodem1A21, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.Claudia-BluetoothSerial-1, /dev/tty.Claudia-Dial-upNetworki-2, /dev/tty.iPhone-WirelessiAP, /dev/tty.iPhone-WirelessiAP-3, /dev/tty.NorisMobile-DataTransfer, /dev/tty.SerialPort, /dev/tty.Topastro-COM1, /dev/tty.Topastro-NokiaPCSuite-1, /dev/tty.usbmodem1A21, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.Claudia-BluetoothSerial-1, /dev/cu.Claudia-Dial-upNetworki-2, /dev/cu.iPhone-WirelessiAP, /dev/cu.iPhone-WirelessiAP-3, /dev/cu.NorisMobile-DataTransfer, /dev/cu.SerialPort, /dev/cu.Topastro-COM1, /dev/cu.Topastro-NokiaPCSuite-1, /dev/cu.usbmodem1A21, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.Claudia-BluetoothSerial-1, /dev/tty.Claudia-Dial-upNetworki-2, /dev/tty.iPhone-WirelessiAP, /dev/tty.iPhone-WirelessiAP-3, /dev/tty.NorisMobile-DataTransfer, /dev/tty.SerialPort, /dev/tty.Topastro-COM1, /dev/tty.Topastro-NokiaPCSuite-1, /dev/tty.usbmodem1A21, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.Claudia-BluetoothSerial-1, /dev/cu.Claudia-Dial-upNetworki-2, /dev/cu.iPhone-WirelessiAP, /dev/cu.iPhone-WirelessiAP-3, /dev/cu.NorisMobile-DataTransfer, /dev/cu.SerialPort, /dev/cu.Topastro-COM1, /dev/cu.Topastro-NokiaPCSuite-1, /dev/cu.usbmodem1A21, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.Claudia-BluetoothSerial-1, /dev/tty.Claudia-Dial-upNetworki-2, /dev/tty.iPhone-WirelessiAP, /dev/tty.iPhone-WirelessiAP-3, /dev/tty.NorisMobile-DataTransfer, /dev/tty.SerialPort, /dev/tty.Topastro-COM1, /dev/tty.Topastro-NokiaPCSuite-1, /dev/tty.usbmodem1A21, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.Claudia-BluetoothSerial-1, /dev/cu.Claudia-Dial-upNetworki-2, /dev/cu.iPhone-WirelessiAP, /dev/cu.iPhone-WirelessiAP-3, /dev/cu.NorisMobile-DataTransfer, /dev/cu.SerialPort, /dev/cu.Topastro-COM1, /dev/cu.Topastro-NokiaPCSuite-1, /dev/cu.usbmodem1A21, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.Claudia-BluetoothSerial-1, /dev/tty.Claudia-Dial-upNetworki-2, /dev/tty.iPhone-WirelessiAP, /dev/tty.iPhone-WirelessiAP-3, /dev/tty.NorisMobile-DataTransfer, /dev/tty.SerialPort, /dev/tty.Topastro-COM1, /dev/tty.Topastro-NokiaPCSuite-1, /dev/tty.usbmodem1A21, } => {}
Uploading using selected port: /dev/cu.usbmodem1A21
/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avrdude -C/Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf -v -patmega32u4 -cavr109 -P/dev/cu.usbmodem1A21 -b57600 -D -Uflash:w:/var/folders/c3/pdvvh4zx4ydgyfv3l9643tt40000gn/T/build59155785b93a90ad5b7d283c25fce574.tmp/ShiftRegisterTest.ino.hex:i

avrdude: Version 6.0.1, compiled on Apr 14 2015 at 16:30:25
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch

     System wide configuration file is "/Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf"
     User configuration file is "/Users/luca/.avrduderc"
     User configuration file does not exist or is not a regular file, skipping

     Using Port                    : /dev/cu.usbmodem1A21
     Using Programmer              : avr109
     Overriding Baud Rate          : 57600

avrdude: ser_open(): can't open device "/dev/cu.usbmodem1A21": No such file or directory
avrdude: ser_send(): write error: Bad file descriptor
Problema di caricamento sulla scheda. Guarda http://www.arduino.cc/en/Guide/Troubleshooting#upload per suggerimenti"

Unfortunately part of the messages are in Italian, language of my Arduino IDE.

I hope it helps.

Regards.

Luca

Il giorno 28 ott 2015, alle ore 08:51, Luca Moscardini wizardofwords@gmail.com ha scritto:

Hi Paul,

I only use 100% genuine Arduinos.

In my opinion, if this issue would be caused by a not 100% compatible USB chip, my Mac should simply not recognize and ignore it or transfer would return an error message.

On the contrary, when Arduino IDE tries to upload my sketch, it crashes and also makes my bluetooth mouse crash as well: only way to close it is kill it from shell or from “Cmd+Alt+Esc” (luckily touch pad keeps working). Afterward, my Mac fan starts slowly to increase its speed till maximum. At that point, I can only shut my Mac down (it takes ages to turn off, ten times longer than usual).

Best Regards.

Luca

Il giorno 28 ott 2015, alle ore 04:18, Paul Stoffregen <notifications@github.com mailto:notifications@github.com> ha scritto:

Are you certain you're using a genuine Arduino board? Not one of those Chinese clones with a CH340 chip?


Reply to this email directly or view it on GitHub #3928 (comment).

@matthijskooijman
Copy link
Collaborator

Are you sure /dev/cu.usbmodem1A21 is the right port to use? A friend of mine was using an Arduino Uno with his OSX laptop yesterday, and had to use /dev/tty.something IIRC. Don't take my word for it though, I'm not a Mac user at all :-)

@wizardofwords
Copy link

Hi Matthijs,
Honestly I would expect it was "/dev/tty.usbmodem1A21", but only "cu" ports are listed in Arduino IDE...
Regars.
Luca

Luca Moscardini

-------- Messaggio originale --------
Da: Matthijs Kooijman notifications@github.com
Data: 29/10/2015 08:03 (GMT+01:00)
A: arduino/Arduino Arduino@noreply.github.com
Cc: wizardofwords wizardofwords@gmail.com
Oggetto: Re: [Arduino] Arduino IDE serial ports not working on EL Capitan OSX
(#3928)

Are you sure /dev/cu.usbmodem1A21 is the right port to use? A friend of mine was using an Arduino Uno with his OSX laptop yesterday, and had to use /dev/tty.something IIRC. Don't take my word for it though, I'm not a Mac user at all :-)


Reply to this email directly or view it on GitHub.

@matthijskooijman
Copy link
Collaborator

That suggests to me that no serial port for the Arduino is available at all, and this cu port is just your normal serial port, or an internal one, or whatever. Does the cu port disappear when you unplug the Arduino?

@wizardofwords
Copy link

Hi Matthijs,
When I connect Arduino to my Mac two devices are created:
/dev/cu.usbmodem1A21
and
/dev/tty.usbmodem1A21
but just "cu" one is listed in Arduino IDE.
When I remove Arduino, also both devices are removed.
Regards.

Luca Moscardini

-------- Messaggio originale --------
Da: Matthijs Kooijman notifications@github.com
Data: 29/10/2015 10:38 (GMT+01:00)
A: arduino/Arduino Arduino@noreply.github.com
Cc: wizardofwords wizardofwords@gmail.com
Oggetto: Re: [Arduino] Arduino IDE serial ports not working on EL Capitan OSX
(#3928)

That suggests to me that no serial port for the Arduino is available at all, and this cu port is just your normal serial port, or an internal one, or whatever. Does the cu port disappear when you unplug the Arduino?


Reply to this email directly or view it on GitHub.

@Breidenbach
Copy link

Same problem, bluetooth gets lost, no connection to arduino using PR-4490-BUILD-495 (1.6.8)
This file is Apple complaining about wake-ups, but might be helpful otherwise.
After updating to latest El Capitan version - 10.11.13 - took a screen shot of the console.
If there is a better way to get info to help find the problem, tell me what to do.
screen shot 2016-01-27 at 9 36 41 pm

@squidlyboy
Copy link

Mac OS X EL Capitan 10.11.3 - Arduino 1.6.7
This is still broken. Completely locks up my Mac when its uploading any sketch to the board via USB serial

@32u4
Copy link

32u4 commented Mar 8, 2016

@squidlyboy : Did you try using a usb hub?
I had exactly the same problem as you have and i accidentally discovered
that all my boards (pro mini, pro micro, nano, mini) work as long as i use a usb hub.
Without a hub my mac locks up... can't even shutdown properly.

@Breidenbach
Copy link

When I use a hub, I get:
avrdude: ser_open(): can't open device "/dev/cu.usbmodem1A21": No such file or directory
ioctl(“TIOCMGET"): Inappropriate ioctl for device

When I don’t use a hub, I lose my Bluetooth mouse and keyboard, and the sketch is not uploaded. Sometimes it resets the Arduino, but still doesn’t upload. This is after moving the app to the root directory, then copying it to Applications.

BTW: @richard Loxley Are you familiar with Apple’s new “sandbox” security? It’s not just a matter of permissions anymore.
http://www.macworld.com/article/2948140/os-x/private-i-el-capitans-system-integrity-protection-will-shift-utilities-functions.html

And I have tried to disable this feature, but it didn’t help.

Hal

On Mar 8, 2016, at 3:38 PM, 32u4 notifications@github.com wrote:

@squidlyboy https://github.com/squidlyboy : Did you try using a usb hub?
I had exactly the same problem as you have and i accidentally discovered
that all my boards (pro mini, pro micro, nano, mini) work as long as i use a usb hub.
Without a hub my mac locks up... can't even shutdown properly.


Reply to this email directly or view it on GitHub #3928 (comment).

@sandeepmistry
Copy link
Contributor

@Breidenbach which board are you using in #3928 (comment)?

Also, are you using a powered or unpowered USB hub?

The Symantec Vulnerability Protection has found and blocked an attack (23387). entry in the console seems suspicious, does it occur every time you trying to upload a sketch?

@Breidenbach
Copy link

Powered

On Mar 9, 2016, at 9:12 AM, Sandeep Mistry notifications@github.com wrote:

@Breidenbach https://github.com/Breidenbach which board are you using in #3928 (comment) #3928 (comment)?

Also, are you using a powered or unpowered USB hub?

The Symantec Vulnerability Protection has found and blocked an attack (23387). entry in the console seems suspicious, does it occur every time you trying to upload a sketch?


Reply to this email directly or view it on GitHub #3928 (comment).

@Breidenbach
Copy link

Powered hub, Genuine Arduino Uno

On Mar 9, 2016, at 9:12 AM, Sandeep Mistry <notifications@github.com mailto:notifications@github.com> wrote:

@Breidenbach https://github.com/Breidenbach which board are you using in #3928 (comment) #3928 (comment)?

Also, are you using a powered or unpowered USB hub?

The Symantec Vulnerability Protection has found and blocked an attack (23387). entry in the console seems suspicious, does it occur every time you trying to upload a sketch?


Reply to this email directly or view it on GitHub #3928 (comment).

@bmikhael
Copy link

bmikhael commented Apr 9, 2016

I've just downloaded the nightly build dated April 08 2016 on OS X El Capitan 10.11.3
I still face the same issue, I can't upload a sketch to the board.
Arduino IDE see the board connected to /dev/cu.usbmodem1421 but no luck uploading a sketch to the board.

@DanceOfDragon
Copy link

Hi, @bmikhael you might need to update your Arduino to the latest version as well if you haven't done so. Check your version of "board manager" etc. I am running the latest EI Capitan and a cu version UNO, it is working fine.

@bmikhael
Copy link

bmikhael commented Apr 9, 2016

@DanceOfDragon, I've the latest nightly build for Arduino IDE and Intel Curie Boards v1.0.5, that's the latest I can find, and it's not working!

@cba76
Copy link

cba76 commented May 4, 2016

I'm not sure why this is closed as it's not resolved. I'm not able to see any ports except for the one bluetooth port that is incorrect. I'm running EC 10.11.4 with the latest daily build of Arduino at the time of this posting and can't upload anything to my ATmega 2560. Anyone have any ideas?

@FoRTu
Copy link

FoRTu commented Jun 4, 2016

I had the same problem and the only solution I found was connect a external power supply to the Arduino. I think that the USB power isn't enough to supply the Arduino and our circuits, so the board is detected sometimes and sometimes no, depending the power needed on our circuit.

So try to connect the Arduino board to a external powered USB Hub, or a external power supply.

@mosspassion
Copy link

mosspassion commented Jun 28, 2016

I'm having this issue with a Bare Conductive Touch Board. I have a genuine Uno that mounts fine, and is selectable in the Tools -> Port: menu, but the Touch Board doesn't even show up when I check the command line ls -ha /dev/tty.*; ls -ha /dev/cu.*

Maybe @stefandz or @peter-krige could point me in the right direction?

I am using the Arduino IDE 1.6.9 on a Macbook Pro 9,1 in El Capitan 10.11.5.

For the record I have tried:

  1. using a powered USB hub powered by computer, also tried external power
  2. installing various drivers
  3. all the FAQ in the Bare Conductive Touch Board section
  4. using Arduino 1.6.10 Hourly Build 2016/06/28 09:12
  5. after trying a third USB A to micro cord it is finally mounting.

SOLVED (?)

Well, it was working, then it suddenly dismounted. Here's what I did:

  1. I removed the external power, It was still working.
  2. I uploaded a sketch into the board, it was successful.
  3. I changed the sketch, and tried to upload it, got an error saying that it couldn't find the port again.

I'm fairly certain that it has to do with how much power is going to the board from the computer. When I directly plug the board into the computer without a USB port (powered by the computer via USB) and unplug the other chip that the Touch Board is powering (oops, forgot to mention that to y'all!), then it mounts as a device and is selectable in the Arduino IDE. Jeez Louise.

@stefandz
Copy link

@mosspassion it sounds like you have this solved for now - different USB ports will be able to supply different amounts of power, and external circuitry attached to the board will certainly draw more power, potentially exceeding this limit.

The fact that changing the USB cable made a difference is not surprising either - due to the number of leads designed purely for charging mobile phones (i.e. without the data conductors in place) we find a number of people having this issue. Certainly something to consider if you ever design your own board.

If you have further issues with this, please send an email to info@bareconductive.com as this certainly isn't an issue for the Arduino development team - they have enough to do already!

@tvervest
Copy link

I ran into the same issue today, so I figured I'd look into it and add any info I could find. When connecting the MKR1000 to my MacBook Pro (using El Capitan 10.11.6) the board boots, but it isn't listed in my devices (not even in the /dev directory). However, I do get the following messages in my syslog which might be of use:

21/9/16 18:16:47,000 kernel[0]: 000302.278333 IOUSBHostDevice@14100000: IOUSBHostDevice::getDescriptorGated: compliance violation: USB 2.0 9.3.5: device returned more than wLength data
21/9/16 18:16:47,000 kernel[0]: 000302.279216 Genuino MKR1000@14100000: IOUSBHostDevice::getDescriptorGated: compliance violation: USB 2.0 9.3.5: device returned more than wLength data
21/9/16 18:17:02,000 kernel[0]: 000317.453811 IOUSBHostDevice@14100000: IOUSBHostDevice::getDescriptorGated: compliance violation: USB 2.0 9.3.5: device returned more than wLength data
21/9/16 18:17:02,000 kernel[0]: 000317.454532 Genuino MKR1000@14100000: IOUSBHostDevice::getDescriptorGated: compliance violation: USB 2.0 9.3.5: device returned more than wLength data

I think this might be a lead to why the device doesn't mount, however I'm not sure what could cause this and what I could do about it - if anything at all. I'll investigate a bit more and report any useful findings here :)

@facchinm
Copy link
Member

Hi @tvervest ,
could you test the latest SAMD core? This looks like a problem with USB descriptors, more than an hardware problem. To upload a sketch, put the board in bootloader by double tapping the reset button

@tvervest
Copy link

Hey @facchinm, I was just typing an update that the problem was resolved with a double-tap of the reset button xD

It seems to work fine now, not sure if it matters but I've also installed the USB driver as described by @mosspassion.

@borch84
Copy link

borch84 commented Oct 6, 2016

Hello, I am trying to connect my huzzah esp8266 to my mac os el capitan 10.11.6, but I can only see these boards in my IDE
screen shot 2016-10-05 at 18 59 25

The IDE does not detect the serial port. I also checked in my file system but I don't see a device pointing to my huzzah.

I've checked my system.log for messages but I don't see any, not even kernel related messages, as stated by other users.

I've changed the USB cables. I've tested the same ESP8266 in another Linux machine and it was recognised by the IDE.

Previous users reported problems with Arduino Uno boards, I've haven't seen this issue with a Huzzah ESP 8266 board over the internet.

The sketch gets compiled without error, but when I upload the sketch I got:
sptool v0.4.9 - (c) 2014 Ch. Klippel ck@atelier-klippel.de
An error occurred while uploading the sketch
setting board to nodemcu
setting baudrate from 115200 to 115200
setting port from /dev/tty.usbserial to /dev/cu.itead-DevB
setting address from 0x00000000 to 0x00000000
espcomm_upload_file
espcomm_upload_mem
opening port /dev/cu.itead-DevB at 115200
error: cannot access /dev/cu.itead-DevB

error: espcomm_open failed
error: espcomm_upload_mem failed

That is pointing to /dev/cu.itead-DevB, but this is not the real huzzah.

Has anyone experienced the same issue? Any advices? Thank you.

@facchinm
Copy link
Member

facchinm commented Oct 6, 2016

Oh well, if the kernel is not reporting it I'd be very surprised if the IDE did it 😄
@borch84 did you try asking on Adafruit forum?

@borch84
Copy link

borch84 commented Oct 6, 2016

Hi @facchinm I will report it with Adafruit too. Do you know what other log file I could check in Mac to confirm if it is detecting something or not? Thank you.

@wizardofwords
Copy link

Hi borch84,
I had the very same problem with my Arduino Uno. After being obliged to uploaded my sketches from my old Windows laptop because my Mac refuses to collaborate and after many hopeful updates of both Mac and Arduino IDE, I finally connected Arduino Uno into a Mac compatible externally powered USB hub and I suddenly waked up from my nightmare! I works. It is just a matter of Ampere consumption: Arduino draw too much current for poor Mac's USB ports and El Capitan probably has indroduced controls that previous versions haven't.
Regards.

Luca Moscardini

-------- Messaggio originale --------
Da: borch84 notifications@github.com
Data: 06/10/16 04:13 (GMT+01:00)
A: arduino/Arduino Arduino@noreply.github.com
Cc: wizardofwords wizardofwords@gmail.com, Mention mention@noreply.github.com
Oggetto: Re: [arduino/Arduino] Arduino IDE serial ports not working on EL
Capitan OSX (#3928)

Hello, I am trying to connect my huzzah esp8266 to my mac os el capitan 10.11.6, but I can only see these boards in my IDE

The IDE does not detect the serial port. I also checked in my file system but I don't see a device pointing to my huzzah.

I've checked my system.log for messages but I don't see any, not even kernel related messages, as stated by other users.

I've changed the USB cables. I've tested the same ESP8266 in another Linux machine and it was recognised by the IDE.

Previous users reported problems with Arduino Uno boards, I've haven't seen this issue with a Huzzah ESP 8266 board over the internet.

The sketch gets compiled without error, but when I upload the sketch I got:

sptool v0.4.9 - (c) 2014 Ch. Klippel ck@atelier-klippel.de

An error occurred while uploading the sketch

setting board to nodemcu

setting baudrate from 115200 to 115200

setting port from /dev/tty.usbserial to /dev/cu.itead-DevB

setting address from 0x00000000 to 0x00000000

espcomm_upload_file

espcomm_upload_mem

opening port /dev/cu.itead-DevB at 115200

error: cannot access /dev/cu.itead-DevB

error: espcomm_open failed

error: espcomm_upload_mem failed

That is pointing to /dev/cu.itead-DevB, but this is not the real huzzah.

Has anyone experienced the same issue? Any advices? Thank you.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/arduino/Arduino","title":"arduino/Arduino","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/arduino/Arduino"}},"updates":{"snippets":[{"icon":"PERSON","message":"@borch84 in #3928: Hello, I am trying to connect my huzzah esp8266 to my mac os el capitan 10.11.6, but I can only see these boards in my IDE\r\nscreen shot 2016-10-05 at 18 59 25\r\n\r\nThe IDE does not detect the serial port. I also checked in my file system but I don't see a device pointing to my huzzah.\r\n\r\nI've checked my system.log for messages but I don't see any, not even kernel related messages, as stated by other users. \r\n\r\nI've changed the USB cables. I've tested the same ESP8266 in another Linux machine and it was recognised by the IDE. \r\n\r\nPrevious users reported problems with Arduino Uno boards, I've haven't seen this issue with a Huzzah ESP 8266 board over the internet. \r\n\r\nThe sketch gets compiled without error, but when I upload the sketch I got:\r\nsptool v0.4.9 - (c) 2014 Ch. Klippel \u003cck@atelier-klippel.de\u003e\r\nAn error occurred while uploading the sketch\r\n\tsetting board to nodemcu\r\n\tsetting baudrate from 115200 to 115200\r\n\tsetting port from /dev/tty.usbserial to /dev/cu.itead-DevB\r\n\tsetting address from 0x00000000 to 0x00000000\r\n\tespcomm_upload_file\r\n\tespcomm_upload_mem\r\nopening port /dev/cu.itead-DevB at 115200\r\nerror: cannot access /dev/cu.itead-DevB\r\n\r\nerror: espcomm_open failed\r\nerror: espcomm_upload_mem failed\r\n\r\nThat is pointing to /dev/cu.itead-DevB, but this is not the real huzzah. \r\n\r\nHas anyone experienced the same issue? Any advices? Thank you. \r\n"}],"action":{"name":"View Issue","url":"https://github.com/arduino/Arduino/issues/3928#issuecomment-251850200"}}}

@PaulStoffregen
Copy link
Contributor

PaulStoffregen commented Oct 6, 2016

I wonder if Uno's 47 uF capacitors are causing the trouble?

If you look at the USB 2.0 specification, in section 7.2.4.1 "Inrush Current Limiting" on page 177 is says:

The maximum load (CRPB) that can be placed at the downstream end of a cable is 10 µF in parallel with
44 Ω. The 10 µF capacitance represents any bypass capacitor directly connected across the VBUS lines in
the function plus any capacitive effects visible through the regulator in the device. The 44 Ω resistance
represents one unit load of current drawn by the device during connect.

If more bypass capacitance is required in the device, then the device must incorporate some form of VBUS
surge current limiting, such that it matches the characteristics of the above load.

@borch84
Copy link

borch84 commented Oct 6, 2016

Thanks for your feedback. I think I would have to try an externally powered USB hub then. Still looking more details about this issue.

@oldmanegan
Copy link

Being a Mac owner and Arduino user for a few years, I have had to deal with "locked up/frozen" USB ports on a few OS X iterations (incl. El Capitan & Sierra). I surmised it was due to excessive power draw. With 2 USB ports on my MacBook Pros, I found the following:

  1. The ports are separate in that one can freeze up and the other remain functional
  2. The Mac must be restarted to get the USB ports back once they are not functioning
  3. The power draw is the root cause MOST of the time. I shifted over to a powered hub, and ensured the power link from Mac to the USB bus inside the hub was severed, while the ground side was still connected, thus USB signals worked. I still had a few issues, thus the cause is not solely power related.
  4. I found the following procedure to be less likely to cause a frozen USB port: a) plug into the Mac USB port first once Arduino IDE is up and running, then the Arduino. [I have used this procedure to connect to UNOs, Megas, my own designs (using 328P and 1284P chips via a UartSBee I/O link) and a 32U based Seeed Xadow device], b) then plug into the Arduino (after connecting the UartSBee, if using it, if not already on the USB cable), c) wait a few seconds and check the port link in the IDE. NB: The UartSBee has a green LED the goes on if the link is going to work, even before connecting to the Arduino HW. It goes/stays red if the USB port on the Mac is frozen.
  5. I know of no lower level Mac app, Unix app or CLI command that will unfreeze the ports, anyone have something? Restarting is my only solution. Probably a command to the Broadcom USB controller would work, for example.
  6. The USB ports freeze up a lot less with the hub in place, but still do at times get messed up, so it is not solely the power.

@traumverloren
Copy link

I had the same problem and none of this stuff worked to get my Adafruit Metro Mini + serial port working.

To my embarrassment, I found that Adafruit had changed the driver from FTDI to CP2104. So if anyone is having the same problem with a Adafruit Metro Mini, then you may just need the correct driver. 😳

From the Adafruit Metro Mini product page:

As of Nov 8th 2016, we are now shipping with the SiLabs CP2104 - a high quality USB-to-Serial converter that performs as well or better than the FTDI series

@amkuipers
Copy link

Connected a 7 port usb hub to mbp with OSX 10.11.6. Had installed new drivers FTDI and 340 to connect to all kinds of boards. It seems that I have to use hub port 1 until it freezes, then move to port 2 until it freezes, etcetera.
It is frustrating checking for the port in the Arduino IDE over and over again to see if it will appear. It would help soo much if there is a command line tool to unfreeze.
Also, I have some very very old serial drivers still present in /dev/ like for old phones E51 or a nokia gps, and do not know to unload these. Tips are welcome.

@borch84
Copy link

borch84 commented Jan 23, 2017

Hi AMKUIPERS, you are using an out of date version of MAC OS, you should try to update to 10.12 at least. I was having problems with the USB port as well, I updated it and now it is working. My mac is a Late 2012 Imac. Hope this helps for you.

@gitlabiche
Copy link

gitlabiche commented Mar 24, 2017

I see I was late to this party, but thanks to traumverloren for pointing out Adafruit has the SILAB CP2104 and I needed the new driver. FWIW, I'm running on OS X 10.11.6 on a MacBook Pro (15-inch, Late 2008) and at least no USB power issues.

Also using the Feather Huzzah from ADA Box 3.

Driver is at ---> CP2104

thanks

**_From the Adafruit Metro Mini product page:

As of Nov 8th 2016, we are now shipping with the SiLabs CP2104 - a high quality USB-to-Serial converter that performs as well or better than the FTDI series_**

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OS: OSX Specific to the Mac OS X (macOS) version of the Arduino IDE
Projects
None yet
Development

No branches or pull requests