Go Down

Topic: Why can't i use Arduino with Mac OSX El Capitan? (Read 28063 times) previous topic - next topic

Darkarcher567

I have numerous Arduino Boards Uno's, Mega 2560's & Nano's, & since i updated the OS on my macbook from OSX Yosemite to OSX El Capitan, none of my boards are assigned a COM Port!!! All i get is a Bluetooth port which means the board isn't recognised! Please help!

jrdoner

Welcome friend, to the new Apple.

I had this problem too, with Nano's that worked perfectly until I installed El Capitan.   I worked quite a while before I found out that Apple has implemented a new protective scheme in El Capitan called System Integrity Protection.  SIP doesn't let third-party software tickle the system parameters unless it has been approved by Apple.  The USB drivers used by a lot of non-native (I'm trying to be politically correct here) Uno variants aren't on Apple's happy-list, and from my investigation, I don't think there's a workaround.

I rolled myself back to Yosemite.  If you made a backup before the upgrade, just jettison EC and go back.  I can't advise you on how to get rid of EC if you don't have a backup.

Good luck.  My opinion of Apple has gone way down.

jboyton

#2
Oct 23, 2015, 02:11 am Last Edit: Oct 23, 2015, 02:16 am by jboyton
It's possible to disable SIP, although (naturally) Apple doesn't make this easy. I'm simply never going to upgrade to El Capitan. And my next computer will run Windows.

el_supremo

Don't send me technical questions via Private Message.

rlabatt

OK - was able to get the Arduino IDE working with my factory Arduino Uno. Uploaded and ran the simple blinking LED on pin 13. No issues. Here is what I did:

Environment:
- OS X El Capitan v10.11.1
- Arduino IDE v1.6.6 hourly build 2015/10/14 1607hrs

Disabled OS X SIP (don't do this unless you know what you are doing and why)
- Reboot your Mac into Recovery Mode by restarting your computer and holding down Command+R until the Apple logo appears on your screen.
- Click Utilities > Terminal.
- In the Terminal window, type in csrutil disable and press Enter.
- Restart your Mac.

SIP is now disabled. You can reenable it at any by following the above instructions and substituting csrutil enable in for the Terminal command.

Arduino works as expected.

Good luck.

ardn00bo

rlabatt,

Tried an official Mega 2560 + Mac OS X 10.11?

An Uno compatible board - RedBoard works for me, but an official 2560 does not. Mac doesn't recognize it as a serial device.





Hal_cat

-->  rlabatt

Environment:
OS X El Capitan 10.11.1
Both Arduino IDE hourly build 10/14 and 10/27
Uno R3 and Leonardo

Rebooted in Recovery mode.  Used the csrutil disable, got the accepted message, rebooted the computer, still unable to communicate with the Uno R3, bluetooth still disabled after the attempt to upload.

I checked with csrutil status and indeed SIP was disabled.

I also had to use the force quit app to get the arduino app to quit.

Did you update to El Capitan or do a clean install?

What else might you have done?

ardn00bo

Genuine Arduino's do not work on Mac OS X El Capitan 10.11  for me.

10.11 + Genuine Uno + csrutil disable = no serial port
10.11 + Redboard Uno + pre-installed AppleUSBFTDI = serial port detected

10.11 + Genuine Mega 2650 + csrutil disable = no serial port
10.11 + Chinese Clone Mega 2560 + CH430  = serial port detected

Anyone have a fix?





cmug

I can't upload to Arduino board.
I get the wrong USB driver (iMac OSX 10.11 El Capitan). My board is UNO with USB driver chip MEGA 16U2. As I connect the board to the computer and start Arduino-software (IDE 1.6.5) I get USB driver:  /dev/cu.usbmodem1D11
This driver does not work.
As I used also my laptops in my laboratory at school (Macbook Air OSX 10.11 El Capitan), they work fine. With same print board  (Arduino Uno) then I get for the drivers dev/cu.usbmodem1411
Tested with Arduino IDE 1.6.5.R5, Later tried 1.0.6 and 1.6.6 but these version also doesn't work .

Found this document, but still don't get it worked.
http://www.ftdichip.com/Support/Documents/AppNotes/AN_134_FTDI_Drivers_Installation_Guide_for_MAC_OSX.pdf

GrahamPrattWyalong

[quote
- Click Utilities > Terminal.
- In the Terminal window, type in csrutil disable and press Enter.
- Restart your Mac.

SIP is now disabled.

[/quote]

I downloaded El Capitan on 2/11/2015... I have the same problem BUT the terminal looked at me longingly and with a bovine glare it said that crsutil does not exist......



Sure enough, not trusting the big white and silver cow I checked and an ls revealed nothing of any significance!

Have they decided that they will not let us have access to our computers?

Any ideas would be greatly appreciated.

Regards.

Graham. :o

GrahamPrattWyalong

I downloaded El Capitan on 2/11/2015... I have the same problem BUT the terminal looked at me longingly and with a bovine glare it said that crsutil does not exist......


Clearly I have the bovine glare.... Heheheh there appears to be a difference between crsutil and crsutil.

I did find in my search that someone else has found you can leave it enabled but just disable t he key checking on the sip....

Crsutil enable --without kext

Cheers

Now however I have a compile error  saying /bin/avr-g++: no such file or directory

Hmmmmmm

phreakhead

I'm having the same problem with El Capitan and an Arduino Due. There's an open issue about it on the Arduino github, so we're working on it!

Also it seems that Paul from Teensyduino had the same problem but somehow fixed it: https://forum.pjrc.com/threads/31043-Teensyduino-1-26-Beta-1-Available

KobeH

Hi
im new to Arduino, just bought my first Arduino Uno. My computer runs MAC OS X YOSEMITE 10.10.4 and i can't see any serial ports under the "tools->port" menu, all i see are bluetooth ports.
 Does anyone have any idea?

jarik

Are there any news about it? A have two arduino mega, one uno r3, and digispark (with attiny85) and none of them work :(
(no, my boards are not ch340, they use mega16u2 chips for usb)

PhilippeFromGpe


I had problems until I inserted a usb hub between my iMac (el Capitan) and my original ardunino Uno and now it's working.

Each time I tried to upload a sketch, cpu goes to 100% and I was not able to open serial monitor

Now, with the usb hub, I can open the serial monitor, compile  and upload sketches without troubles.

On the Mac console windows , the only difference is I don't see anymore  the following message :
AppleUSBHostPort::resetGated: retrying enumeration in 100 ms

I hope this will help someone
42 est la réponse

Go Up