Connect the correct board
Leave the battery disconnected and use a USB-C data cable. Close other programs using the USB port. This guide is for the Waveshare ESP32-S3-Touch-AMOLED-1.75 with 16 MB flash memory.
Install the backup tool
We use esptool, the chip manufacturer’s utility. Install Python first if needed. Then open PowerShell on Windows or Terminal on macOS/Linux. Choose your system below; the commands create a separate environment for esptool.
Windows
py -m venv deskbuddy-backup .\deskbuddy-backup\Scripts\python.exe -m pip install esptoolmacOS / Linux
python3 -m venv deskbuddy-backup ./deskbuddy-backup/bin/python -m pip install esptoolFind the USB port
On Windows, find the board under “Ports (COM & LPT)” in Device Manager, for example COM5. On macOS the port often starts with /dev/cu.usbmodem and on Linux it is often /dev/ttyACM0. The names below are examples: use your connected board’s actual port.
Read the existing firmware
Run the command for your system in the same terminal. Replace the example port first. Keep the board connected until esptool reports that reading has finished.
Windows
.\deskbuddy-backup\Scripts\python.exe -m esptool --chip esp32s3 --port COM5 read-flash 0 ALL original-firmware.binmacOS
./deskbuddy-backup/bin/python -m esptool --chip esp32s3 --port /dev/cu.usbmodemXXXX read-flash 0 ALL original-firmware.binLinux
./deskbuddy-backup/bin/python -m esptool --chip esp32s3 --port /dev/ttyACM0 read-flash 0 ALL original-firmware.binCheck and keep the file
The folder where you ran the command now contains
original-firmware.bin. For this 16 MB board, the full backup should be 16,777,216 bytes. Confirm that esptool finished without errors and keep two copies. A backup may contain Wi-Fi passwords and device settings: keep it private.
These commands use esptool 5; older versions use read_flash instead of read-flash. esptool docs ↗