ESP32-S3 COM PORT disappeared !

Rolembeek
Posts: 4
Joined: Mon Jan 16, 2023 5:25 pm

ESP32-S3 COM PORT disappeared !

Postby Rolembeek » Mon Jan 16, 2023 5:48 pm

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

bidrohini
Posts: 202
Joined: Thu Oct 27, 2022 12:55 pm

Re: ESP32-S3 COM PORT disappeared !

Postby bidrohini » Tue Jan 17, 2023 8:49 am

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

Rolembeek
Posts: 4
Joined: Mon Jan 16, 2023 5:25 pm

Re: ESP32-S3 COM PORT disappeared !

Postby Rolembeek » Tue Jan 17, 2023 10:50 pm

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

ESP_Sprite
Posts: 9730
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32-S3 COM PORT disappeared !

Postby ESP_Sprite » Wed Jan 18, 2023 3:13 am

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.

Rolembeek
Posts: 4
Joined: Mon Jan 16, 2023 5:25 pm

Re: ESP32-S3 COM PORT disappeared !

Postby Rolembeek » Thu Jan 19, 2023 10:04 am

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

chegewara
Posts: 2364
Joined: Wed Jun 14, 2017 9:00 pm

Re: ESP32-S3 COM PORT disappeared !

Postby chegewara » Thu Jan 19, 2023 10:30 am

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.

maxkweeger
Posts: 2
Joined: Sun Jan 15, 2023 12:35 am

Re: ESP32-S3 COM PORT disappeared !

Postby maxkweeger » Fri Jan 20, 2023 4:44 pm

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

Rolembeek
Posts: 4
Joined: Mon Jan 16, 2023 5:25 pm

Re: ESP32-S3 COM PORT disappeared !

Postby Rolembeek » Sun Jan 22, 2023 10:59 pm

Thanks All again !
I have had no more issues ...

Roland

Who is online

Users browsing this forum: Baidu [Spider] and 113 guests