"Error: espcomm_upload_mem failed" on single use of "esp8266 ESP-01"aplication


I just received my esp8266 ESP-01 and buy an adapter to make it easy to upload my code into the ESP, like the photo that I show under.
Whatever, I put this code, like the example:

#define BLYNK_PRINT Serial
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth = “aaaaaaaaaaaaaaaaaaaaaaaaaaaaa”;
// Your WiFi credentials.
// Set password to “” for open networks.
char ssid = “xxxx-xxxx”;
char pass = “xxxxxxxxx”;
void setup()
// Debug console
Blynk.begin(auth, ssid, pass);
// You can also specify server:
//Blynk.begin(auth, ssid, pass, “blynk-cloud.com”, 8442);
//Blynk.begin(auth, ssid, pass, IPAddress(192,168,1,100), 8442);
void loop()

but it doesn’t work, always comes this error message and I don’t know anymore what I can do.

warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed
error: espcomm_upload_mem failed

Today I try some others upload speed to see if it was the problem, but, also don’t work.

I will post all my configuration to see if someone can find some error.

I think I make something wrong because I can’t upload the basic code from ESP8266 ESP01

What can I do to solve this? I’m really grateful until yet.

This is NOT a Blynk error… try Googling it to see the various options.

1 Like