Skip to content

Web flasher

On this page: when to use the web flasher, what you need, the two modes (update and full flash), and what to do when it fails. The web flasher is part of Lutra Insight, menu Flash a box.

Partners and their technicians may flash boxes at a client's pool themselves with the web flasher.

When you need it

Situation Use
Box runs Lutra firmware and has internet Not needed: updates arrive remotely. See Updates and channels.
Box runs Lutra firmware, no internet on site Web flasher, mode update
New board (factory firmware), empty or broken box Web flasher, mode full flash
Change from read build to switching build or back Web flasher, mode full flash. See Converting to another build.

What you need

  • A computer with Windows, macOS, Linux or ChromeOS.
  • Chrome, Edge or Opera. Safari, Firefox and browsers on phones and tablets do not support Web Serial.
  • A USB-C data cable.
  • A Lutra Insight account.

Mode a: update a box that runs Lutra firmware

  1. Connect the box to the computer with the USB-C cable.
  2. Open Flash a box in the portal and click Connect. Choose the box in the browser's port list.
  3. The flasher reads the running version, board and build from the box. It only offers firmware from the channel of exactly that board and build.
  4. Choose the version and click Update to. You can also choose your own signed file (.bin); it must be signed by Lutra and be for the same board and build.
  5. The box checks the signature and the version, writes the new firmware to its other firmware slot and restarts.
  6. After the restart the box tests itself. If the test fails, it returns to the previous version by itself. The flasher reconnects and shows the running version.

The box accepts only a newer version that was not rolled back earlier on that box.

Opening the USB port restarts the box

Opening the serial port resets the board. After an update, the flasher waits about 45 seconds before it opens the port again, so the self-test is not interrupted. Do not unplug the cable during that time.

Mode b: full flash of an empty or broken box

A full flash erases everything

Settings, the log, buffered readings, and the box's identity with its key and certificate are erased. Afterwards the box must be registered again. Only use this for an empty or broken box, or to change build.

  1. Connect the box and click Connect. If the box does not answer as Lutra Lite, the flasher offers the full flash.
  2. Choose board and build. An empty box reports nothing; choose exactly the board you have. The switching build is marked clearly. See Builds.
  3. The flasher downloads all files of that firmware and checks them (sha256).
  4. Read chip: the flasher checks that the chip is an ESP32-S3, shows the MAC address and the flash size, and checks the security state. Compare the MAC address with the box's sticker or earlier registration.
  5. Tick "I understand that everything on this box is erased" and click Erase and write.
  6. The flasher erases the whole flash, writes bootloader, partition table, OTA data and application, verifies each with MD5 and restarts the box.

The flasher refuses to write if the chip is not an ESP32-S3, if secure boot or flash encryption is enabled, if the security state cannot be read, or if the flash is too small. The web flasher never touches eFuses.

To be confirmed

How a box is registered again after a full flash (by Lutra or by the partner) is not decided yet.

When it fails

Message or symptom What to do
"The USB port is busy" Close other programs using the box (serial monitor, esptool, another browser tab).
"Could not put the chip into flash mode" Hold BOOT, plug in the cable, release BOOT, click Connect again.
"This browser cannot talk to USB devices" Use Chrome, Edge or Opera on a computer.
"The box refused the update" Read the reason. other build or other board: the file is for another channel. A lower or rolled-back version is refused.
"This file is not signed" Only firmware signed by Lutra is accepted.
Box not found after the restart Keep the cable in; click Connect again to see the version.
Version unchanged after the restart The new version was rolled back after a failed self-test. Check the box's log.
Flashing failed halfway The box may be empty now, but the chip cannot break. Try again, holding BOOT while plugging in.

More in Troubleshooting.

Last reviewed: 2026-11-24. Applies to Lutra Lite 0.4.1.