Xinyuan-LilyGO / LilyGo-LoRa-Series

LILYGO LoRa Series examples
603 stars 169 forks source link

A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header #63

Closed adyb76 closed 1 year ago

adyb76 commented 2 years ago

Hi, I am getting the above error since reloading the software onto my t-beam. I have managed to load compiled code onto this device before, so I am pretty sure the board itself is good. I have also tried a variety of USB cables, and they all produce the same results. I have also tried uploading a test program from the Arduino IDE kit, which also refuses to connect to the t-beam. What can be done about this?

Thanks, Ade

fabiano182 commented 2 years ago

I'm going through the same problem. Did you found any solution? Thanks

lewisxhe commented 1 year ago

When t-beam fails to download automatically, the fix is

  1. Connect to USB,
  2. Short IO0 to GND, then keep it connected
  3. Press the reset button
  4. Upload the program, wait for the upload to complete and remove the short wire

If there are still problems, please reopen