Firmware Updates
The firmware update process uses a secure Serial OTA (Over-The-Air) method over USB, handling encrypted .enc files.
Primary Method (Software Reboot)
- The desktop app sends a
START_UPDATEcommand over USB. - The ESP32-S3 chip forces a reboot directly into the hardware ROM bootloader.
- Once in flash mode, the desktop app uses a hidden instance of
esptoolto silently flash the new decrypted firmware.
Fallback Method (Serial OTA)
If the ROM bootloader is locked:
- The desktop app sends the encrypted
.encin chunks over USB. - The ESP32-S3 reads the chunks, decrypts them in RAM using an AES key.
- It writes them to the secondary OTA flash partition before restarting.