esp-web-tools icon indicating copy to clipboard operation
esp-web-tools copied to clipboard

Serial port is not ready

Open tobiyas09 opened this issue 3 years ago • 13 comments

Hi, I used ESP-Prog to connect the esp32 to the PC and when I click on the connect button the first time, this error pops out.

Screenshot from 2022-07-27 13-07-17

Then when I click again in the port dropdown menu it says (Paired), there is no error and I can use the tool. Any idea why? I guess the error pops out because of the pairing. It can be annoying because I need to click on connect button two times.

tobiyas09 avatar Jul 27 '22 12:07 tobiyas09

I'm having the same issue. Please let me know if you find a work around. Thanks!

alentz44 avatar Aug 05 '22 01:08 alentz44

Can you both please include the OS/Browser and exact device you're trying this with?

That error is shown when Improv is unable to open the connection to the serial port, for which it waits a second (src).

balloob avatar Aug 05 '22 13:08 balloob

I'm using ESP32-WROVER-IE-N8R8, Ubuntu 20.04, Google Chrome v103.0.5060.134

tobiyas09 avatar Aug 08 '22 07:08 tobiyas09

How do you run Google Chrome, inside a Snap or directly?

balloob avatar Aug 08 '22 12:08 balloob

How do you run Google Chrome, inside a Snap or directly?

Directly.

tobiyas09 avatar Aug 08 '22 12:08 tobiyas09

Can you reproduce this with a different OS/Browser/Device. I am not seeing it on my end.

balloob avatar Aug 08 '22 12:08 balloob

@tobiyas09, if it helps I instead just followed these instructions to flash directly.

https://www.instructables.com/Flash-WLED-to-ESP8266-Based-Controllers/?amp_page=true

alentz44 avatar Aug 13 '22 18:08 alentz44

Never tried to use ESP-Prog with esp-web-tools. It is uncommon since it is expensive in relationship to "normal" usb-serial converters (flashers). For reliable flash i can recommend the "golden" ch340 board. It has a 3.3V LDO chip which does power the esp chip reliable when flashing.

Jason2866 avatar Aug 15 '22 10:08 Jason2866

I also ran into this issue with both Chrom and Edge

BroManDudeGuyPhD avatar Jan 24 '23 16:01 BroManDudeGuyPhD

This is older now, but I am having the same issue; Windows with ESP32 board

SymlincJoe avatar Nov 28 '23 12:11 SymlincJoe

Same issue on a Linux laptop and CP2104N tty converter.

Command line works fine with esptool.py.

image

greg@grexps:~$ esptool.py chip_id
esptool.py v4.6.2
Found 1 serial ports
Serial port /dev/ttyUSB0
Connecting...
Detecting chip type... Unsupported detection protocol, switching and trying again...
Connecting...
Detecting chip type... ESP32
Chip is ESP32-D0WD (revision v1.0)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: c8:f0:9e:ce:c1:98
Stub is already running. No upload is necessary.
Warning: ESP32 has no Chip ID. Reading MAC instead.
MAC: c8:f0:9e:ce:c1:98
Hard resetting via RTS pin...

gcormier avatar Nov 30 '23 22:11 gcormier