Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac OSX serial port problem #53

Closed
arrowcircle opened this issue Jul 22, 2018 · 4 comments
Closed

Mac OSX serial port problem #53

arrowcircle opened this issue Jul 22, 2018 · 4 comments

Comments

@arrowcircle
Copy link

Hi!
On Mac OSX nodemcu devices appear not as /dev/ttyUSB0, but as /dev/tty.SLAB_USBtoUART.

Here is two outputs:

./nodemcu-tool devices
[NodeMCU-Tool]~ Unable to establish connection
[NodeMCU-Tool]~ Cannot open port "/dev/ttyUSB0"
nodemcu-tool devices --port /dev/tty.SLAB_USBtoUART
[NodeMCU-Tool]~ Connected
[device]      ~ Arch: esp8266 | Version: 2.2.0 | ChipID: 0x3a7c4f | FlashID: 0x1640ef
[device]      ~ Connected Devices | Total: 1
[device]      ~ - /dev/tty.SLAB_USBtoUART (Silicon Labs, undefined)
[NodeMCU-Tool]~ disconnecting

How it could be fixed?

@AndiDittrich
Copy link
Owner

Hi @arrowcircle ,

hmmm it shouldn't open a port to list devices...i will check this.

best regards, Andi

@AndiDittrich
Copy link
Owner

HI @arrowcircle ,

thanks for your report! it is fixed in 3.0.1 (current master branch)

background: during the refactoring of the codebase i've used some special commands for testing...therefore the devices action tried to establish a serial connection which is not required by the command.

sorry for this!

best regards, Andi

@AndiDittrich
Copy link
Owner

v3.0.1 has been release (GitHub + NPM)

@arrowcircle
Copy link
Author

Thank You!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants