Skip to content
This repository was archived by the owner on Oct 22, 2021. It is now read-only.

Port detection doesn't work on macOS Catalina #60

Closed
sstaub opened this issue Oct 21, 2019 · 64 comments
Closed

Port detection doesn't work on macOS Catalina #60

sstaub opened this issue Oct 21, 2019 · 64 comments
Labels
type: imperfection Something isn't working

Comments

@sstaub
Copy link

sstaub commented Oct 21, 2019

Describe the bug
It is not possible to upload code to the boards because Port Detection doesn't work.
No Port is shown in the board manager. I tried with Nano Every and Uno, no luck.

  • OS macOS Catalina (MacBook Pro 15'' 2018)
  • Version 0.0.1
@sstaub sstaub added the type: imperfection Something isn't working label Oct 21, 2019
@rsora
Copy link
Contributor

rsora commented Oct 21, 2019

Hi @sstaub, thanks for your report.
does this snapshot build for macos solve your issue?

https://downloads.arduino.cc/arduino-pro-ide/snapshots/arduino-pro-ide-0.0.1-alpha.preview-snapshot-20191021.1-osx.dmg

please let us know!

@sstaub
Copy link
Author

sstaub commented Oct 21, 2019

Test it, but it did not work. In the board list some items are grayed out (see snapshot) ???
Maybe it will better to select the port from the status bar like the Arduino PlugIn from MS on VSC does.
ports

@engineerJishnu
Copy link

Hi @sstaub, thanks for your report.
does this snapshot build for macos solve your issue?

https://downloads.arduino.cc/arduino-pro-ide/snapshots/arduino-pro-ide-0.0.1-alpha.preview-snapshot-20191021.1-osx.dmg

please let us know!

I tested on Mac OS Mohave and port can be seen and can upload.

@sstaub
Copy link
Author

sstaub commented Oct 21, 2019

Sorry, No. The port detection works on 1.810 without a problem, also on PlatformIO.
There are some changes on handling USB port on macOS Catalina which causes some problems with drivers.

@engineerJishnu
Copy link

Sorry, No. The port detection works on 1.810 without a problem, also on PlatformIO.
There are some changes on handling USB port on macOS Catalina which causes some problems with drivers.

may be, that's why I haven't still updated my OS from Mohave to Catalina.
Screen Shot 2019-10-21 at 9 30 32 PM

@Mas7ro
Copy link

Mas7ro commented Oct 21, 2019

no port detected also for me:
Arduino PoC 0.0.1 (0.0.1.20191018.1)
Mac OsX 10.12.6 sierra

@F-K-F-F
Copy link

F-K-F-F commented Oct 21, 2019

no port detected on Ubuntu 18.04.03.

@Mas7ro
Copy link

Mas7ro commented Oct 21, 2019

Hi @sstaub, thanks for your report.
does this snapshot build for macos solve your issue?

https://downloads.arduino.cc/arduino-pro-ide/snapshots/arduino-pro-ide-0.0.1-alpha.preview-snapshot-20191021.1-osx.dmg

please let us know!

for me this build It runs!!!
except for Serial monitor
on Mac OsX 10.12.6 sierra
Serial Monitor don't sends to Arduino but it reads from it

@sstaub
Copy link
Author

sstaub commented Oct 21, 2019

No, the board manager is now empty.
empty board manager
board selection

@rdaisson
Copy link

Hi @sstaub, thanks for your report.
does this snapshot build for macos solve your issue?

https://downloads.arduino.cc/arduino-pro-ide/snapshots/arduino-pro-ide-0.0.1-alpha.preview-snapshot-20191021.1-osx.dmg

please let us know!

For me it works. I'm using MacOS Catalina 10.15.1 Beta (19B77a) on a MacBook Pro Retina 2013.

@sstaub
Copy link
Author

sstaub commented Oct 22, 2019

Now it works, thank you.

@SaiAnjan
Copy link

Hi,
I cannot get my port shown up in this either.... Can you help me.
Screenshot 2019-12-30 at 1 11 55 PM
Screenshot 2019-12-30 at 1 12 06 PM

@rocketkittens
Copy link

Why is this issue closed? Arduino doesn't work with OSX, there are no longer any supported drivers. Try any other operating system.

@PaulStoffregen
Copy link

Why is this issue closed?

Might have something to do with the feedback "Now it works, thank you" from Oct 21. Scroll up to see it.

@sstaub
Copy link
Author

sstaub commented Jan 9, 2020

With v0.0.3 on macOS Catalina 10.15.2 it works, my UNO is recognized and I can upload and also receive data in the serial monitor..

@johnjeremih
Copy link

@SaiAnjan did you fix the problem?

@mastrolinux
Copy link
Contributor

@andrewwatson
Copy link

Even in v.0.0.5-alpha preview i don't have any ports listed to communicate with my board

@ubidefeo
Copy link

@andrewwatson which boards are you testing with?

@fen1x2609
Copy link

@andrewwatson i had the same problem with my mega board, i uninstalled everything related to arduino and updated to macOS 10.15.4 to give it a shot and it works with v.0.0.5-alpha, and now i can connect and see the port automatically. I believe Apple fixed the issue.
Screenshot 2020-03-25 at 13 59 55
Screenshot 2020-03-25 at 14 01 41

@MatteFrank
Copy link

Hi everyone, I tried the suggested operations but I sill cannot se any suitable ports.
I'm using Arduino One with macOS 10.15.4 on macPro. The board is connected via an USBc adapter (the LEDs are on). Using v0.0.5-alpha.preview.

image

@MatteFrank
Copy link

Solved restarting and reinstalling... sorry for the spam. Now it works.

@andrewwatson
Copy link

@andrewwatson which boards are you testing with?

I'm using an AdaFruit HUZZAH Feather board. It used to work with older versions of Mac OS/X.

@fen1x2609
Copy link

Im using an ELEGOO MEGA 2560 R3 Board Black

@andrewwatson
Copy link

So I figured out the problem. It was the cable I was using!

@ehubbell
Copy link

I'm still running into this issue despite following the steps mentioned above. I've restarted, reinstalled, etc and still showing no boards via the Arduino Pro IDE even though I do show the board via the MacOS system hardware section and am able to work with the board via Arduino-Cli and the Arduino Cloud IDE.

Am I missing a step to load the board into the Arduino Pro IDE? Thanks for the help!

Setup:
Arduino Pro IDE v0.0.5
MacOS v10.15.4
Arduino Uno

arduino-pro-ide

system-hardware

Arduino-cli

@JNSD90
Copy link

JNSD90 commented Apr 23, 2020

Same issue happing for me as well. Have tried everything I can (I'm a total newb though, so pardon my newb).

  • GY-Arduino ISP V2 - TinyUSB ISP
  • MacBook Pro 2019, 10.15.4

Have tried about five different USB to Micro USB cables, even bought a USBC to Micro USB to bypass the USBC hub I have to use.

Can see that there is something connected in System Preferences:
FabISP:
Product ID: 0x0c9f
Vendor ID: 0x1781
Version: 1.04
Speed: Up to 1.5 Mb/s
Location ID: 0x14300000 / 6
Current Available (mA): 500
Extra Operating Current (mA): 0

Tried so many things in terminal, have never been able to see any ports that are relevant. Only see the Bluetooth ports.
Screen Shot 2020-04-23 at 6 01 53 pm
Screen Shot 2020-04-23 at 5 55 13 pm
Screen Shot 2020-04-23 at 5 27 17 pm

I've entered this world as I want to program my Turnigy 9x V2 using OpenTX Companion, seemed soooooo easy on Youtube, yet here we are two days later and about 10hrs...

If anyone can shed some light on this insanely frustrating problem it would be SO appreciated.

Who'd of thought it would be so hard to plug something in? A lifelong Mac user, that's who...

@ubidefeo
Copy link

@ehubbell @JNSD90
can you specify which boards you are using?
manufacturer, model, source, even USB to TTL Serial chip
every modern board manufactured by Arduino uses USB bridging technologies which do not require drivers on Windows, Linux, Mac OS.
if your system does not see your board it means that there are no drivers installed for the USB bridge chip.
I do not want to jump to assumptions but you might have a clone board using a CP2102 or CH340 adapter and then you need to install drivers :)

@ubidefeo
Copy link

@ghost7575-png
if your board is not an original it might be using a CH340 USB chip which needs a driver for your OS.
Of the board is made by Arduino it needs no drivers.
Can you try downloading the classic IDE and see if it shows up?
If it doesn't the your board is the problem.
Please refer to support where you purchased your board from

@ghost7575-png
Copy link

@ghost7575-png
if your board is not an original it might be using a CH340 USB chip which needs a driver for your OS.
Of the board is made by Arduino it needs no drivers.
Can you try downloading the classic IDE and see if it shows up?
If it doesn't the your board is the problem.
Please refer to support where you purchased your board from

Thanks for the reply. It turns out, what I had wired was drawing too much power from the board I believe. This caused the port to be unrecognized. Silly fix but good to know nothing was wrong with the board.

@ehubbell
Copy link

@ubidefeo apologies for the delay. I purchased the board from the Arduino store online (https://www.arduino.cc/) so pretty sure it's legit. The board is also recognized via Arduino-Cli and the Arduino Cloud IDE. Here's the version and a link to the item purchased:

Arduino Uno Rev3
SKU: 8058333490090
https://store.arduino.cc/usa/arduino-uno-rev3

@withersc
Copy link

withersc commented May 17, 2020

to anyone still looking for an answer, i found a solution after a lot of frustration.

The issue for me was a missing CH340 driver for the ftdi chip on my board. I removed all of the old drivers i had tried from "macintosh HD>library>extensions" and then i installed the CH340 driver for mac linked on this page: https://learn.sparkfun.com/tutorials/how-to-install-ch340-drivers/all (Driver v1.5 (2018-07-04)). finally i was able to see the port at "dev/cu.usbserial..."

previously i had only been able to see bluetooth ports as others described, but when i tested another board that did not have ftdi, i noticed i could see its port on catalina 10.15.4 without any drivers installed, which lead me to discover that the issue with my original board was the missing FTDI driver

hope this helps!

@withersc
Copy link

CH341SER_MAC.ZIP
here is the actual zip for the linked driver

@gaskb
Copy link

gaskb commented May 22, 2020

I'm trying to use arduino pro ide to program an ESP8266 without success:

  • with alpha001 I don't see ports at all
  • with alpha006 (0.0.6.20200409.2) I cant' see ESP8266 (or wifiduino) in boards list (and I don't see ports except "system" ports.
    I'm using a Macbook with Catalina (10.15.4)
    I need to install some driver too ?

Thanks in advance :)

@rwaelty
Copy link

rwaelty commented Jun 14, 2020

Under the Arduino IDE all ESP-32 Units can not be programmed with Mac OS Catalina 10.15.5. 10.15.5 had a second update from Apple. After the first update the Silicon Labs Driver was working, but only for a short time. With the second update Apple closed the Silicon Labs Driver "CP210x Macintosh OSX VCP Driver 5.3.5 - February 25, 2020" again. And Silicon Labs is not willing to deliver a Driver which is correctly signed by Apple. So at the moment it is not possible to program ESP-32 Units with Arduino. After the Virus this is an other "Lockdown".

@ubidefeo
Copy link

@rwaelty
unfortunately Catalina is the worst thing that could happen to the Mac OS world, and if you're unfortunate enough not to have hardware that can be rolled back to Mojave there's nothing you can do to address this kind of issues.
Our more recent boards (UNO and beyond) do not require drivers to work on Mac OS, but we had our own woes with the notarisation process for Catalina.
It is a pain in the teeth :(

@ubidefeo
Copy link

ubidefeo commented Jun 14, 2020

@ehubbell
my apologies back at you, I've completely missed your mention in the myriad of GH notifications I get every day 😓

have you downloaded release 0.0.6 yet?
if a board is not found then its core is not installed, but the IDE should be able to address that.
I'll try keep an eye open for your reply, let me know 🙏

@rwaelty
Copy link

rwaelty commented Jun 14, 2020

@ubidefeo
Thank for Your answer. To be honest, I wouldn't be using an old Mac system anymore. I haven't had a virus or worm with Apple since 1980. There is a reason for that. Apple has communicated for over a year that kernel extensions will be made more secure in the future and old ones will no longer work. It is the same as with the 32 bit programs, there was also the prospect that only 64 bit programs would work in the future. Arduino together with other firms overslept that too. But some programmers think waiting will solve the problems. Unfortunately, this is not the case, you should make adjustments in good time. Apple provides all the necessary tools. Well I'm not the seller of CP 2102 N IC’s Silicon Labs is.

@ubidefeo
Copy link

I know very well what you mean, @rwaelty
I never had a problem with malware on any of my systems either (except that DOS virus I got on a floppy in 1994), it's just that over the past few years Apple's releases have often been problematic at launch.
I usually turn to a new OS when the next one is launched, as Apple timely releases patches for the currently alive OS any time a vulnerability comes up.
Catalina is another beast, and I know way too many developers, musicians and designers who had complaints about it.
I'm still within my safe time window for upgrades, and have yet to find a feature I need in Catalina, while Mojave has been a great OS for all my needs and machines :)
That said, our products (software/hardware) work very well on Catalina, we activated the notarisation process as soon as it was required for both IDE and Agent, and the USB-Serial bridge on our boards is not handled by chips requiring 3rd party drivers.
Unfortunately we can't do anything to address issues related to boards manufactured by others, but we try to point users reporting such issues to the right resources, because often such problems are reported as "your software doesn't work" (you should see the forums :D )
I hope SiLab gets their game together, because the CP2102/2104 are good adapters

@rwaelty
Copy link

rwaelty commented Jun 15, 2020

@ubidefeo
After several e-mail's to Silicon Labs I gave it up. They insisted that their driver is working with Mac OS 10.15.4 and Mac OS 10.15.5. We know this is not true. In the meantime I'm glad that all other Arduino CPU's are working. :-)

@paris007
Copy link

This issue is still unresolved for me. I am on 10.15.5 and I am trying to program Itsybitsy board (nrf52840 express). The port is still unrecognized. Any suggestions?

@ubidefeo
Copy link

@paris007
if you read the whole thread you'll see that while at the beginning the issue was in some cases due to our tools, following releases have fixed it.
As @rwaelty also discovered upon several attempts this is SiLab's fault with providing unreliable drivers for Mac OS Catalina.
The issues is with the hardware, not the software, and this board is engineered by Adafruit.
You can see this issue reported on their forum

Unfortunately Mac OS Catalina (and any future release) has made it harder to create drivers, and it's up to the manufacturers to rectify this situation.
When the device is recognised on a system level our tools are most likely able to deal with it, but unfortunately we have absolutely no power over drivers for a chip in a specific OS

@djmalo
Copy link

djmalo commented Jan 16, 2021

Having this issue with MacOS 10.13.6 High Sierra. Have tried the suggested remedies, still not working. Using (or at least attempting to use) a genuine Arduino Nano Every Board. USB not recognized. Any addtional suggestions?

@ubidefeo
Copy link

@djmalo your issue might not be related to what's in this thread, but I'll try and help you troubleshoot.

High Sierra does not suffer USB drivers issues of this kind unless you have messed up some system extension (I've been there with SIP disabled making a mess of kexts).
The Nano Every has USB implemented via a SAMD11, and you can't easily mess that up.
Could you try on another machine and see if it shows up?

One thing you might try as well is uninstalling support for MegaAVR using the Boards Manager and installing it again.

I hope I can help you resolve this
cheers
ubi

@djmalo
Copy link

djmalo commented Jan 16, 2021 via email

@djmalo
Copy link

djmalo commented Jan 17, 2021 via email

@ubidefeo
Copy link

@djmalo if it also didn't work on another laptop then it's definitely the board or the cable.
I guess you have a tried another cable already.
If it's not that then return the board and get a replacement

@djmalo
Copy link

djmalo commented Jan 17, 2021

Bought a three pack of boards and none of them are working. It can't be all three. Had a friend load code on two of them and they were recognized by his Windows CPU. Just tried out over 15 cables (every one in the house, some of which I know have transferred data before), none worked. Really feels like an OS issue.

@ubidefeo
Copy link

Bought a three pack of boards and none of them are working.

they were recognized by his Windows CPU

I did not have these precious bits of information ;)

Definitely an issue with the build of the IDE on Mac OS.
Are you using 0.1.3?
I should have a Nano Every lying around here at home so I'll give it a shot

@djmalo
Copy link

djmalo commented Jan 17, 2021

Believe I'm using 1.8.13? Here's a screenshot of the about screen.
Screen Shot 2021-01-17 at 12 59 41 AM

@djmalo
Copy link

djmalo commented Jan 17, 2021

Same issue in this version:
Screen Shot 2021-01-17 at 1 11 31 AM

@djmalo
Copy link

djmalo commented Jan 17, 2021

Thank you

@ubidefeo
Copy link

@djmalo
I have connected my Nano Every and it showed up right away.
The fact that they don't show up on Mac but worked on Windows is a bit concerning to me.
Only thing you have not confirmed to me is if you have tried another USB cable or dongle/hub (assuming USB-C port)

If you have I'll bring a couple more colleagues into the thread and see if they have any idea.

@ubidefeo
Copy link

also, could you open Terminal, launch the following command and paste the output here?

ls -la /dev/cu.*

@djmalo
Copy link

djmalo commented Jan 17, 2021

Tried over 15 cables. Including one marked AWM 2725, which is a data/charge specific cable type.
Here is the printout from the screen
Screen Shot 2021-01-17 at 10 37 16 AM

@ubidefeo
Copy link

Where did you buy these boards from? Our store or a reseller?

Also time to bring in some of my colleagues, because I have no idea why this happens.
I'll recap the story for them:

  • Arduino Nano Every (3 boards)
  • Mac os High Sierra
  • Java IDE 1.8.13
  • Pro IDE 0.1.3
  • multiple USB cables tested
  • Did not work on another Mac
  • Did work on a friend's Windows machine (two boards were successfully flashed)

@cmaglie @per1234 @Rocketct
help us figure this out, please :)

@djmalo
Copy link

djmalo commented Jan 18, 2021

Through the Arduino Amazon store. Here is the link from my purchase.
https://www.amazon.com/gp/product/B07YQ56B6Q/ref=ppx_yo_dt_b_asin_title_o00_s01?ie=UTF8&psc=1

Just for note. Installed Arduino IDE on another MacBook of mine (Catalina) last night and it did not recognize the boards as well. Even tried installing Ubuntu on same device and it didn't recognize the board, (though I'm not an Ubuntu user, so that could have been my error)

@ubidefeo
Copy link

@djmalo
this is an extremely weird behaviour.
I have them running on both Mojave and Catalina, and I remember using one on an old machine still running High Sierra.
I'll ping my colleagues again tomorrow.
What's really strange to me is that they worked on the Windows machine and you can't seem to be able to use them on Mac at all

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: imperfection Something isn't working
Projects
None yet
Development

No branches or pull requests