Skip to content

CytronTechnologies/esp-at-binaries

Repository files navigation

Custom Compiled ESP-AT Firmware Binaries

These are the AT command firmwares for ESP8266 compiled from Espressif ESP-AT Source Code.
The firmwares have two different sizes:

What is NONOS-AT and ESP-AT?

NONOS-AT is the legacy AT Firmware from Espressif up to v1.7.x. This firmware is based on Non-OS SDK and no longer supported by Espressif. It's not recommended to use it anymore in new design.

ESP-AT is Espressif's AT firmware v2.0.0 and above. It's developed with OS based SDK and it's still actively supported by Espressif.
However, the supported AT Commands are not fully compatible with the legacy AT firmware. Thus this is only recommended for new design.

For more info, please refer to:

Cytron's Firmware vs Espressif's Firmware?

Since v2.0.0, Espressif has changed the UART port for AT Command to pin GPIO15 and GPIO13. However, most of the hardware for ESP8266 available in the market is still using GPIO1 and GPIO3 as its UART port. This makes extra wiring is needed in order to use the ESP-AT firmware.

Thus, we have configured the ESP-AT firmware and compiled it on our own so that we can use back pin GPIO1 and GPIO3 as its UART port. The rest of the features are exactly the same with Espressif's firmware.

Function of Connection Espressif Firmware Cytron Firmware
Update Firmware UART0
  • GPIO3 (RX)
  • GPIO1 (TX)
UART0
  • GPIO3 (RX)
  • GPIO1 (TX)
AT Command/Response UART0
  • GPIO13 (RX)
  • GPIO15 (TX)
UART0
  • GPIO3 (RX)
  • GPIO1 (TX)
Log Output UART1
  • GPIO2 (TX)
UART1
  • GPIO2 (TX)

How to Update the Firmware?

Please download the latest version of Espressif Flash Download Tool.

ESP-01S

  1. A USB to UART converter is needed to update the firmware of ESP-01S. We recommend to use this ESP01 USB Programmer Adapter as it will enter the boot mode automatically without the needs of pressing the boot button.
  2. Run the Flash Download Tool and select "Developer" mode.
  3. Select the firmware binary file and enter 0x0 as its target address.
  4. Make sure all the settings are as follow:
    • CrystalFreq: 26M
    • SPI SPEED: 40MHz
    • SPI MODE: DIO
    • FLASH SIZE: 8Mbit
    • "DoNotChgBin" is selected
      ESP-01 Settings
  5. Select the correct COM according to your system. Make sure the baud rate is 115200 or below.
  6. Press the START button and wait until it finishes.

Cytron ESP8266 WiFi Shield

  1. Stack the WiFi shield on an Arduino UNO. We will use the USB to UART converter onboard the Arduino UNO.
  2. Upload the "Blink" Sketch to the Arduino UNO (File -> Examples -> 01.Basics -> Blink). This is to make sure the Arduino program doesn't use the serial function and interfere the upload process.
  3. Push the slide switch to "Flash" and change the Tx Rx jumpers to "USB".
  4. Press the "ESP RESET" button to reset the ESP8266 into boot mode.
  5. Run the Flash Download Tool and select "Developer" mode.
  6. Select the firmware binary file and enter 0x0 as its target address.
  7. Make sure all the settings are as follow:
    • CrystalFreq: 26M
    • SPI SPEED: 40MHz
    • SPI MODE: DIO
    • FLASH SIZE: 32Mbit
    • "DoNotChgBin" is selected
      ESP12F_WROOM02 Settings
  8. Select the correct COM according to your system. Make sure the baud rate is 115200 or below.
  9. Press the START button and wait until it finishes.
  10. Push the slide switch back to "RUN" and reset it again before start using the WiFi shield.

About

Custom compiled ESP-AT firmware binaries.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published