Can't Upload to Amazon ESP32 board

I bought a set of these:

eps32S3 boards.

I originally uploaded to one just fine. Then today it wouldn't work, giving the error:

A fatal error occurred: Failed to connect to ESP32-S3: No serial data received.
For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html
Failed uploading: uploading error: exit status 2

I'm on windows 10 server 2022. The device is recognized as USB serial device on COM8 in device manager. That's what I have selected in the IDE. esp32 board is installed in board manager. I tried three different usb cables, and two different boards, but like I say, windows sees it just fine. So it seems like it must be a setting in the IDE??? I'm stumped.

Verify "COM8" is still available: IDE >> TOOLS >> PORT >> your port

Was the "servo" sketch used? How did you power the servo?

looks like it....

The servo was powered from an independent source. But I unplugged everything from the board when the uploading stopped working. And then switched to a fresh board, in case I fried the first one with the 7.5 volts from the other supply somehow.

Verify the correct USB-C port on the ESP32 is used. (USB to Serial)

have you tried the "while connected to the USB, keep the boot button pressed then press and release the reset button and next release the boot"

this sequence should put the MCU in programming mode

I guess I got lucky when I plugged it in the first time. I did try the other port since then, but something else must have been wrong.

I did not realize the USB jacks were different!

I bought the same ones from Amazon and i can't for the life of me get them to connect. I have a different ESP32 board and processor and that connects. I've tried all different boards and nothing seems to work. I've tried different USB ports on my PC and same results. "Failed to connect to ESP32" Any ideas?

Those boards have two usb connectors , are you using the correct one ( to find the port , which may vary ) and pressing the reset and boot buttons in the correct order to get the ready to download message ?

Mine only has the 1 USB-micro. Tried the Boot on connecting but not the reset and boot combination. Whats the sequence using both and what board should i be picking in the selected Board?

So it is not the same after all. Please provide a link to the listing you purchased your boards from. That may give the forum helpers insight that will allow us to more effectively advise you.

3 pack ESP32 ESP-32S Development Board 2.4 GHz Dual Core WLAN WiFi + Bluetooth 2-In-1 Microcontroller ESP-WROOM-32 Chip CP2102 for Arduino (3PCS): Amazon.co.uk: Business, Industry & Science

Just tried one of the other ESP32 boards in the pack and it works fine with ESP32 Dev Module. The first board i tried still doesn't work. Could it be a faulty ESP32 board?

Excellent troubleshooting technique!

I confirm that "ESP32 Dev Module" is the correct board selection for use with these boards.

It could be. These boards have a special circuit that should automatically put the board into the special boot mode required to complete an upload, without you needing to perform any special procedure. However, I have found that the circuit seems a bit "non-deterministic". I sometimes had to use a procedure like this to upload to the board I have of this style:

  1. Select Sketch > Upload from the Arduino IDE menus.
  2. Watch the black output panel at the bottom of the Arduino IDE window until you see this text printed:
    Connecting...
    
  3. Press and hold the "BOOT" button on your ESP32 board.
  4. Wait about one second.
  5. Release the button.

The upload should now finish successfully.

You should select the correct com post and processor type .

Baud rate 115200.

If you press and release reset you should see some rambling text .

To upload :

The sequence is press and hold reset. Press and hold boot , let go of reset, let go of boot .

The display should then show waiting for download .

( I think !!) .