Latest macOS Sierra/High Sierra-compatible driver for devices using the CH340G, CH34G or CH34X chipset. This chipset is used in several Arduino-compatible clones and serial-to-USB cables.
Specifications Winchiphead CH340 / CH341 / HL340 driver¶ The Prolific Winchiphead CH340 / CH341 / HL340 Serial Driver for Apple Mac OS X driver is the reliable interface between your CH340 / CH341 / HL340 based cable and your Mac. The driver supports many CH340 / CH341 / HL340 based dongles and USB interfaces, like clone Arduino’s. Open Device Manager and check whether the CH340 driver is installed. If you can see the CH340 driver on Device Manager, mBlock 5 is supported to identity the serial port properly. If you can see the driver but mBlock 5 still fails to identify the serial port, the identification program of mBlock 5 may be blocked by the security software.
Do not install if you have the current macOS Mojave 10.14 or later. macOS Mojave 10.14 (released in October 2018) includes a CH34x driver by Apple. If both Apple's and the OEM driver are installed, they will create conflicting non-functional serial ports. Steps 1 to 3 below can be useful to remove the conflicting OEM drivers.
If you use Apple's driver and have problems with the serial communication, ensure the data rate is 460,800 bps or lower.
Version 1.5 (2018-07-05) of the OEM driver for the CH34x chipset.
Version 1.4 (2017-01-11) of the OEM driver for the CH34x chipset.
Version 1.3 (2016-09-27) of the OEM driver causes a kernel panic (a.k.a. crash) when installed on macOS Sierra.
sudo kextunload /Library/Extensions/usbserial.kext
sudo kextunload /System/Library/Extensions/usb.kext
sudo rm -rf /System/Library/Extensions/usb.kext
sudo rm -rf /Library/Extensions/usbserial.kext
CH34x_Install_V1.5.pkg
file and install (no need to reboot)sudo kextload /Library/Extensions/usbserial.kext
/dev
directory. Examples:/dev/cu.wchusbserial1410
/dev/tty.wchusbserial14210
(driver version 1.5)brew tap adrianmihalko/ch340g-ch34g-ch34x-mac-os-x-driver https://github.com/adrianmihalko/ch340g-ch34g-ch34x-mac-os-x-driver
brew cask install wch-ch34x-usb-serial-driver
If the device doesn't show up under /dev
, check the section 'Security and Privacy' in System Preferences for any notices about blocked software.
Note: disabling System Integrity Protection is no longer necessary, as the current drivers are properly signed by the OEM. If you're having problems, they're almost certainly not related to SIP. The instructions below are left only for reference purposes. If you had previously disabled it (especially if you did so completely), you are strongly encouraged to fully re-enable SIP.
Jbridgem for mac. If, and only if, the device is not recognized after the installation (or you cannot install the driver), please disable System Integrity Protection:
Command+R
until the Apple logo appears on screen.csrutil enable --without kext
(or to fully disable: csrutil disable
) and press Enter
.Please share this page!
Regards,
Adrian Mihalko
www.mihalko.eu
p.s:I LOVE coffee! Buy me a coffee at: