Flash an EMWaver board
This writes firmware straight to the board through the STM32 ROM bootloader. Use it to update, or to bring back a board that will not start.
It runs in Chrome or Edge, on a desktop or on an Android phone. Nothing is uploaded — the firmware file is read in your browser and pushed over USB from there.
This browser cannot talk to USB devices.
Flashing needs WebUSB, which means Chrome or Edge — on a desktop, or on an Android phone. Safari and iOS do not expose USB devices to web pages at all, so an iPhone cannot perform this step. If you only have an iPhone, borrow a laptop or an Android phone; it is a one-off.
1. Put the board in Update Mode
In the app, open the terminal on the Home screen and run
dfu. The board erases the start of its flash and restarts into the STM32 ROM bootloader. If the board is already bricked and the app cannot see it, hold BOOT0 while plugging it in instead.Either way the board will now appear as
0483:DF11and stay in Update Mode until it is flashed. On Windows you may need to bind the WinUSB driver to it once with Zadig — the ROM bootloader’s descriptors are fixed and cannot advertise WinUSB for themselves.2. Choose the firmware
A
.binbuilt fromstm/emwaver-firmware. It is written to 0x08000000.3. Flash
The browser will ask which USB device to use. Pick the one named STM32 BOOTLOADER.
