0
\$\begingroup\$

I am trying to upload code to my ESP32, but I keep getting the following error:

A fatal error occurred: Failed to connect to ESP32: Download mode successfully detected, but getting no sync reply: The serial TX path seems to be down. For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html Failed uploading: uploading error: exit status 2

What I've Tried

  • Switched USB cables and ports.
  • Pressed and held the BOOT button while uploading.
  • Checked my drivers and confirmed the correct COM port is selected.
  • Restarted my PC and tried again.

But it still didn't work

asked Mar 15 at 5:17
\$\endgroup\$
6
  • \$\begingroup\$ Try to do continuity test with multimeter. There might be path opened between the soc/module, serial-usb-converter, and usb port. I suspect the serial chip may be broken, usually. \$\endgroup\$ Commented Mar 15 at 5:41
  • \$\begingroup\$ When was the last time it worked? What did you do before it stopped working? If this is about how to use ESP32 with a PC then this might be a product usage question. \$\endgroup\$ Commented Mar 15 at 8:07
  • \$\begingroup\$ @Justme It worked perfectly two weeks ago, but I had to stop working on my project due to medical reasons. When I returned, I noticed my code was corrupted. I confirmed this because I had set some Serial Monitor output, but it now displays random, corrupted text. I tried re-uploading the code to fix it, but then this problem appeared. \$\endgroup\$ Commented Mar 15 at 10:07
  • \$\begingroup\$ @YaxPatel All it takes is one loose wire somewhere, or unpowered component hanging on a bootstrap pin preventing normal operation of running your code. \$\endgroup\$ Commented Mar 15 at 10:43
  • \$\begingroup\$ @Justme That's why I tried re-uploading the code with no wires connected, but it still didn't work. \$\endgroup\$ Commented Mar 15 at 10:49

0

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.