So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By Suha
#95303 Hi ESP8266 Community,

This is my first post here, Newbie warning :D

I wanted to upgrade the firmware on my ESP8266 1MB device and proceeded with several attempts. So far esptool has been flashing the firmware successfully but ever since the upgrade AT commands don't work. Here is the command and output for ESP8266 NonOS AT Bin 1.7.4:

python3 -m esptool --port /dev/ttyUSB0 --baud 115200 write_flash -fs detect 0x00000 ./bin/boot_v1.7.bin 0x01000 ./bin/at/512+512/user1.1024.new.2.bin 0xfc000 ./bin/esp_init_data_default_v08.bin 0x7e000 ./bin/blank.bin 0xfe000 ./bin/blank.bin

esptool.py v4.2.1
Serial port /dev/ttyUSB0
Connecting...
Detecting chip type... Unsupported detection protocol, switching and trying again...
Connecting...
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: 40:91:51:4c:de:ec
Stub is already running. No upload is necessary.
Configuring flash size...
Auto-detected Flash size: 1MB
Flash will be erased from 0x00000000 to 0x00000fff...
Flash will be erased from 0x00001000 to 0x00065fff...
Flash will be erased from 0x000fc000 to 0x000fcfff...
Flash will be erased from 0x0007e000 to 0x0007efff...
Flash will be erased from 0x000fe000 to 0x000fefff...
Flash params set to 0x0020
Compressed 4080 bytes to 2936...
Wrote 4080 bytes (2936 compressed) at 0x00000000 in 0.3 seconds (effective 93.5 kbit/s)...
Hash of data verified.
Compressed 413444 bytes to 296966...
Wrote 413444 bytes (296966 compressed) at 0x00001000 in 26.2 seconds (effective 126.2 kbit/s)...
Hash of data verified.
Compressed 128 bytes to 75...
Wrote 128 bytes (75 compressed) at 0x000fc000 in 0.1 seconds (effective 9.5 kbit/s)...
Hash of data verified.
Compressed 4096 bytes to 26...
Wrote 4096 bytes (26 compressed) at 0x0007e000 in 0.1 seconds (effective 296.1 kbit/s)...
Hash of data verified.
Compressed 4096 bytes to 26...
Wrote 4096 bytes (26 compressed) at 0x000fe000 in 0.1 seconds (effective 295.8 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...

I've checked my connection from the USB TTL to the ESP and it is just as the case where it worked before. What could I possibly be doing very wrong during flashing.