Skip to content

GL-S20 Flash Guide

Tools Required

GL-S20 Device

Windows PC

Flash Download Tool, and GL-S20 firmware file

Connect devices

Connect the GL-S20 to your computer via USB Type-C.

s20_flash_guide_wiring

Open the device manager and check the serial number of CH340 device.

s20_flash_guide_serial

Download flash tool

You can download the latest esp32_flash_tool from the official website.

s20_flash_guide_flash_download_tools

Flash firmware

1.Extract flash_download_tool, and execute flash_download_tool.exe.

s20_flash_guide_program

2.Select ESP32-S3,then click OK.

s20_flash_guide_chip

3.Flash bin file

First, select serial port then erase the firmware.

s20_flash_guide_erase

There are two kinds of flash situations:

  • A. Multi-bin flash

There are generally 6 types of bins here, and each bin is assigned a properly flashed start address.

Note: If it is the BLE gateway version of the device, the web application firmware cannot be set up.

Type Bin file Flash address
Bootstrap program bootloader.bin 0x0
Partition table partition-table.bin 0x8000
Application upgrade by ota ota_data_initial.bin 0x109000
S3 Application firmware app.bin 0x110000
H2 Application firmware rcp_fw.bin 0xb10000
Web Application firmware web_storage.bin 0x710000

otbr:

s20_flash_guide_otbr_multi_bin

ble:

s20_flash_guide_ble_multi_bin

  • B. Combine bin flash.

Combine bin flash address is 0x0, flash as follow:

otbr:

s20_flash_guide_otbr_combine_bin

ble:

s20_flash_guide_ble_combine_bin

After completing the flash configuration, click start to flash:

s20_flash_guide_flash_start

After successful flashing, it will display:

s20_flash_guide_done

The GL-S20 will work normally after reboot the device.