How to connect ESP32 to a MAC M2

I spend a little bit of time looking for :

HOW TO CONNECT AN ESP32-C6 dev module to my MAC [ CH340 communication chip ]

  • probably a chinese development board -

While using Arduino IDE, the ESP32 won't connect to your MAC, neither will show up on the serial ports list.

The driver for M1 that I found won't work with M2 models.

Here is how I fix it.

download the driver from here

here is how i found it.

CH341SER_MAC-2.ZIP

it works!!

Hope it helps

PS : In my case, in order to talk to my ESP32, i need to set the TOOLS/Upload Speed to 115200 or won't load the code.

3 Likes

Hi @dc265 ,

not only did you solve it yourself but you were nice enough to provide the forum with the information, awesome!!

don't forget to mark this as solved and give yourself the solution, you deserve it..

great job.. ~q

I doubt that the driver you linked to is suitable for your Mac M2. Those legacy drivers pre-date the changes in the security architecture of kernel extensions and USB.

To my knowledge macOS has included a CH340 driver for quite some time now and you should be fine without a driver.

Did you have a previous driver inherited from an old installation ?

note this as ESP32 are USB 2

Check the USB hub: If the device is connected to a USB hub, make sure the device and the hub are the same speed. Connect USB 3.0 SuperSpeed devices to a USB 3.0 SuperSpeed HUB, USB 2.0 Hi-Speed devices to a USB 2.0 Hi-Speed hub, and so on

right now is connected from USB-C to USB-C. But previously I tried with a hub, without the hub, USB-C to USB-A. nothing work before I installed that driver.
in any case, if you're going to connect an ESP32 to your Mac and it works, you don't need this input. It is only for those who found a problem connecting an ESP32-C6 to your MAC M2.

I would be very careful downloading a non signed or notarized driver from a Chinese site - even reputable - that’s asking you to lower your security….

don't give me troubles, give me solutions, :face_with_peeking_eye:

Which OS version do you have on that Mac and was that a blank install or you migrated a time Machine from a previous machine? (if you started by doing this (wether through migration / installation) and did not remove the driver and all its traces then you could have a conflict with Apple's builtin driver too)

I don't have a M2 to test with nor your specific ESP, so hard to tell.

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