Hello everyone, how are you? I'm having issues updating my sketch on the ESP8266. The upload completes without any errors, but the ESP8266 is not updated. This problem started today, and I've already tried reinstalling the Arduino IDE several times and testing both versions 2.3.4 and 1.8.19. I also tried simple codes, like the one below, but it didn’t work either:
void setup() {
Serial.begin(9600);
}
void loop() {
Serial.println("hello");
delay(1000);
}
I think this started after a Windows 11 update since I didn't make any hardware changes. I just updated the previous sketch, and the problem began. The USB port is correct, and I am using the NodeMCU 1.0 board. Below is the output:
. Variables and constants in RAM (global, static), used 28384 / 80192 bytes (35%)
║ SEGMENT BYTES DESCRIPTION
╠══ DATA 1496 initialized variables
╠══ RODATA 1136 constants
╚══ BSS 25752 zeroed variables
. Instruction RAM (IRAM_ATTR, ICACHE_RAM_ATTR), used 60331 / 65536 bytes (92%)
║ SEGMENT BYTES DESCRIPTION
╠══ ICACHE 32768 reserved space for flash instruction cache
╚══ IRAM 27563 code in IRAM
. Code in flash (default, ICACHE_FLASH_ATTR), used 236772 / 1048576 bytes (22%)
║ SEGMENT BYTES DESCRIPTION
╚══ IROM 236772 code in flash
esptool.py v3.0
Serial port COM6
Connecting....
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: c4:d8:d5:2c:fb:38
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Auto-detected Flash size: 4MB
Compressed 271120 bytes to 199370...
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 271120 bytes (199370 compressed) at 0x00000000 in 17.7 seconds (effective 122.3 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...