Page 1 of 1

ESP32-S3 COM PORT disappeared !

Posted: Mon Jan 16, 2023 5:48 pm
by Rolembeek
I have a Lilygo T-Display S3 that worked correctly for a certain time. Now, when I connect the USB cable, it doesn't show up as a "COM PORT" but as an external drive (with drive letter). See image. What can I do to regain control over the unit ?Image

Thnx !
Roland

Re: ESP32-S3 COM PORT disappeared !

Posted: Tue Jan 17, 2023 8:49 am
by bidrohini
If you have another cable then try with that. It may happen due to a bad cable. You can follow all the suggestions given here too:

https://community.platformio.org/t/unab ... ed/30577/6

Re: ESP32-S3 COM PORT disappeared !

Posted: Tue Jan 17, 2023 10:50 pm
by Rolembeek
Strange things are going on here !
1- tried other cable -> same result
2-changed from desktop(win10) to laptop(win11) same cable -> appeared at COM5
3-back to desktop -> no COM
4-back to laptop -> COM5
5-tried to upload some code -> as soon as the connection tries to start, the COM5 disappears (looking with "USBDView")

ERROR message :

Sketch uses 236613 bytes (18%) of program storage space. Maximum is 1310720 bytes.
Global variables use 18704 bytes (5%) of dynamic memory, leaving 308976 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.2.1
Serial port COM5
Connecting...Traceback (most recent call last):
File "esptool.py", line 34, in <module>
File "esptool\__init__.py", line 1004, in _main
File "esptool\__init__.py", line 646, in main
File "esptool\__init__.py", line 895, in get_default_connected_device
File "esptool\loader.py", line 631, in connect
File "esptool\loader.py", line 572, in _connect_attempt
File "esptool\loader.py", line 435, in sync
File "esptool\loader.py", line 351, in command
File "serial\serialutil.py", line 372, in timeout
File "serial\serialwin32.py", line 222, in _reconfigure_port
serial.serialutil.SerialException: Cannot configure port, something went wrong. Original message: OSError(22, 'A device which does not exist was specified.', None, 433)
[13064] Failed to execute script 'esptool' due to unhandled exception!
Failed uploading: uploading error: exit status 1

After disconnecting the ESP32-S3 and reconnection it reappears on COM5 ...

I'm loosing my mind ... help !
Roland

Re: ESP32-S3 COM PORT disappeared !

Posted: Wed Jan 18, 2023 3:13 am
by ESP_Sprite
Can you try forcing the chip into download mode? You do that by connecting GPIO0 to ground (or pressing the appropriate button if the board has one) and resetting or powering on the chip.

Re: ESP32-S3 COM PORT disappeared !

Posted: Thu Jan 19, 2023 10:04 am
by Rolembeek
Strange !
I tried several times to put it in boot mode without success and suddenly it worked again ! !
I don't understand what happened ...
It is still not showing as COMx (now labeled as "USB JTAG/serial debug unit") but it works :-D
Thank all for your support !
Roland

Re: ESP32-S3 COM PORT disappeared !

Posted: Thu Jan 19, 2023 10:30 am
by chegewara
It all depends what application you flash on S3.

In this case you got flashed MSC example, so you have to use IO0 and EN to enter bootloader mode:
Rolembeek wrote: I have a Lilygo T-Display S3 that worked correctly for a certain time. Now, when I connect the USB cable, it doesn't show up as a "COM PORT" but as an external drive (with drive letter). See image. What can I do to regain control over the unit ?Image

Thnx !
Roland
Then you probbaly flashed some other application, with no USB support. The same situation with IO0 and EN.

Re: ESP32-S3 COM PORT disappeared !

Posted: Fri Jan 20, 2023 4:44 pm
by maxkweeger
My solution,

Put down boot butom, always put down and put on reboot butom. I'm in boot mod and I can retrive my COM port and I send a new firmware and is ok.

Thank's for your answers !!!!

Max

Re: ESP32-S3 COM PORT disappeared !

Posted: Sun Jan 22, 2023 10:59 pm
by Rolembeek
Thanks All again !
I have had no more issues ...

Roland