-->
Page 1 of 1

Trouble uploading sketch after the first sketch

PostPosted: Sun Nov 15, 2020 9:32 am
by VicIsStuck
Hi Everyone,

I got two Wemos D1 Mini's in the mail yesterday. Theyre the model with the ESP-12 chips on it. I uploaded a blink sketch to it just fine, soldered pinheaders on it to start with my project and that is where I got stuck. I am not able to upload a sketch after the first time anymore.

This is the error that I get
Code: Select allConnecting........_____....._____....._____....._____....._____....._____.....____Traceback (most recent call last):
  File "C:\Users\vic\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/upload.py", line 65, in <module>
    esptool.main(cmdline)
  File "C:/Users/vic/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool\esptool.py", line 2890, in main
    esp.connect(args.before)
  File "C:/Users/vic/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool\esptool.py", line 483, 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


Ofcourse I googled around and found a whole lot of information and solutions. Downloading earlier versions of the esp8266 board manager, connecting D3 to GND, etc. But none of it seemed to work. I tried my other Wemos that I got and it went exactly the same. Looks like it will not go into flash mode?

I am not all to sure how any of this works and why this is happening.

Can anyone guide me on why this is happening and how actually upload a new sketch to my device. Thanks alot!