Unable to connect to ESP32 via USB-2/USB-C Mac

Trying to connect to an ESP32. The connections are as follows:
Mac machine: USB-C
Adaptor: USB-C to USB-3 female
Cable: USB-2 (I think) to USB-C male
ESP32: USB-C female Correction: Micros USB

Error in IDE when connecting is "Could not connect to /dev/cu.usbserial-0001 serial port. The monitor configuration is missing."

which type of Mac and which macOS version?
which version of the IDE?
did you install a driver?

Mac: Apple M1 Max
OS: Sonoma 14.5
IDE: Version: 2.3.2
Driver: No driver installed.

OK the Mac should recognise your board without a driver then

The Mac is pretty picky about the USB cable quality. Do you have an USB C to UB C cable ?

1 Like

The Mac is pretty picky about the USB cable quality.

Yes -- I've noticed!

Do you have an USB C to UB C cable ?

I do, but it turns out I was mistaken: The port on the ESP32 is micro USB, and I don't have USB-C to Micro-USB. Purchasing now.

What works well for me is an USB2 hub connected to the Mac via USB-C and then standard cables usb2 to whatever usb on the Arduino.

1 Like

I've moved your topic to a section that is more suitable for board detection problems. You anyway posted in the IDE 1.x section while you're using IDE 2.x (which has its own section on the forum).

1 Like

@J-M-L Thanks for that. Problem solved!

Adding a little more detail: I had a prior experience where the IDE (pre version 2) in MacOS was not seeing a connected ESP32, and discovered the same solution: Connect to a USB-C to a hub instead of through a single adaptor.

This time (i.e. since upgrading the IDE to v2) the same solution didn't seem to be working.

In fact it ultimately worked just fine. The fix was to use a USB-2 port instead of a USB-3 port on the hub.

I wonder if the problem all along was, not the version upgrade, nor the hub per se, but rather trying to connect from Mac to ESP32 using USB-3 instead of USB-2?

Thanks again for the solution.

The ESP are USB2 devices which has a maximum data transfer rate of 480 Mbps while USB 3 is significantly faster at 5 Gbps.

Whilst in theory USB 3 is backward compatible with USB 2 (you can plug a USB 2 device into a USB 3 port and it will operate at USB 2.0 speeds) some USB hubs do not properly negotiate the connection between USB 2 devices and USB 3 ports and can cause the Mac to fail to recognize the device or operate it at reduced functionality (and you flood the ESP) , and some other USB3 hubs can have issues with timing / initialization when a USB 2 device is connected, confusing the Mac during the connection process.

So a good hub and good cables and USB2 ports help

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.