This is the multi-page printable view of this section. Click here to print...

Return to the regular view of this page

As of 2025-07-24

How to Initialize Firmware

How to restore TWELITE SPOT firmware to the factory default state
This guide explains how to initialize the firmware written to the ESP32 and TWELITE installed on the TWELITE SPOT back to the factory default state.

1 - How to Initialize ESP32 Firmware

How to restore ESP32 firmware on TWELITE SPOT to the factory default state
This guide shows how to manually restore the firmware written to the ESP32 on TWELITE SPOT to the factory default state using esptool.

Install esptool

Install Python

If Python 3.7 or later is not installed, please install Python 3.7 or later.

https://www.python.org/downloads/

Install esptool itself

Install esptool from PyPI.


pip install esptool

Connect to the host

Connect TWELITE R3 / R2

Connect the TWELITE R3 / R2 to the 7P interface (the side labeled ESP32).

Connect power

Supply 5V power to the USB-C connector on the side.

Connection example (ESP32)

Obtain the binary file

Please download spot-server-2023-05-bin.zip from the link below.

spot-server-2023-05-bin.zip

After downloading, unzip the file.

Start ESP32 in programming mode

Press the ESP32 reset switch EN(RST) and the ESP32 boot switch BOOT on TWELITE SPOT, then release them in the order EN(RST) -> BOOT.

Button locations

Button locations

Write with esptool

On the terminal where esptool is installed, navigate to the folder where you extracted spot-server-2023-05-bin.zip, and run the following:


esptool --chip esp32 --port {Serial Port} --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode qio --flash_freq 80m --flash_size 16MB 0x1000 spot-server.ino.bootloader.bin 0x8000 spot-server.ino.partitions.bin 0xe000 boot_app0.bin 0x10000 spot-server.ino.bin 0x100000 spot-server.littlefs.bin

Reset ESP32

After writing is complete, press and release the ESP32 reset switch EN(RST) on TWELITE SPOT to reset ESP32.

Reset switch location

Reset switch location

2 - How to Initialize TWELITE Firmware

How to restore TWELITE firmware on TWELITE SPOT to the factory default state
This guide explains how to restore the firmware written to the TWELITE mounted on the TWELITE SPOT to the factory default state using the TWELITE STAGE APP.

Install the TWELITE STAGE APP

Download the TWELITE STAGE SDK and extract the downloaded file directly under the C drive (for Windows).

Obtain the Firmware

Download the binary file from the link below and place it in the BIN folder inside the MWSTAGE folder.

Connect to the Host

Connect TWELITE R3 / R2

Connect the TWELITE R3 / R2 to the 7P interface (the side labeled TWELITE).

Connect Power

Supply 5V power to the USB-C connector on the side.

Connection Example (TWELITE)

Operating the TWELITE STAGE APP

  1. Launch the TWELITE STAGE APP (TWELITE_Stage.exe).

  2. Select the TWELITE R3 / TWELITE R2 in the serial port selection screen.

  3. From the main menu, choose “Rewrite Application” -> “Select from BIN” and write the previously obtained binary (App_Wings_TWELITESPOT_BLUE_L1305_V1-3-0.bin).