I need exact & specific instructions - Flash ESP-01 with AT 1.7.4 &/or 2.1

I have looked at various tutorials, videos, etc. and can't figure it out. I need an ESP-01 flashed with either Espressif AT 1.7.4 and/or 2.1. (Of course, 2 modules, not both on 1 module). I tried the 1.7.4 which is supposedly the last one for which "normal" BIN files is available for. After that, I guess it has something to do with Python (that's a snake as far as I know). If someone in Europe (Germany?) is willing to do me the service, I am willing to compensate. If someone has specific instructions which can be followed with no prior knowledge I'll try it again though I already bricked one. Thanks for any tips.

it is not possible to brick esp-01.

I can guide you.

what do you use as USB to TTL Serial adapter?

JaBa:
After that, I guess it has something to do with Python (that's a snake as far as I know).

Not a snake at all.

The language was named in homage to the UK commedy show, Monty Pythons Flying Circus.

Juraj, I have one of those USB adapters that you can plug an ESP-01 directly into. I modified it in that I can place a jumper between ground and the IO pin to put it into serial programming mode and I also connected a mini switch between ground and reset. I also have an unmodified USB adapter.

I downloaded the 1.7.4 binaries from Espressif. "Binaries" that were included were:

bin\blank.bin
bin\boot_v1.7.bin
bin\esp_init_data_default_v08
bin\at\512+512\user1.1024.new.2
bin\at\512+512\user2.1024.new.2
bin\at\1024+1024\user1.2048.new.5
bin\at\1024+1024\user2.2048.new.5
bin\at_stdio\1024+1024\user1.2048.new.5
bin\at\stdio\1024+1024\user2.2048.new.5

There is a text file bin\at\README.md which says:

Flash size 8Mbit: 512KB+512KB

boot_v1.2+.bin 0x00000
user1.1024.new.2.bin 0x01000
esp_init_data_default.bin 0xfc000
blank.bin 0x7e000 & 0xfe000
The part about boot_v1.2+.bin didn't make much sense since there is only a boot_v1.7. I tried running flash_download_tool_3.8.5 (developer mode, then ESP8266 DownloadTool) I managed to get Info from the ESP-01. It indicated 26MHz Crystal and N/A 8Mbit. I interpret the 8MBit to mean that I should use the 512+512 file settings from that text file instead of the 1024+1024. I set Crystal 26M, SPI SPEED 40MHz, SPI Mode (tried various), FLASH SIZE 8Mbit SpiAutoSet not checked, DoNotChgBin not checked. Nothing seemed to work. All I got was "SYNC" but after that (yes I removed the jumper between ground and IO pin) it would no longer respond to AT commands at any baud rate from the serial monitor.

After my initial post, I ran esp8266_flasher with ai-thinker-v1.1.1.bin and it now responds to AT commands again. Obviously, that's not the AT command set I'm after, but at least it responds again.

@srnet. That's an interesting fact. I actually knew that Python was some computer language but my knowledge of it is still limited to a snake. I have no idea (and do not understand the "tutorials") how to create some bin for AT 2.1. I really don't understand why it has to be compiled at all and can't just be downloaded. Why Espressif considers this to be better is beyond me...

Thanks!

@Juraj, please don't waste any time on 1.7.4. I retried it several times and all of a sudden it worked. I don't know why but it now responds to AT+GMR with version 1.7.4.

I am still looking for tips as to how to get a module equipped with 2.1 though.

Thanks.

can this help? GitHub - JAndrassy/WiFiEspAT: Arduino networking library. Standard Arduino WiFi networking API over ESP8266 or ESP32 AT commands.

Thanks Juraj! I guess when you're lost, if you run in circles often enough, things start to look familiar.
I had reviewed that Library including all the AT version info before but didn't understand one word. Now, after having reviewed enough tutorials and videos to have made the right guesses and loading 1.7.4, I was able to download his 1MB bin files and manually implement the settings indicated in his "download.config" file. I didn't get what I expected, but the module now responds to AT+GMR with "AT version:2.2.0.0". I was expecting 2.1...
Thanks for your patience, you've always been a great help.

JaBa:
Thanks Juraj! I guess when you're lost, if you run in circles often enough, things start to look familiar.
I had reviewed that Library including all the AT version info before but didn't understand one word. Now, after having reviewed enough tutorials and videos to have made the right guesses and loading 1.7.4, I was able to download his 1MB bin files and manually implement the settings indicated in his "download.config" file. I didn't get what I expected, but the module now responds to AT+GMR with "AT version:2.2.0.0". I was expecting 2.1...
Thanks for your patience, you've always been a great help.

I built the bin right after they changed the development version to 2.2, but it corresponds to 2.1

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.