Introduction: How to Flash or Program ESP8266 AT Firmware by Using ESP8266 Flasher and Programmer, IOT Wifi Module

Description:

This Module is an USB adapter /programmer for ESP8266 modules of type ESP-01 or ESP-01S. It is conveniently fitted with a 2x4P 2.54mm female header to plug the ESP01. Also it breaks out all the pins of the ESP-01 via a 2x4P 2.54mm male header, so it is very convenient for user to debug the ESP8266.


The module is based on the USB-UART CP2104 which is compatible with all platforms. Onboard with the ESP8266 automatic download circuit. It is very convenient for users to download ESP-01/01S program, upgrade firmware, serial debugging and so on. It supports lots of software such as Arduino IDE, ESP8266 Flasher and Lexin FLASH_DOWNLOAD_TOOLS .

Specification:

  • USB Type A interface.
  • One 2x4P 2.54mm female header
  • One 2x4P 2.54mm male header
  • Operating Volatge: 3.3V

Step 1: List of Material

    The attached photo shows the component needed In this tutorial:

    1. ESP8266 Flasher and Programmer
    2. ESP8266 Wifi Serial Transceiver Module
    3. Jumper wire.

    Step 2: Hardware Installation

    The photo above shows the connection between ESP8266 Flasher and Programmer and ESP8266 Wifi Serial Transceiver Module by using jumper wire.

    Step 3: Download File

    Download Driver for ESP8266 Flasher and Programmer

    Download firmware inside the ESP8266 Flash Tool folder.

    And Install the driver.

    Step 4: Firmware Installation

    Window ( AT Firmware)

    1. After Download Firmware Flasher file. Extract it. Enter the folder, go to install_firmware > window.
    2. Open ESP_DOWNLOAD_TOOL_V2.4.exe.
    3. Choose the COM port ESP8266 Flasher and Programmer + ESP8266 Wifi Serial Transceiver module connecting to. Set the BAUDRATE to 115200.

    4. Make sure ESP8266 Wifi Serial Transceiver module is in FLASH mode (Refer Step 2 first photo for hardware configuration)

    5. Click START to install the firmware.

    • bin\boot_v1.2.bin 0x00000
    • bin\user1.4096.new.4.bin 0x01000
    • bin\blank.bin 0x7e000
    • bin\user2.4096.new.4.bin 0x81000
    • bin\esp_init_data_default.bin 0x3fc000
    • bin\blank.bin 0x3fe000

    Step 5: AT Command in Arduino

    1. Disconnect jumper wire from ESP8266 Flasher and Programmer (Refer step 2 second photo)
    2. Open your Arduino then click serial monitor.
    3. Press button Reset for make sure esp8266 is connected at serial monitor.
    4. Please follow the correct serial monitor configuration (Refer the photo above)
    5. Then write AT and send it, it will reply ok
    6. For more detail about AT Command, click this link for more information about AT Command

    To change baudrate using AT Command:

    AT+ UART_DEF=19200,8,1,0,0

    For example 9600 baudrate / 8 data bits / 1 stop bits and none parity and flow control AT+UART_DEF=9600,8,1,0,0

    the command AT+CIOBAUD=9600 it would change the baudrate temporarily

    ESP8266 AT Command Reference

    Step 6: Let's Get Start !