I did not have success with the 3.0 release from the Espressif NONOS_SDK repository. I also had success and was able to connect in a terminal program with 115200 bps. Using the 2.2.1 release from the Espressif NONOS_SDK repository andĮsptool.py -port /dev/tty.usbserial-FTG54BPS -baud 115200 write_flash -flash_mode dio 0x00000 boot_v1.2.binĮsptool.py -port /dev/tty.usbserial-FTG54BPS -baud 115200 write_flash -flash_mode dio 0x01000 at/512+512/.2.binĮsptool.py -port /dev/tty.usbserial-FTG54BPS -baud 115200 write_flash -flash_mode dio 0x7C000 esp_init_data_default_v05.bin The Espressif ESP8266 SDK Getting Started Guide contains the most recent information about the layout of the flash memory. Subsequently I was able to connect in a terminal program with 115200 bps and got Using the old AT firmware from Espressif itself with the “Offical ESP8266 AT+ Commands” from their old GitHub repository I was also able to get it to work with:Įsptool.py -port /dev/tty.usbserial-FTG54BPS -baud 115200 write_flash -flash_mode dio 0x00000 boot_v1.1.binĮsptool.py -port /dev/tty.usbserial-FTG54BPS -baud 115200 write_flash -flash_mode dio 0x01000 newest/user1.binĮsptool.py -port /dev/tty.usbserial-FTG54BPS -baud 115200 write_flash -flash_mode dio 0x7C000 esp_init_data_default.binĮsptool.py -port /dev/tty.usbserial-FTG54BPS -baud 115200 write_flash -flash_mode dio 0x7E000 blank.bin
![ai thinker esp8266 firmware ai thinker esp8266 firmware](https://randomnerdtutorials.com/wp-content/uploads/2020/02/how-to-program-upload-code-firmware-ESP32-CAM-board-Arduino-IDE-FTDI.jpg)
Subsequently I was able to connect in a terminal program with 9600 bps and got
![ai thinker esp8266 firmware ai thinker esp8266 firmware](https://eji4evk5kxx.exactdn.com/wp-content/uploads/2021/11/ESP8266-50-millions-units.jpg)
In the next section I will describe three things that worked, going from the oldest to most recent firmware versions.įollowing the instructions here and using a rather obscure version of the firmware contained in a single binary file from here, I had success with:Įsptool.py -port /dev/tty.usbserial-FTG54BPS -baud 115200 write_flash -flash_mode dio 0x00000 v0.9.2.2\ AT\ Firmware.bin The challenge is to figure out which firmware is compatible with my specific module, and to which flash memory locations to write the different pieces of the firmware. I tried various options to flash my ESP-12 with the original firmware, most of which failed.
Ai thinker esp8266 firmware software#
You will also need software to write the new firmware, I am exclusively using esptool.py. There are many online tutorials for this and I won’t elaborate here. To flash the firmware to an ESP8266, you will need to wire it up and get it in the right boot loader mode. The NodeMCU project is more centrally managed/organized and includes a website where you can compile customized firmwares with support for specific hardware add-ons. The Espruino firmware, which includes a JavaScript interpreter.įor the firmware options that include a Python or a JavaScript interpreter it should be mentioned that there are other versions from other companies/projects.The MicroPython firmware, which includes a Python interpreter.The NodeMCU firmware, which includes a LUA interpreter.The AT firmware, comparable to the Hayes command set on old modems.So the most confusing aspect of the ESP8266 for me is that there are multiple “standard” firmwares available for it, which I often accidentally confuse.
Ai thinker esp8266 firmware pro#
Note that there are development boards such as the Wemos D1 mini pro that even have more.Īs the ESP8266 is nowadays fully supported in the Arduino IDE, I prefer to develop my own custom firmware for the ESP8266 using C/C++ and the Arduino IDE and libraries. The ESP-01 module comes with 512kB flash (old modules) or 1MB (now more common). The AI-Thinker website has a module list table that includes this. This page on the ESP8266 wiki has an overview of all modules and this page has comparison of some of the raw modules with some of the development boards.īesides the number of GPIO pins that is exposed by each of the modules, another important feature is their flash memory capacity. The ESP8266 microchip comes on various development boards that include an USB interface, such as the Wemos D1 Mini and the NodeMCU board, but also as bare modules such as the ESP-01, 02, etc. I realize that I have been struggling with different firmwares before, hence this post to give a short review and to keep some notes for my own future reference. This is where the challenge starts, since my plan required restoring my ESP-12 to the AT firmware and use a library like ESP8266wifi or WiFiEsp.
![ai thinker esp8266 firmware ai thinker esp8266 firmware](https://remotexy.com/img/help/help-esp8266-firmware-update-arduino.png)
Neither my ESP-01, not my ESP-12 still have the original AT firmware, since I have been experimenting with various other firmwares. In this project the ESP8266 will only be used to transmit the data over WiFi. The specific project requires very well controlled timing of an ADC, for which I will use a regular ATmega328P-based Arduino board. But I also have some bare ESP-01 and ESP-12 modules lying around, and recently I came up with the plan to use one of them. Most of the time I am using Wemos D1 mini development boards in combination with the Arduino IDE to make my own firmware to run directly on the ESP8266 chip.