0

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

2
  • The error message indicates that this is a hardware problem - ESP doesn't receive the data your PC is sending. Since you haven't described what board you're using and how you've connected to it, we can't help you much further. Commented Mar 14 at 6:57
  • @Tarmo ITS A ESP32 EDVKIT V1 while working on my project 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. Commented Mar 15 at 10:10

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.