-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Description
The Setup
OS: Windows 8.1
Using: Arduino IDE (Compilation and Uploading)
Sketch: Example "WiFiClient"
Board: "ESP32 Dev Module" (ESP-WROOM-32, ESP32D0WDQ6))
Flash Frequency: "80MHz"
Upload Speed: "115200"
Core Debug: "None"
Port: "COM5" (although will change)
Board Status in IDE:
ESP32 Module Soldered and Wired on:
USB to TTL Wiring:
Black-Ground
Red-3.3V
Yellow -TXD pin on adapter (USB-2-TTL), RXD pin on ESP32
Blue -RXD pin on adapter, TXD pin on ESP32
The Error
Sequence of Events: Compile>Upload Start>Wait for "Connecting">Put ESP32 into Bootloader Manually>Wait>Error
"A fatal error occured: timed out waiting for packet content"
Attempted and Failed Solutions
In each attempted solution, settings were reverted back to those in "The Setup" section, and were not changed unless specified in numbered bullet point.
- Set Upload Speed to 921600.
- Set Flash Frequency to 40MHz.
- Using a Different USB to TTL adapter.
- Using a Different Sketch.
Edit: - 3.3v to EN pin.
- Using esptool directly.
- Uncompressed upload.
- Holding down 1O0 during power on to keep ESP in boot-loader.
- Changing flash modes QIO DIO etc.
- "Strapping" IO12 to ground.
- 1k resistor between 3V3 and IO12.
- 330uf 25V capacitor between 3V3 and GND.
Query
I cannot find the specific documentation on this error message, so that I could properly debug the problem. Since it gets past the packet header stage, I assume everything prior is working. Should I be doing something differently? What could be causing this problem?
Success
For whatever reason, the first ESP was not working, maybe due to poor soldering/ heat damage, or a plethora of other reasons, but upon getting a second ESP (different breakout board from different manufacturer) it worked almost immediately. Now I just need to ensure it doesn't brownout and the sketches work properly, and everything should be solved.