Hi there,
I’m having troubles with my setup:
I am using an ESP8266 ESP-01 module with USB2Serial CH340G based adapter (see below).
and when I try to upload my sketch (which is the Blynk ESP8266_Standalone Example):
#define BLYNK_PRINT Serial
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
char auth[] = "YourAuthToken";
char ssid[] = "YourNetworkName";
char pass[] = "YourPassword";
void setup()
{
Serial.begin(9600);
Blynk.begin(auth, ssid, pass);
}
void loop()
{
Blynk.run();
}
I get :
Archiving built core (caching) in: C:\Users\Edo\AppData\Local\Temp\arduino_cache_917070\core\core_esp8266_esp8266_generic_CpuFrequency_80,ResetMethod_ck,CrystalFreq_26,FlashFreq_40,FlashMode_qio,FlashSize_512K0,LwIPVariant_v2mss536,Debug_Disabled,DebugLevel_None____,UploadSpeed_115200_b20259ed95f75f6e0df9a48570ab40ee.a
Sketch uses 264771 bytes (52%) of program storage space. Maximum is 499696 bytes.
Global variables use 35476 bytes (43%) of dynamic memory, leaving 46444 bytes for local variables. Maximum is 81920 bytes.
error: failed reading byte
warning: espcomm_send_command: can't receive slip payload data
error: failed reading byte
warning: espcomm_send_command: can't receive slip payload data
error: failed reading byte
warning: espcomm_send_command: can't receive slip payload data
error: failed reading byte
warning: espcomm_send_command: can't receive slip payload data
error: failed reading byte
warning: espcomm_send_command: can't receive slip payload data
error: failed reading byte
warning: espcomm_send_command: can't receive slip payload data
error: failed reading byte
warning: espcomm_send_command: can't receive slip payload data
error: failed reading byte
warning: espcomm_send_command: can't receive slip payload data
error: failed reading byte
warning: espcomm_send_command: can't receive slip payload data
warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed
error: espcomm_upload_mem failed
The configuration is:
OS: Windows 10 ON VIRTUAL MACHINE
Board: Generic ESP8266 Module
Flash Mode: QIO
Flash Size: 512K (no SPIFFS)
Debug port: Disabled
Debug level: None
IwIP Variant: v2
Reset Method: ck
Crystal Frequency: 26MHz
Flash Frequency: 40MHz
CPU Frequency: 80MHz
Upload speed: 115200
And I installed the:
- ESP8266 Board from the Board Manager
- Blynk library from Library Manager
AT COMMANDS ARE FULLY WORKING.
I seriously don’t know how to fix this.
Thanks in advance.