Need help to flash GL-S10

I recently bought a new GL-S10 v2.1 and started to learn ESPHome. I am ready to flash my first firmware. I am using ESPHome on a MacBook with PL2303 USB to UART adapter, and I am able to connect to the serial port and see the logs when running the stock firmware.
My trouble is to flash it with my new firmware. I seem not able to put the board into "download mode" following the guide (Firmware Compilation Guide - GL.iNet IoT Docs) and other's post (GL-iNet GL-S10 | devices.esphome.io). The error I got was

esptool.py v4.7.0
Serial port /dev/cu.PL2303-USBtoUART140

Connecting.......................................................................................................

A fatal error occurred: Failed to connect to ESP32: No serial data received.

I followed the instruction to press and hold the reset button while plugging the power supplier, and keep holding the reset button until the connection attempt failed. What did I do wrong?

Ah! I figured it out myself. I was mistaken on the button. Accordingn to the user's manual, there is only one button on the board so I presumed the "reset" button is "the button". After carefully examine the pin name, I found another button on the board. That is the button for programming. I am able to program it now. Sorry for the noise.

1 Like