Flash Firmware

Last Updated on : 2026-04-27 07:56:15Copy for LLMView as MarkdownDownload PDF

This topic describes how to flash firmware to the WR11-G-IPEX module.

Flash with Tuya tools

  1. Open Tuya Production Toolkit and choose Burn and Upgrade > TYPT_MultipleBurningTool.

    Flash Firmware

  2. Connect the pins for flashing.

    • Serial port TX > LOG_RX
    • Serial port RX > LOG_TX
  3. Enter the token and press Enter.

    Flash Firmware

  4. Configure the flashing serial port and baud rate (1,500,000).

    Flash Firmware

  5. Click Prepare, click Flash, and then power on the device.

    Flash Firmware

Switch firmware after flashing

Switch from the MP firmware to the application firmware after flashing.

  1. Open SecureCRT or other serial software. Configure the correct serial port and baud rate (the same as the flashing baud rate).

  2. Power on the device. When logs appear, enter AT+OTACLEAR and press Enter. A prompt in the red box indicates success.

    Flash Firmware

  3. Power on the device again.

Flash firmware with chip vendor’s tool

Pins on flashing tool

Pin Description
TX/RX User serial port (Tuya tool authorization and production tests)
LOG_TX/LOG_RX Chip vendor’s tool or batch flashing

Wiring

Connect the pins as described in the Flash with Tuya tools.

Output files

Flash Firmware

  • axf file: A debug file used for locating paths before a crash.
  • QIO firmware: includes bootloader, mp (RF calibration), and ota2 (tuya). This firmware can also be flashed using the chip vendor’s tool.
  • UG firmware: The update area firmware for backend upload. This firmware does not include a bootloader and cannot be flashed using the chip vendor’s tool. However, during a remote OTA update, this firmware will be pulled by the module.

Download procedure

Download full firmware

Chip vendor’s tool path: /vendor/rtl8711daf/rtl8711daf_os/tools/ameba/ImageTool/AmebaImageTool.exe

  1. After wiring is completed as described above, open the chip vendor’s flashing port.
  2. Open the chip vendor’s flashing tool and configure settings as shown in the image.
  3. Select the firmware. Choose QIO firmware in the output folder. Select the firmware again after each compilation. Otherwise, the SHA-256 hash value will not be recalculated.
  4. Configure the correct serial port and baud rate for flashing.
  5. Enter the start and end addresses for flashing.
  6. Click Download.
  7. Switch the firmware after downloading (see above).

Flash Firmware

Download debug firmware

You can flash only the application firmware during local debugging instead of flashing the full firmware every time.

  1. Debug firmware path: vendor/rtl8711daf/rtl8711daf_os/amebadplus_gcc_project
  2. Select the debug firmware km0_km4_app.bin. Select the firmware again after each compilation.
  3. Configure the correct serial port and baud rate for flashing.
  4. Enter the start and end addresses for flashing.
  5. Click Download.

Flash Firmware

Erase full chip

  1. Configure the correct serial port and baud rate for flashing.
  2. Configure the start address and size for erasing.
  3. Click Erase.

Flash Firmware

OTA update on the platform

How it works:

  1. Upload the firmware to the Tuya Developer Platform. For more information, see Manage Firmware.
  2. Configure the firmware version. For more information, see Update Firmware.
  3. Trigger the update using the mobile app.