After Catalina, sketch upload fails, can't find UART

Just upgraded Macbook to Catalina (MacOS 10.15.7). First sketch upload failed. Error messages ...

Arduino: 1.8.10 (Mac OS X), Board: "Adafruit ESP32 Feather, 80MHz, 921600, None"

Sketch uses 682910 bytes (52%) of program storage space. Maximum is 1310720 bytes.
Global variables use 39240 bytes (11%) of dynamic memory, leaving 288440 bytes for local variables. Maximum is 327680 bytes.
Traceback (most recent call last):
esptool.py v2.6
  File "esptool.py", line 2959, in <module>
Serial port /dev/cu.SLAB_USBtoUART
  File "esptool.py", line 2952, in _main
  File "esptool.py", line 2652, in main
  File "esptool.py", line 222, in __init__
  File "serial/__init__.py", line 88, in serial_for_url
  File "serial/serialposix.py", line 268, in open
serial.serialutil.SerialException: [Errno 2] could not open port /dev/cu.SLAB_USBtoUART: [Errno 2] No such file or directory: '/dev/cu.SLAB_USBtoUART'
Failed to execute script esptool
An error occurred while uploading the sketch

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

It appears not to be able to locate the UART (the cut off line ends '/dev/cu.SLAB_USBtoUART'). Indeed, /dev/cu* (from Terminal) has no entries.

However, AboutThisMac system report, USB tab, shows ...

CP2104 USB to UART Bridge Controller:

  Product ID:	0xea60
  Vendor ID:	0x10c4  (Silicon Laboratories, Inc.)
  Version:	1.00
  Serial Number:	018F280F
  Speed:	Up to 12 Mb/s
  Manufacturer:	Silicon Labs
  Location ID:	0x14100000 / 24
  Current Available (mA):	500
  Current Required (mA):	100
  Extra Operating Current (mA):	0

Sound like you need to uninstall and reinstall the IDE as the OS upgrade washed away some of the settings.

Realized I was using old version of Arduino IDE, so I downloaded and installed 1.8.16. But no change.

Even though I see the "USB to UART Bridge Controller" in Mac System Profiler (as shown in OP), when I list in Terminal, I see ...

% ls /dev/cu*
/dev/cu.Bluetooth-Incoming-Port      /dev/cu.usbserial-018F280F

So I used the Tools->Port dropdown (in Arduino IDE) and selected that port (/dev/cu.usbserial-018F280F) and the upload worked fine.

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