binnes / esp8266Workshop

IoT workshop based on ESP8266, a DHT11/22 and neopixel RGB LED
Apache License 2.0
76 stars 75 forks source link

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

Open janvda opened 3 years ago

janvda commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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.