espressif / esp-idf

Espressif IoT Development Framework. Official development framework for Espressif SoCs.
Apache License 2.0
13.77k stars 7.31k forks source link

Macbook Pro Built In Ports don't detect ESP32 c3 Mini (IDFGH-9360) #10735

Open Gangwa-Labs opened 1 year ago

Gangwa-Labs commented 1 year ago

Answers checklist.

IDF version.

ESP-IDF v5.0-dirty

Operating System used.

macOS

How did you build your project?

Other (please specify in More Information)

If you are using Windows, please specify command line type.

None

What is the expected behavior?

When plugging in the board to my computer the usb port should detect the device and show up as a serial port

What is the actual behavior?

Nothing shows up when running the port select command through VS code and the Device does not show up on the system information app for apple.

Steps to reproduce.

plug in esp32c3 mini 1 into 2019 macbook pro.

Build or installation Logs.

No response

More Information.

The serial port is recognized in certain cases:

The serial port is not recognized when:

I've tested on 3 different macbook pros of the same year and hardware plugged directly into the computer and none of them will detect the board. When the board is plugged into an adapter or a thunderbolt dock it will detect the device and give it a serial port. I've tested with 5 different usb-c cables and know it isn't that because when used in one of the good configurations it will work.

In the working conditions I've had no problems building and uploading. It will not detect the device when it is directly plugged in to any of the 4 macbook pro ports.

igrr commented 1 year ago

Hi @Gringl, Could you please check the USB VID:PID of the development board in one of the working configurations? You can find it under System Information > USB. Most likely it will be either 0x10C4:0xEA60 (CP2102N) or 0x303A:0x1001 (ESP32-C3 built-in USB_SERIAL_JTAG). Also, are you using one of the commercially available development boards (if so, which?) or a custom PCB?