Fencyboy Firmware Updater

Setup

USB serial programmer wired to the hardware device with 3V3, RX, TX, and GND

Wire 3V3 to 3V3, GND to GND, TX to RX, and RX to TX. Use Select Serial Port, then Connect.

For automatic STM32 recovery, optionally wire RTS to BOOT and DTR to RESET using 3.3 V logic.

1) Serial Monitor

No port selected Disconnected
Advanced Serial Settings

      

2) Firmware Update

Use the web controls while RTS and DTR are wired.

About 2 minutes
Select a recovery HEX.

3) LoRaWAN Settings

After startup, load settings and compare with the network server. Save to apply changes or enable auto-join.

Join and radio settings

Saving enables OTAA auto-join and restarts the device.

Connect to the running firmware.

Browser requirements: Chromium-based browser with Web Serial support. Open via HTTPS or localhost. Serial data stays local. Step 3 keeps AppKeys out of the monitor. Source code