UpdateOTW

Peer-to-peer firmware update over the wire (Modbus RTU / RS485).

Author
Ítalo Coelho
Website
https://github.com/italo-coelho/UpdateOTW
Category
Communication
License
LGPL 2.1 or later
Library Type
Contributed
Architectures
esp32

Stream a firmware image from a Modbus RTU master to a slave over a half-duplex RS485 bus, and the slave reboots into it. Two register-array state machines (UpdateOTW_Master sender, UpdateOTW_Slave receiver) — your code keeps doing the Modbus, the library only reads/writes a small register window. Non-blocking (one frame per tick), so the device keeps running while it updates, with deferred apply. Per-chunk CRC16 plus full-image CRC32, automatic retry with patient back-off, and free rollback via the ESP32 Update library. No external dependencies.

Downloads

Filename Release Date File Size
UpdateOTW-1.1.0.zip 2026-08-05 103.11 KiB
UpdateOTW-1.0.1.zip 2026-08-04 93.88 KiB