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_idTargetsBLE
xiaomi-m365esc, blesupported
xiaomi-m365-proesc, blesupported
xiaomi-pro-2esc, blesupported (V2_BLE_PREFIX addresses)
xiaomi-1sesc, blesupported (V2_BLE_PREFIX addresses)
xiaomi-essentialesc, blesupported (V2_BLE_PREFIX addresses)
xiaomi-mi3esc, blesupported (V2_BLE_PREFIX addresses)
ninebot-maxesc, blesupported
ninebot-es4xesc, blesupported
ninebot-esx-eesc, blesupported
ninebot-f-seriesesc, blesupported
ninebot-t15esc, blesupported
ninebot-g2esc onlyunsupported (pyqt6@6db108e)
ninebot-f2esc onlyunsupported (pyqt6@6db108e)
ninebot-f2-plusesc onlyunsupported (pyqt6@6db108e)
ninebot-f2-proesc onlyunsupported (pyqt6@6db108e)
xiaomi-4-proesc onlyunsupported (pyqt6@6db108e)
xiaomi-4-pro-plusesc onlyunsupported (pyqt6@6db108e)
xiaomi-4-pro-maxesc onlyunsupported (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

AdapterStatusNotes
ST-Link (stlink)experimentalThe original's only adapter
CMSIS-DAP (cmsis-dap)experimentalOpenOCD stock config
J-Link (jlink)experimentalOpenOCD stock config
Raspberry Pi GPIO (raspberrypi-gpio)experimentalported from better-scooterflasher-fork commit 10e16e2
Custom (custom)experimentaluser-supplied OpenOCD interface config
autounsupportedmust 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 returns None for 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's unlock_protected_target confirmation 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-uid calls it). Judge for yourself whether a target is protected before flashing.
  • identify() is coarse-grained: it confirms the configured target family responded to OpenOCD's init/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 — see scooterflasher.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 — see migration-from-scooterflasher.md.