Chat freely about anything...

User avatar
By ChrisO
#93214 Hi

I'm using ESP8266-01 and Linux.
AT+GMR
AT version:1.2.0.0(Jul 1 2016 20:04:45)
SDK version:1.5.4.1(39cb9a32)
v1.0.0
Mar 11 2018 18:27:31

After some experimenting with it using Arduino's IDE, wanted to revert my board to its default state i.e. original firmaware.
I downloaded latest recommended ESP8266-IDF-AT_V2.2.1.0 and started with a long and unsuccessful "trial and error" process. I mean I was able to successfully install the firmware but was not able to get any answer to AT commands afterwards. Yes, I did a reset/power-toggle and removed GND from GPIO0.

Did this:

esptool.py write_flash 0x10000 ESP8266-AT-V2.2.1.0/esp-at.bin
esptool.py v3.3-dev
Found 2 serial ports
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: 5c:cf:7f:1f:97:a0
Stub is already running. No upload is necessary.
Configuring flash size...
Flash will be erased from 0x00010000 to 0x000defff...
Compressed 844288 bytes to 529252...
Wrote 844288 bytes (529252 compressed) at 0x00010000 in 48.7 seconds (effective 138.6 kbit/s)...
Hash of data verified.

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

Any help would be really appreciated.
ChrisO
User avatar
By QuickFix
#93221 I stopped using the AT firmware of the ESP8266 a long time ago, so this is from memory.

For ESP-01 boards, you need to take an older version of the firmware, since the newer ones don't fit into the limited memory of the 01 boards; it will only work on the ESP-12 (and similar) based models. :idea:
User avatar
By ChrisO
#93244 Thank you for the pointer.
I think I found it and from the very sparse Howto, I deduced the following:

esptool.py write_flash 0x00000 boot_v1.2.bin 0x01000 at/512+512/user1.1024.new.2.bin 0xfc000 esp_init_data_default_v08.bin 0x7e000 blank.bin 0xfe000 blank.bin

Download OK, but after power-cycle ESP8266 runs amok, the LED is blinking very quickly and the console is flooded with garbage.
What am I doing wrong?
Thank you.