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

Can not connect from WSL #77

Open
horihiro opened this issue Jan 26, 2019 · 0 comments
Open

Can not connect from WSL #77

horihiro opened this issue Jan 26, 2019 · 0 comments

Comments

@horihiro
Copy link

horihiro commented Jan 26, 2019

I'm trying to use this useful tool from bash on WSL in order to write my program into ESP8266.

But the process stoped after trying to connect was displayed.
Please see following result.

Isn't execution on WSL supported?
Does anyone know about it?

$ ./esptool -vvv -cd nodemcu -cb 115200 -cp /dev/ttyS11 -ca 0x00000 -cf ${PATH_TO_BIN_FILE}
esptool v0.4.13 - (c) 2014 Ch. Klippel <ck@atelier-klippel.de>
        setting board to nodemcu
        setting baudrate from 115200 to 115200
        setting port from /dev/ttyUSB0 to /dev/ttyS11
        setting address from 0x00000000 to 0x00000000
        espcomm_upload_file
        espcomm_upload_mem
opening port /dev/ttyS11 at 115200
        tcgetattr
        tcsetattr
        serial open
opening bootloader
resetting board
trying to connect

ESP8266 is connected via COM11, so I use /dev/ttyS11 on WSL.

Windows environment:

WSL environment:

$ uname -a
Linux horihiroxps13 4.4.0-17763-Microsoft #253-Microsoft Mon Dec 31 17:49:00 PST 2018 x86_64 x86_64 x86_64 GNU/Linux
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.5 LTS"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant