Support matrix
Nothing in this project is tested yet. Every device profile and
every adapter is experimental: implemented, covered by automated tests
against FakeBackend and/or a fake OpenOCD subprocess, but without a
documented hardware run. See
testing.md for what upgrading
a combination to tested requires — a checked-in @pytest.mark.hardware
test and a documented hardware run, updated in the same change as the
status.
Regenerate the device rows with scooterflasher devices list --json /
scooterflasher devices show <model_id>; this file is the human-curated
summary, not the source of truth (the registry YAML files are).
One informal run has been reported: ESC flashing over Raspberry Pi GPIO, with serial number and mileage, worked on one scooter. This does not make any combination
tested.
Devices
All 18 models migrated from the original ScooterFlasher (XIAOMI_DEV +
NINEBOT_DEV + XIAOMI_V2_DEV). Status is experimental for every
listed target unless noted.
| model_id | Targets | BLE |
|---|---|---|
xiaomi-m365 | esc, ble | supported |
xiaomi-m365-pro | esc, ble | supported |
xiaomi-pro-2 | esc, ble | supported (V2_BLE_PREFIX addresses) |
xiaomi-1s | esc, ble | supported (V2_BLE_PREFIX addresses) |
xiaomi-essential | esc, ble | supported (V2_BLE_PREFIX addresses) |
xiaomi-mi3 | esc, ble | supported (V2_BLE_PREFIX addresses) |
ninebot-max | esc, ble | supported |
ninebot-es4x | esc, ble | supported |
ninebot-esx-e | esc, ble | supported |
ninebot-f-series | esc, ble | supported |
ninebot-t15 | esc, ble | supported |
ninebot-g2 | esc only | unsupported (pyqt6@6db108e) |
ninebot-f2 | esc only | unsupported (pyqt6@6db108e) |
ninebot-f2-plus | esc only | unsupported (pyqt6@6db108e) |
ninebot-f2-pro | esc only | unsupported (pyqt6@6db108e) |
xiaomi-4-pro | esc only | unsupported (pyqt6@6db108e) |
xiaomi-4-pro-plus | esc only | unsupported (pyqt6@6db108e) |
xiaomi-4-pro-max | esc only | unsupported (pyqt6@6db108e) |
"BLE unsupported" profiles have no BLE target defined at all (see
migration-from-scooterflasher.md); their notes field
explains why. Every ESC target's flash/RAM size is inferred from known
region offsets in the original, not confirmed against a datasheet — see each
profile's notes.
Adapters
| Adapter | Status | Notes |
|---|---|---|
ST-Link (stlink) | experimental | The original's only adapter |
CMSIS-DAP (cmsis-dap) | experimental | OpenOCD stock config |
J-Link (jlink) | experimental | OpenOCD stock config |
Raspberry Pi GPIO (raspberrypi-gpio) | experimental | ported from better-scooterflasher-fork commit 10e16e2 |
Custom (custom) | experimental | user-supplied OpenOCD interface config |
auto | unsupported | must be resolved to a concrete adapter first |
scooterflasher adapters list shows this same table plus whether
openocd is currently on PATH.
Known gaps / unverified areas
is_protected()always returnsNonefor the OpenOCD backend — no generic, chip-family-independent protection-state command exists in OpenOCD, and no per-family one has been implemented yet. The flash state machine'sunlock_protected_targetconfirmation therefore never triggers automatically for this backend.unlock()is not harmless: it runs the family's unlock command, which can mass-erase the chip (reading the factory UID with--extract-uidcalls it). Judge for yourself whether a target is protected before flashing.identify()is coarse-grained: it confirms the configured target family responded to OpenOCD'sinit/examine, not an exact chip ID/part-number match. It cannot distinguish, say, one STM32F1x-based ESC model from another sharing the same MCU family — seescooterflasher.backend.openocd.backend.OpenOCDBackend.identify's docstring.- BLE bootloader region size is a known discrepancy — see
migration-from-scooterflasher.md. - The Xiaomi 4 Pro Plus
mem2array/"target not halted" connection is inferred, not confirmed — seemigration-from-scooterflasher.md.