1

I hope this is the right place to ask this. If it's not pointing me to the right place would be highly appreciated.

I am using BunsenLabs Linux together with the Arduino IDE to upload my code to my ESP8266 NodeMCU boards. Today everything stopped working. When I try to upload my code, I only get the error:

Connecting........_____....._____....._____....._____....._____....._____.....____Traceback (most recent call last):
  File "/root/.arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/upload.py", line 25, in <module>
    esptool.main(fakeargs)
  File "/root/.arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/esptool/esptool.py", line 2653, in main
    esp.connect(args.before)
  File "/root/.arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/esptool/esptool.py", line 468, in connect
    raise FatalError('Failed to connect to %s: %s' % (self.CHIP_NAME, last_error))
esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header
esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header

I googled and looked for possible problems and solutions. Here is what I tried:

-Using a different NodeMCU board

-Using a different cable

-Changing the upload speed

-Uploading code I have written before to boards that ran this code successfully

-Changing the board settings to Generic ESP 8266 module and back.

I wasn't able to solve this problem with this, neither did the error message change. If anybody could point me in the right direction, I would be very happy. If you have questions or need more information, feel free to ask me.

Thanks in advance, Speiburger

New contributor
Speiburger is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Your Answer

Speiburger is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.