first my problem:
I am trying to use platformIO and arduinoIDE to talk to an esp8266-12e nodemcu with ch340 chip.
I get the same error messages in OSX el capitan. Iver used signed kext from both Replio and from codebender (not at the same time!!! they crash machines at the same time).
you can see that the drivers get loaded into the kernel and show up in /dev/tty.whatever when the device is plugged in.
I removed the drivers and installed linux mint in a virtual box VM. I add the USB device in virtual box and linux recognizes it. lsusb shows the device by manufaturer's name when you plug it in, and dmesg shows the ch340 driver loaded.
But still I get an error when it tries to write to /dev/tty.usb0 in platformIO in liinux.
thus I'm not using the mac software for the platformIO or any mac drivers for the ch340. Yet I still can't talk to it.
When I move the device over to a windows machine I can talk to it in arduinoIDE, platformIO and easy-ESP.pl
I'm totally stuffed on the mac.....
I've also tried to use over the air programming but I'm less confident I'm doing it right so I can't claim it's the mac that is the problem.
by the way a second problem I have with platformIO on the windows machine is that I can't keep a serial monitor open. Everytime I upload it closes the serial monitor. The nuiscance here is that I can't open the serial monitor back open fast enough to see the debug information that I print back to the serial monitor. I'm not very good with windows so I don't know how to keep a serial monitor open to the port. Is there way way to continuously monitor the device?
I have tired holding the flash button down during the upload but this does not change the error.