A fatal error occurred: Failed to connect to ESP8266: Timed out waiting for packet header *** [upload] Error 2 #293

Open
opened 2026-04-05 17:52:27 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @backspacestud on 2/4/2023

On one of my fully assembled trackers, when i upload the firmware it spits out this error
`Using manually specified: /dev/ttyS0
Uploading .pio/build/esp12e/firmware.bin
esptool.py v3.0
Serial port /dev/ttyS0
Connecting......................................_____

A fatal error occurred: Failed to connect to ESP8266: Timed out waiting for packet header
*** [upload] Error 2`

On a board without anything attached, it works.

For some reason the one with battery power shows up on the port "/dev/ttyS0" but on the one with nothing on it it shows up on "Serial port /dev/ttyUSB0". Could this be a power issue? should i upload the firmware before connecting the battery?

*Originally created by @backspacestud on 2/4/2023* On one of my fully assembled trackers, when i upload the firmware it spits out this error `Using manually specified: /dev/ttyS0 Uploading .pio/build/esp12e/firmware.bin esptool.py v3.0 Serial port /dev/ttyS0 Connecting........_____....._____....._____....._____....._____....._____....._____ A fatal error occurred: Failed to connect to ESP8266: Timed out waiting for packet header *** [upload] Error 2` On a board without anything attached, it works. For some reason the one with battery power shows up on the port "/dev/ttyS0" but on the one with nothing on it it shows up on "Serial port /dev/ttyUSB0". Could this be a power issue? should i upload the firmware before connecting the battery?
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/SlimeVR-Tracker-ESP#293