nodemcu-devkit icon indicating copy to clipboard operation
nodemcu-devkit copied to clipboard

CH340G driver support for OS X

Open marcoskirsch opened this issue 9 years ago • 10 comments

I really would like to buy and use NodeMCU, but one problem I have with it is its use of CH340G for USB to serial. It's not so much the part, but the lack of signed drivers for OS X. I understand that there are unsigned drivers for it, but it's unreasonable to ask OS X users to turn off checks.

Option 1: Is it possible to make signed drivers available?

Option 2: Use a different chip for USB to serial. Apple provides drivers for Prolific the prolific chipset built in with the OS X. This would be best since clients wouldn't even need to install drivers.

marcoskirsch avatar Mar 06 '15 16:03 marcoskirsch

Our new version devkit 1.0 uses CP2102 and can used in OSX, and comming.

vowstar avatar Mar 08 '15 11:03 vowstar

That's great, I suppose you can close this then, but the schematic is outdated. I don't want to hijack this thread but: when will it be available and what will be the best way to purchase in the US?

marcoskirsch avatar Mar 08 '15 17:03 marcoskirsch

What about devkit 0.9?

MacDada avatar Apr 17 '15 01:04 MacDada

I hate to link to a commercial product, but https://www.mac-usb-serial.com - ~$7.50 for signed drivers. Given how cheap the 0.9 devkit is right now, I figured I'd try it.

They work for me as far as AT commands and the LUA REPL, however, I can't flash: some details at themadinventor/esptool#26 - looks like there are other issues with 0.9, so I'd avoid it.

abl avatar Apr 17 '15 04:04 abl

Hi all, to fix this bug, we need your help. The vendor of CH340G is WCH, we have contact them but they do not pay attention. I think if more and more people feedback this problem, they will give us signed drivers for OS X. Please send this issue about CH340G drivers for OS X to [email protected], help us fix it. Our new version is released, and using CP2102 have signed drivers for OS X. https://github.com/nodemcu/nodemcu-devkit-v1.0

vowstar avatar May 15 '15 15:05 vowstar

Our new version is released, and using CP2102 have signed drivers for OS X.

@vowstar I've just bought devkit v1.0 – where do I find the drivers? There are some over the Internet, but I wanna be sure I use the correct one…

MacDada avatar Jul 08 '15 11:07 MacDada

The SiLabs drivers are the right ones for NodeMCU devkit 1.0 and work out of the box on Yosemite. I have not been able to flash the firmware of the device though, and I don't know if that's due to the drivers.

marcoskirsch avatar Jul 08 '15 13:07 marcoskirsch

@marcoskirsch connect a serial terminal at 74880 baud and then try to put your device in flash mode; per https://github.com/esp8266/esp8266-wiki/wiki/Boot-Process you want boot mode (1,7) - anything else indicates an issue with your wiring or your power supply.

abl avatar Jul 08 '15 15:07 abl

Thanks @abl. In the interest of not derailing the conversation on the original issue, I opened a separate one: https://github.com/nodemcu/nodemcu-devkit-v1.0/issues/3

marcoskirsch avatar Jul 08 '15 19:07 marcoskirsch

I found these links where I only had to install the latest Arduino IDE from its website and then the drivers from either Github or the manufacturer’s website

https://github.com/adrianmihalko/ch340g-ch34g-ch34x-mac-os-x-driver

http://www.wch.cn/download/CH341SER_MAC_ZIP.html

The links were suggested on this thread https://forum.arduino.cc/t/ch341ser_mac-no-longer-works-in-macos-sierra/411952/11

nourspace avatar Oct 23 '21 21:10 nourspace