Skip to content

Fatal error: waiting for packet content #491

@DreamingRaven

Description

@DreamingRaven

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: image

ESP32 Module Soldered and Wired on:
20170707_170537

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
20170707_171402

The Error

Sequence of Events: Compile>Upload Start>Wait for "Connecting">Put ESP32 into Bootloader Manually>Wait>Error
image
"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.

  1. Set Upload Speed to 921600.
  2. Set Flash Frequency to 40MHz.
  3. Using a Different USB to TTL adapter.
  4. Using a Different Sketch.
    Edit:
  5. 3.3v to EN pin.
  6. Using esptool directly.
  7. Uncompressed upload.
  8. Holding down 1O0 during power on to keep ESP in boot-loader.
  9. Changing flash modes QIO DIO etc.
  10. "Strapping" IO12 to ground.
  11. 1k resistor between 3V3 and IO12.
  12. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions