A Web Serial flasher for the STM32 factory UART bootloader, with an optional serial console.
docker compose up --build- Open
http://localhost:8080
- Serve this folder over HTTPS or
localhost(Web Serial requires a secure context). - Put your STM32 into the system bootloader (BOOT0 high, reset).
- Connect USB-to-UART (CDC) and click Connect.
- Select a
firmware.binand click Flash firmware.
- Bootloader uses 8 data bits, even parity, 1 stop bit. This is set automatically.
- Serial console uses 8-N-1. You can set its baud rate separately.
- Flash address defaults to
0x08000000. Adjust if your memory map differs. - Mass erase uses the bootloader erase command (
0x43/0x44/0x45). - Web Serial is supported in Chromium-based browsers (Chrome/Edge).
- Web assets are served from
docs/for GitHub Pages compatibility.
Licensed under the Apache License, Version 2.0.
See the LICENSE file for details.
Contributions are welcome! Please open issues or pull requests on GitHub.
By contributing, you agree that your contributions are licensed under Apache 2.0.