AT Binary Lists

[中文]

This document covers the following sections:

Note

To download AT firmware for other chip series, please go to the drop-down list on the upper left corner of this page and select a chip series to navigate to the documentation of that chip for downloading.

Brief Introduction to AT Firmware

ESP-AT firmware contains several binaries, and each of them is dedicated to a specific function:

  • factory/factory_xxx.bin is the combination of all binaries. So, you can either download the factory/factory_xxx.bin to address 0, or several binaries to different addresses according to download.config.

  • at_customize.bin provides a user partition table, which lists the starting address and partition size for the mfg_nvs and possible fatfs. You can read and write the contents of the partition listed in this file with the command AT+FS and AT+SYSFLASH.

  • mfg_nvs.bin indicates the hardware configurations for different ESP32-C2 modules (see the table below). Please make sure the correct bin is used for your module. For more information on this parameter file, please refer to Firmware with Updated Parameters.

Hardware Configuration of ESP32-C2 Modules

Modules

UART Pins (TX, RX, CTS, RTS)

Factory Parameter Bin

ESP32C2-4MB Series

  • GPIO7

  • GPIO6

  • GPIO5

  • GPIO4

factory_param_ESP32C2-4MB.bin

Which Type of Firmware Shall I Choose?

ESP-AT firmware has the following types. Among them, the workload of downloading or preparing firmware increases from top to bottom, and so does the number of supported module types.

GitHub Temporary Firmware

GitHub temporary firmware is compiled by GitHub whenever code is pushed to GitHub and yet does not reach the firmware release cycle. In other words, it is the firmware in development, including the temporary versions of officially released firmware and supported firmware that is not planned for release. The former can be upgraded directly based on the Espressif OTA server.

  • How to obtain firmware: Please refer to How to Download the Latest Temporary Version of AT Firmware from GitHub.

  • Pros:

    • Real-time integration of new features and bug fixes.

    • Covering some unofficially released firmware, such as firmware based on SDIO communication and firmware based on SPI communication.

    • Small workload of obtaining firmware.

  • Cons: As the firmware compiled based on commits that are not for official release has not been thoroughly tested, there may be some risks. You need to do a complete test by yourself.

Firmware with Updated Parameters

The firmware with updated parameters is generated by updating the parameter area and you do not need to compile the firmware. It is suitable for the case where the firmware function meets the project requirements, but only some parameters do not, such as the factory baud rate and UART IO pins. This type of firmware can be directly upgraded based on the Espressif OTA server.

  • For how to modify those parameters, please refer to at.py Tool.

  • Pros:

    • No need to recompile the firmware.

    • The firmware is stable and reliable.

  • Cons: Requiring modification to released firmware, long update cycle, and a limited number of supported modules.

Self-Compiled Firmware

When you need to conduct secondary development, you can compile the firmware by yourself. To support the OTA function, you need to deploy your own OTA server.

  • For how to compile the firmware by yourself, please refer to Compile ESP-AT Project Locally.

  • Pros: You can control functions and cycles.

  • Cons: You need to set up the compilation environment.

After Getting Firmware, What Next?

After you get the firmware, please refer to Hardware Connection and Firmware Downloading and Flashing Guide to connect the PC and ESP device and flash the firmware to the device.