I’ve been struggling with this issue for a while now, so I think it is time to ask for help.
The upload of the sketch is very unstable for me. I use FTDI adapter and even bought a new one to make sure it is not the reason. I also tried to use different settings in the Arduino IDE suspecting that the problem lives in the settings, but nothing changed. See attached file (Arduino.settings2.jpg) for the latest settings I used - I have ESP8266 12E chips.
See also the 3 usual outcome of an upload:
1, see the file attached: Fail1.txt - the first few lines are the output of the upload in the IDE. As you can see: no errors there. But after a restart of the ESP it goes into an infinite loop of errors with the exception you can see the remaining part of that file.
2, see the file attached: Fail2.txt - the upload fails at the very end of the upload.
3, see the file attached: Success.txt - this one was actually successful, the sketch does what it should do, but you can see a warning at the beginning of the upload. Maybe I get this result 1 out of 10 uploads.
These three runs are literally three tries after each other in this order.
Does anyone have any clue what’s going on and how can I fix it?
Fail1.txt (5.28 KB)
Fail2.txt (705 Bytes)
Success.txt (584 Bytes)