Firmware Upgrade (Using esptool)
If you're unable to update the firmware using Chrome/Edge due to compatibility issues, you can try updating the firmware using the following method:
Driver Installation
- For macOS, you can directly proceed without installing any drivers.
- If your Windows system doesn't have built-in serial port drivers, you'll need to install the appropriate drivers. You can download the drivers from here.
Updating Firmware using Python3
- Open Terminal and create a directory:
mkdir esptool
. - Download the latest firmware and save it in the
esptool
directory. - Connect the toy to your computer using the provided USB cable, and power on the toy. In Terminal, execute
ls -l /dev/tty*
to find the serial port device. For example, mine is/dev/tty.usbserial-14210
. - Install the esptool tool. Navigate to the
esptool
directory and execute the following commands:
python3 -m venv venv
. venv/bin/activate
pip install esptool
- Use the following command to flash the firmware (Note: Replace VERSION with the version of the firmware you downloaded):
VERSION=23.50.3.11
esptool.py --chip esp32 --port /dev/tty.usbserial-14210 --baud 115200 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 40m --flash_size detect 0x0 folotoy-${VERSION}.bin
Updating Firmware using esptool command
If you don't have a Python3 environment on your machine, you can try the following method to flash the firmware:
- Download the official Espressif flashing tool: esptool. For example, if you're using a Mac, download the macOS version of the tool.
- Extract the downloaded esptool-v4.6.2-macos.zip to a folder named esptool-v4.6.2-macos.
- Download the latest firmware and save it in the esptool-v4.6.2-macos folder.
- Connect the toy to your computer using the provided USB cable, and power on the toy. In Terminal, execute
ls -l /dev/tty*
to find the serial port device. For example, mine is/dev/tty.usbserial-14210
. - Use the following command to flash the firmware:
If you encounter a "permission denied" error, it means you don't have the necessary permissions. You can run chmod +x esptool
to add the required permissions. After modifying the permissions, run the command again. At this point, macOS may display a security prompt. Go to System Settings > Privacy & Security and allow the execution of esptool.
Flash the firmware (Note: Replace VERSION with the version of the firmware you downloaded):
VERSION=23.50.3.11
./esptool --chip esp32 --port /dev/tty.usbserial-14210 --baud 115200 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 40m --flash_size detect 0x0 folotoy-${VERSION}.bin