PROBLEM:
I have tried to upload a simple program to one of my two ESP8266-01 - but it seems that no matter what I do - I not able to transfer it.
I have been searching for the errors, and some is talking about power supply problems. Some about a missing condensator and some is saying it’s the Arduino IDE, that are having a problem.
I’m following this http://www.instructables.com/id/ESP8266-WiFi-Module-for-Dummies/ but is getting either this message
On Breadboard:
error: espcomm_upload_mem failed
Using the USB stick:
error: failed reading byte
warning: espcomm_send_command: cant receive slip payload data
I’m having no problem communication with the module using the terminal and “AT” commands.
I have a module on which are not soldered two SMD resistors. I noticed this only after I photographed the module in macro mode. Messages looked like yours. After soldering module works fine.
I had to solder a switch to the underside of the usb programmer. Closing the switch enabled code to be flashed to the esp01. I will try and find the YouTube video which helped me out.
For me it was two things. 1 notice that half the post says the wrong thing about RX and TX. connections to the ‘mother Arduino’. If I remember correctly now it’s the old fashion logic. Rx-tx. Not rx-rx… or was it the opposite…hmm…
2 fiddle with the two digital connections before u get it right, with timing and all.
About power it was running on everything from 3 to 5 volt. And no need for 2A.
With 3V battery I had to place a capacitor to make it work with the wifi spikes.
I have no idea what I used. Tried bigger from a bag until it worked