OTA Update Mechanism
Overview
reTerminal Sticky supports OTA (Over-The-Air) remote updates for both firmware and apps, ensuring the device always runs the latest version.
Update Types
Firmware Update
Updates the entire device firmware, including system kernel, drivers, and service layer.
App Update
Updates or installs individual apps without updating the entire firmware.
Update Process
- Detect update: Device periodically or manually checks for new versions on the server
- Download firmware: Download update package via Wi-Fi
- Verify integrity: Verify the downloaded update package is complete
- Apply update: Write new firmware to the backup partition
- Reboot & switch: Reboot the device, boot from the new partition
- Rollback protection: If the new firmware fails to boot, automatically roll back to the previous version
Dual Partition Design
Sticky uses an A/B dual partition design for safe and reliable updates:
- Partition A: Currently running firmware
- Partition B: Where new firmware is written
During an update, new firmware is written to the inactive partition. After reboot, the system switches to the new partition. If the new firmware is abnormal, the system automatically rolls back to the original partition.
Update Triggers
- Auto check: Device periodically checks for updates
- Manual check: Manually check in device settings or Seeedash app
- Push notification: App sends notification for major updates
Notes
- Updates require Wi-Fi connection
- Do not disconnect power during updates
- The device will automatically reboot during the update process
- Firmware updates are recommended while charging
Next Steps
- Seeedash App Framework — Learn about the app-side architecture