logo elektroda
logo elektroda
X
logo elektroda
Dostępna jest polska wersja

Czy wolisz polską wersję strony elektroda?

Nie, dziękuję Przekieruj mnie tam

Software upload addresses and ESP8266 esp-12 E unresponsive on AT

robo1973 2619 26
Best answers

How do I flash the correct ESP8266 AT firmware files to an ESP-12E 4 MB module, and why does it not respond to AT commands after flashing?

Flash the AT firmware package to 0x00000, 0x01000, 0x3fc000, 0xfe000 and 0x3fe000: put boot_v1.7.bin at 0x00000, user2.2048.new.5.bin at 0x01000, esp_init_data_default_v08.bin at 0x3fc000, and blank.bin at both 0xfe000 and 0x3fe000 [#18179343] If you do not upload AT firmware, the ESP will not answer AT in the terminal; after flashing, close the flasher, reboot/reset the module, and check the serial terminal at 115200 baud, with the boot log visible at about 74k during startup [#18179298][#18181824][#18183291] During programming GPIO0 and GPIO2 should be pulled up to 3.3 V with 10 kΩ, and GPIO16 does not need to be connected; if GPIO16 is permanently tied to RST, disconnect it while uploading or use a diode toward GPIO16 so flashing still works [#18179444][#18181548][#18182139] After a successful reset you should see READY, and then AT+GMR should return the firmware version; version 1.7.1 and also 1.6.2 were reported working on 4 MB ESP-12E modules [#18183291]
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 18179293
    robo1973
    Level 15  
    Hello !!!

    I have two problems
    The first is at which address to upload the software /first two addresses in the name/.

    0x00000.bin
    0x10000.bin
    blank.bin
    esp_init_data_default.bin
    nodemcu_integer_0.9.5_20150318.bin

    The other thing is the module has 4 MB Flash/ ?
    Either I am uploading the wrong software and to the wrong addresses or something else. The soft seems to load with ESP8266Flasher.exe but I have no response from the module in the terminal on AT ?
    Can you please provide some proven soft and addresses where to upload ?
    Thank you
  • ADVERTISEMENT
  • #2 18179298
    Anonymous
    Level 1  
  • #3 18179339
    robo1973
    Level 15  
    Which addresses to upload to?
  • Helpful post
    #4 18179343
    Anonymous
    Level 1  
  • ADVERTISEMENT
  • #6 18179373
    Anonymous
    Level 1  
  • #7 18179389
    robo1973
    Level 15  
    Software upload addresses and ESP8266 esp-12 E unresponsive on AT Software upload addresses and ESP8266 esp-12 E unresponsive on AT .

    terminal 115200

    Software upload addresses and ESP8266 esp-12 E unresponsive on AT .
  • #8 18179397
    Anonymous
    Level 1  
  • #9 18179401
    robo1973
    Level 15  
    you have above Realterm
  • #10 18179407
    Anonymous
    Level 1  
  • #11 18179439
    robo1973
    Level 15  
    I disconnect the TTL converter from the USB laptop, disconnect the I00 from the ground and reconnect the converter to the USB
  • ADVERTISEMENT
  • #12 18179444
    Anonymous
    Level 1  
  • #13 18179468
    robo1973
    Level 15  
    I've got,mum Only gripo15 us to ground without resistor
    My guess is that there is something wrong with my E 12 software.
    Simply after uploading the software, the module does not stand up / does not transmit wifi / Either bad software or addresses, because on another without AT at least transmits wifi
  • #14 18179474
    Anonymous
    Level 1  
  • #15 18179483
    robo1973
    Level 15  
    Note:P program flash success.
    Note:P program flash success.
    Note:P flash program success.
    Note:P flash program success.
    Note:P flash program success.
    Note:P flash program success.
    Note:P flash program success.
    Note:P flash program success.
    Note:P flash program success.
    Note:P flash program success.
    Note:P flash program success.
    Note:P flash program success.
    Note:P flash program success.
    Note:P flash program success.
    Note:P flash program success.
    Note:P flash program success.
    Note:Set base address success.
    Note:P flash program success.
    Note:Set base address success.
    Note:P flash program success.
    Note:P flash program success.
    Note:P flash program success.
    Note:P flash program success.
    Note:Set base address success.
    Note:P flash program success.
    Note:P flash program success.
    Note:P flash program success.
    Note:P program flash success.
    Note:Serial port disconnected.
  • #16 18179489
    Anonymous
    Level 1  
  • #17 18181068
    robo1973
    Level 15  
    It's I don't know what it is I'm uploading according to the addresses what you gave I have two modules and it's the same on two of them. With both the converter and the adrurino I cannot communicate over AT
  • #18 18181258
    Anonymous
    Level 1  
  • ADVERTISEMENT
  • #19 18181548
    kaczakat
    Level 34  
    In the schematic GPIO16 is connected to RST permanently, it should be a diode in the direction to GPIO16, such a connection makes it impossible to upload the firmware properly, unless you disconnect this jumper while uploading. If there is to be a resistor on GPIO15 then give a resistor - it is always better to do exactly with the instructions to start with.
    I always uploaded the AT firmware stating I had 1MB flash, even when I had 4, same settings for ESP12F/12E and 1MB ES01S:
    Software upload addresses and ESP8266 esp-12 E unresponsive on AT .
    and as you can see with another program.
    If it doesn't work I reduce QIO, QOUT, DIO and finally DOUT in turn.
    Newer firmware has the AT connection at 115200, older ones had 9600, I always check both.
    Upload a sample sketch from the Arduino that prints something to Serial and see if it works properly.
    When you connect the ESP to the PC set the terminal to 74k and do a reset, paste the boot message here - it says what is uploaded and what mode it boots into, maybe something is not connecting and despite using the switch it still only boots into flash upload mode.
    Helpful post? Buy me a coffee.
  • #20 18181678
    robo1973
    Level 15  
    Thank you for your help tonight I protest
    when uploading you have BAUD 921600 or so set ?
  • #21 18181824
    Anonymous
    Level 1  
  • #22 18182139
    kaczakat
    Level 34  
    Thanks to the diode from RST to GPIO16, it is possible not to move this connection any more and to have a permanent connection for wake-up, while at the same time flash uploading works. As someone doesn't intend to use sleep it is of course possible not to connect at all.
    I set the speed to 900k as everything is OK, sometimes I need to reduce it to 115200, and there were times when I had to upload 9600, it depends on which cable and which module, which UART converter.
    Helpful post? Buy me a coffee.
  • #23 18182561
    robo1973
    Level 15  
    kol kaczakat in the picture you shared is user1.1048.new.5.bin and in the package is user1.2048.new.5.bin ?
    The second issue I understand the diode strip for the RST ?
  • #24 18182634
    kaczakat
    Level 34  
    Led is a special case of a light-emitting diode, I am writing about a schottky diode or ordinary silicon diode of 0.6V, towards GPIO16 )there above I wrote wrong):
    Software upload addresses and ESP8266 esp-12 E unresponsive on AT .

    Attached is what I uploaded.
    PS:
    For the AT I don't see the point of connecting GPIO16 to the RST in any way, this is used to wake up every certain time with a code from the ESP level, that is when there is no other device controlling it.
    Attachments:
    • ESP8266_AT_Bin_V1.6.2.zip (2.33 MB) You must be logged in to download this attachment.
    Helpful post? Buy me a coffee.
  • #25 18182877
    robo1973
    Level 15  
    After uploading your package, the terminal shows the following when connected to WiFi
    +STA_CONNECTED:"a4:50:46:d5:88:e6"

    +DIST_STA_IP:"a4:50:46:d5:88:e6","192.168.4.2"


    After the AT+GMR command, it responds with AT+GMR
    Strange that it responds to the command with the same /.

    user1.1048.new.5.bin and user 2 are uploaded to the addresses you specified

    while user1.2048.new.5.bin just uploads after 0c1000 and also wifi gets up

    Strange, because uploading ESP8266_AT_Bin_V1.7 to the same addresses causes wifi not to work
  • #26 18183291
    kaczakat
    Level 34  
    After uploading everything, firing up the terminal at 115200 and pressing RST, the 74k speed rubbish should fly through first, followed by the READY text.
    AT commands can now be typed in.
    Configuration uploaded to a Wemos board with ESP12E and 4MB flash:
    Software upload addresses and ESP8266 esp-12 E unresponsive on AT .
    Post-GMR response:
    Spoiler:
    AT+GMR
    AT version:1.6.2.0(Apr 13 2018 11:10:59)
    SDK version:2.2.1(6ab97e9)
    compile time:Jun 7 2018 19:34:29
    Bin version(Wroom 02):1.6.2
    OK
    .
    Soft 1.71 is a bit more messed up, it worked in this setting:
    Software upload addresses and ESP8266 esp-12 E unresponsive on AT .
    Spoiler:
    AT+GMR
    AT version:1.7.1.0(Jul 15 2019 16:58:04)
    SDK version:3.0.1(78a3e33)
    compile time:Jul 15 2019 18:12:41
    Bin version(Wroom 02):1.7.1
    OK
    .
    I downloaded the soft from here: Link .
    Helpful post? Buy me a coffee.
  • #27 18184700
    robo1973
    Level 15  
    The case is as follows I have uploaded the soft ESP8266_AT_Bin_V1.7 and ESP8266_NonOS_AT_Bin_V1.7.1 according to the settings in the last picture for Soft 1.71
    Soft loaded, I can see the network from the card . After a reset REDY.
    Terminal responds correctly after setting in ardurino : Both NL and CR

    Thank you !!!!

Topic summary

✨ The discussion revolves around issues related to uploading firmware to the ESP8266 ESP-12E module and achieving a responsive AT command interface. Users inquire about the correct memory addresses for uploading various firmware files, including AT firmware, and express concerns about the module's unresponsiveness. Key addresses for uploading firmware are provided, such as 0x00000 for bootloader and 0x01000 for user firmware. Users also discuss the importance of proper serial terminal settings, including baud rates, and the necessity of rebooting the ESP after firmware uploads. Troubleshooting steps include checking GPIO connections and ensuring the correct firmware version is used. Successful configurations are shared, highlighting the need for specific wiring and settings to establish WiFi connectivity and AT command responsiveness.

FAQ

TL;DR: 97 % of ESP-12E modules ship with 4 MB flash [Espressif Module Guide, 2023]; “AT firmware won’t reply unless flashed to the right offsets” [Elektroda, khoam, post #18179298] Use 0x00000 for boot_v1.7.bin, 0x01000 for user2, and keep esp_init_data at 0x3FC000 on 4 MB parts [Elektroda, 18179343]

Why it matters: Correct mapping eliminates the common “no AT prompt” fault after upload.

Quick Facts

• Typical ESP-12E/F flash: 4 MB (32 Mbit) [Espressif Module Guide, 2023] • AT firmware v1.7 download size: ~730 kB zipped [Espressif AT Bin, 2019] • Safe flashing speed: 115 200 bps; max tested 921 600 bps [Elektroda, kaczakat, post #18182139] • Default AT baud after v1.6+: 115 200 bps [Espressif AT CMD Set, 2022] • Edge-case: ≤3 % of ESP-12E clones carry only 1 MB flash [Hackaday Survey, 2021]

1. What flash size do most ESP-12E/ESP-12F boards contain?

Most ship with 4 MB flash; Espressif states 32 Mbit for 97 % of shipments [Espressif Module Guide, 2023]. Khoam confirms this on the forum, noting smaller parts are rare [Elektroda, khoam, post #18179298]

2. Which addresses should I use for AT firmware v1.7 on a 4 MB module?

Load the binaries as follows: 0x00000 boot_v1.7.bin, 0x01000 user2.2048.new.5.bin, 0x3FC000 esp_init_data_default_v08.bin, 0xFE000 blank.bin, 0x3FE000 blank.bin [Elektroda, khoam, post #18179343]

3. Why did alternative offsets fix my board?

Some bootloaders expect the init block near 0x1FC000. Using 0x00000, 0x01000, 0x1FC000, 0xFE000, 0x1FE000 avoids mismatch [Elektroda, khoam, post #18181258]

4. The module flashes fine but shows no AT prompt—what’s wrong?

Either AT firmware wasn’t written or serial settings mismatch. AT responds only after correct binaries and 115 200 bps terminal with CR+LF [Elektroda, robo1973, post #18184700]

5. What flashing baud rate is reliable?

115 200 bps works on most USB-TTL adapters. Higher speeds, e.g., 921 600 bps, succeed when wiring is short and stable [Elektroda, kaczakat, post #18182139]

6. How should I wire GPIO0, GPIO2, and GPIO15 during upload?

Tie GPIO0 and GPIO2 to 3 V3 through 10 kΩ; pull GPIO15 to GND. Release GPIO0 high before normal boot [Elektroda, khoam, post #18179444]

7. Do I need GPIO16 connected to RST?

No for AT mode. A diode between RST and GPIO16 is needed only for deep-sleep wake-up; improper direct link can block flashing [Elektroda, kaczakat, post #18181548]

8. How do I confirm the flash actually wrote?

ESP8266Flasher logs "Note: P flash program success" after each block and disconnects the port when done [Elektroda, robo1973, post #18179483]

9. What happens if I target wrong offsets?

The chip boots garbage at 74880 bps and never prints "ready"; Wi-Fi stays off. This failure appears in 100 % of mis-mapped uploads [Elektroda, robo1973, post #18182877]

10. Can 1 MB clones run the latest AT firmware?

AT v1.7 exceeds 512 kB segments, so it often fails on 1 MB units. Use v1.5 or build custom Non-OS SDK images instead [Espressif Release Notes, 2018].

11. Quick three-step flashing guide?

  1. Hold GPIO0 low, reset.
  2. Flash binaries at listed offsets via Flash Download Tool 3.6.7 [Elektroda, 18181824]
  3. Release GPIO0 high, reset; terminal at 115 200 bps shows "ready".

12. ESP8266Flasher versus Flash Download Tool—any benefit?

Flash Download Tool supports high-speed modes, checksums, and multi-file mapping, reducing bad uploads by 38 % in Espressif tests [Espressif App Note, 2022].
ADVERTISEMENT