Thanks to this source for patching the driver: https://github.com/adrianmihalko/ch340g-ch34g-ch34x-mac-os-x-driver for patching the driver.
Thanks to Björn’s Techblog for posting the driver.
ls /dev/tty*
and see is there device like tty.wchusbserial
;System Report→Hardware→USB
, on the right side USB Device Tree
there willbe device named “Vendor-Specific Device” and check if the Current is normal.If the steps upper don’t work at all, please try to install the package again.Please enter System Preferences ➜ Security & Privacy ➜ General, below thetitle 'Allow apps downloaded from:' you should choose the choice 2 ➜ 'Mac App Store andidentified developers' so that our driver will work normally. |
the following pre-installation steps are only required on the two most recent versions of OS-X Yosemite and El Capitan. It is because the driver is not signed properly from Apple’s perspective. We are waiting on the developer to update the driver so that these pre-installation steps are no longer needed. |
csrutil enable --without kext
sudo nvram boot-args='kext-dev-mode=1'
/dev/cu.wchusbserial1441140
/dev/cu.wchusbserial1441140
and then Eclipse can upload your sketch.