Closed
Description
Platform
- Hardware: ESP8266 NODEMCU
- Core Version: [latest git hash or date]
- Development Env: Arduino ID
- Operating System: Windows
Settings in IDE
- Module: Generic ESP8266 Module
- Flash Mode: dio
- Flash Size: 512K
- lwip Variant: [v1.4|v2 Lower Memory|Higher Bandwidth]
- Reset Method: ck|
- Flash Frequency: [40Mhz]
- CPU Frequency: [80Mhz]
- Upload Using: [SERIAL]
- Upload Speed: [115200|other] (serial upload only)
Problem Description
Unable to upload code to nodemcu (Leaving... Resetting via RTS pin)
MCVE Sketch
#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[] = "yPCwZ9AtBsjxhbzx2xGGieUodNAofDk";
// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "TP-Link";
char pass[] = "12345678";
void setup()
{
// Debug console
Serial.begin(11520);
Blynk.begin(auth, ssid, pass);
}
void loop()
{
Blynk.run();
}
### Debug Messages
Sketch uses 279800 bytes (55%) of program storage space. Maximum is 499696 bytes.
Global variables use 28856 bytes (35%) of dynamic memory, leaving 53064 bytes for local variables. Maximum is 81920 bytes.
esptool.py v2.6
2.6
esptool.py v2.6
Serial port COM5
Connecting....
Chip is ESP8266EX
Features: WiFi
MAC: cc:50:e3:c7:34:66
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Auto-detected Flash size: 4MB
Flash params set to 0x0240
Compressed 283952 bytes to 204290...
Writing at 0x00000000... (7 %)
Writing at 0x00004000... (15 %)
Writing at 0x00008000... (23 %)
Writing at 0x0000c000... (30 %)
Writing at 0x00010000... (38 %)
Writing at 0x00014000... (46 %)
Writing at 0x00018000... (53 %)
Writing at 0x0001c000... (61 %)
Writing at 0x00020000... (69 %)
Writing at 0x00024000... (76 %)
Writing at 0x00028000... (84 %)
Writing at 0x0002c000... (92 %)
Writing at 0x00030000... (100 %)
Wrote 283952 bytes (204290 compressed) at 0x00000000 in 18.0 seconds (effective 126.3 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
Metadata
Metadata
Assignees
Labels
No labels