-
-
Notifications
You must be signed in to change notification settings - Fork 299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A fatal error occurred: Failed to connect to ESP8266: Timed out waiting for packet header *** [upload] Error 2 #227
Comments
I need more info to help. Thats more like a HW / Wiring problem, than a Firmware Problem. You need to provide more Infos. |
Thank you for responding and sorry for the late response, Board used: TP4056 USB C Charging board (https://www.aliexpress.us/item/2251832463465716.html?spm=a2g0o.order_list.order_list_main.35.21ef1802u5KKsC&gatewayAdapt=glo2usa&_randl_shipto=US) // Battery monitoring options (comment to disable): #define PIN_IMU_SDA D2 I tried to follow the guide but as i am new to MCUs/Soldering in general I may have messed up somewhere. This is a diagram i tried to make because talking a photo of my rats nest of a tracker would have been too hard to understand. If there is anything I am leaving out I will do my best to provide more. Thank you! |
Make sure that there is no connection from pin 4 to pin 0. Pin 4 is pulled HIGH, but pin 0 need to be at GND for flashing (this happens over RTS/DTR lines on the D1 mini). Also check 5 to RX. Im not sure why your tracker makes different types of USB devices. |
I have tried many different things and I don't think its the wiring, i think it has something to do with my linux install? not exactly sure so I tried to install it on windows and now im getting a new error, and since i have no background in VSCode I have no idea what it is asking for or how to fix it. Whenever I try to build it Spits out the error I tried looking it up and could not understand anything... Any help would be appreciated as I am running out of ideas. |
[{ |
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?
The text was updated successfully, but these errors were encountered: