r/esp32 • • 13h ago

Software help needed no serial data received error

for context i have been working on a couple projects over the last couple weeks using some esp32s3 i ordered, so far i have had no issues with them up until last night, when i suddenly started getting this error of "no serial data received"

so far among the things i have tried:

-pressing and holding the boot button during uploads

-holding boot and pressing rst during uploads

-different cable for upload

-updated drivers for my boards

-uploading with no wiring attached

-using a different device to attempt an upload

-using those websites that check for activity on the board (same error appears)

-restarting PC

What's most confusing to me is that this just happened randomly, I had literally uploaded something 2 mins earlier and all of a sudden this error appeared, even on boards that i know work because their projects are still functioning, another thing is i opened some of my sealed esp boards and they uploaded just fine, both the fake and real ones so i am utterly confused as to what to do because i don't wanna throw away perfectly good esp boards so as a last effort I'm asking if u guys could please help me out!

3 Upvotes

5 comments sorted by

2

u/Kv603 12h ago edited 12h ago

i have been working on a couple projects over the last couple weeks using some esp32s3 i ordered

What brand and model of esp32s3?

When you connect the USB cable, does the PC detect the board as a new serial device? If you connect the device and then connect a terminal emulator to the detected serial device (e.g. "com4") at 115200 baud, does any serial output appear (try hitting reset).

What's most confusing to me is that this just happened randomly, I had literally uploaded something 2 mins earlier and all of a sudden this error appeared, even on boards that i know work because their projects are still functioning, another thing is i opened some of my sealed esp boards and they uploaded just fine, both the fake and real ones...

Some dev boards, especially clones with "fake" USB-serial adapters on the board, are very static-sensitive and the USB to serial adapter can just go brain dead. I've got two Adafruit boards which are now just sending "noise" to the terminal, can no longer accept an upload over USB.

i am utterly confused as to what to do because i don't wanna throw away perfectly good esp boards so as a last effort I'm asking if u guys could please help me out!

If your boards expose the default UART0 serial pins (usually labeled RX0 and TX0), you can connect an appropriate serial adapter to those pins and re-flash the board that way.

1

u/MHTMakerspace 12h ago

First thing we do when starting a new sketch is add stock code which enables WiFi and ArduinoOTA, so as long as the sketch boots, we can use OTA to upload fresh firmware.

Can also force OTA rollback on panic to allow for recovering from uploading faulty firmware.

1

u/Significant-Price695 12h ago

does the com port still show up at all? on the s3 a sketch flashed with "usb cdc on boot" disabled makes the native usb port vanish and it looks exactly like this. if that's it, hold boot, plug it in, and erase flash with esptool from the command line, then reflash with cdc enabled. and if the port is gone entirely even after that, try another computer before assuming the board died

1

u/hayleygyl 7h ago

What changed between the last successful upload and the first failed one? Since the new boards work fine, I’d compare the upload settings and try lowering the upload speed to 115200 before assuming it’s a hardware issue