Skip to content

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

Description

@davidmoshal

Hi, just got my shiny new Moddable Two.
Attached programmer.
Followed install directions.
Checked that I can see /dev/ttyUSB0
Checked that I am part of the dialout group.
Ran this command:

cd ${MODDABLE}/examples/piu/balls
mcconfig -d -m -p esp32/moddable_two

Results in:

CC /home/davem/dm/moddable/build/tmp/esp32/moddable_two/debug/idf/main/main.o
AR /home/davem/dm/moddable/build/tmp/esp32/moddable_two/debug/idf/main/libmain.a
LD /home/davem/dm/moddable/build/tmp/esp32/moddable_two/debug/idf/xs_esp32.elf
esptool.py v2.6
Flashing binaries to serial port /dev/ttyUSB0 (app at offset 0x10000 )...
esptool.py v2.6
Serial port /dev/ttyUSB0
Connecting........_____....._____....._____....._____....._____....._____....._____

A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
/home/davem/esp32/esp-idf/components/esptool_py/Makefile.projbuild:62: recipe for target 'flash' failed
make[1]: *** [flash] Error 2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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