esp8266Workshop icon indicating copy to clipboard operation
esp8266Workshop copied to clipboard

"brew cask install homebrew/cask-drivers/wch-ch34x-usb-serial-driver" doesn't work on my macbook

Open janvda opened this issue 4 years ago • 2 comments

I wanted to install the required drivers for my macbook as specified on page "Installing the prerequisite software ..." So I tried to execute the below command on my macbook


brew cask install homebrew/cask-drivers/wch-ch34x-usb-serial-driver

but I got error Unknown command: cask :

mac-jan:~ jan$ brew cask install homebrew/cask-drivers/wch-ch34x-usb-serial-driver
Error: Unknown command: cask
mac-jan:~ jan$ 

janvda avatar Oct 15 '21 15:10 janvda

I managed to install the driver by executing following 2 commands (see also Homebrew/homebrew-cask-drivers)

brew tap homebrew/cask-drivers
brew install wch-ch34x-usb-serial-driver

janvda avatar Oct 15 '21 15:10 janvda

my macbook pro version = macOS Big Sur version 11.6

Working solution

  1. I installed the Mac OSX Driver (version v6.0.1 2021-03-31) from site : https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers
  2. I rebooted my macbook pro
  3. I successfully uploaded CheckFlashConfig to my NodeMcu V3 device :

image

  1. and it is also properly printed the flash details to the serial monitor

image

So in my case the serial port is /dev/cu.usbserial-1410.

Also note that I only have USB-C ports on my macbook pro. So I have connected my NodeMCU to my macbook via an USB-C adaptor with a USB-A port + USB-A to micro USB cable.

janvda avatar Oct 15 '21 22:10 janvda