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.

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

Download flash tool¶
You can download the latest esp32_flash_tool from the official website.

Flash firmware¶
1.Extract flash_download_tool, and execute flash_download_tool.exe.¶

2.Select ESP32-S3,then click OK.¶

3.Flash bin file¶
First, select serial port then erase the firmware.

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:

ble:

- B. Combine bin flash.
Combine bin flash address is 0x0, flash as follow:
otbr:

ble:

After completing the flash configuration, click start to flash:

After successful flashing, it will display:

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