Just ‘moved’ from ESP8266 board to an ESP32 and was getting the above error when uploading code. I discovered the only way I could upload code to the ESP32 was by pressing the BOOT button during upload. Is this normal or is there a way to avoid doing this when uploading code.
Hello Arthur, some boards have that “problem”.
Here’s how you can solve it permanently: https://randomnerdtutorials.com/solved-failed-to-connect-to-esp32-timed-out-waiting-for-packet-header/
Failed to connect to ESP32: Timed out waiting for packet header
Thanks for that, just downloaded datasheet for the ESP32, an amazing device. Really enjoying your courses and books.
You’re welcome! Just try the capacitor on a breadboard to test if it fixes the error upload permanently (let me know your results).
The ESP32 is amazing, once you try the ESP32 and see the full potencial, it’s hard to go back.
Thanks for your feedback!
Delay in replying as the ESP32 behaved perfectly after the initial problem and only failed to upload code about 1 in 10 attempts. So I have fitted the 1u and will do some repeat tests when I get chance, thanks again.