-
Notifications
You must be signed in to change notification settings - Fork 0
Install Android
The M5Stack Loader app flashes xDripMon straight from an Android phone — no computer, no Arduino, no Wi-Fi. This is the easiest way to install the firmware.
- An Android phone (Android 10 or later).
- A USB-C data cable (a charge-only cable will not work).
- The M5Stack Loader app installed on the phone — download the APK from its Releases page while it awaits the Play Store.
Open M5Stack Loader and, at "What would you like to flash?", tap the Bluetooth tile — that is the M5Stack_xDripMon firmware. (The owl tile is the original Wi-Fi NightscoutMon; the box tile flashes a custom GitHub repo.)

Connect the M5Stack to the phone with the USB-C cable and power the device on.

When Android asks, allow the app to access the CP2104 USB to UART Bridge Controller and tap OK. (Ticking Always allow avoids the prompt next time.)

The app detects the board and shows the firmware it will write. Check the model and version look right, then tap Flash firmware.

It writes the bootloader, partition table and application. The first blocks load slowly — it can sit near 1–2 % for a while, which is normal.

When it reports Done, the device reboots into xDripMon and you can unplug it. There is nothing more to configure over Wi-Fi — everything else is done on the device and in your phone's xDrip app.

Continue with Device setup.
The box tile (Custom firmware from GitHub) can flash straight from a
repository that contains a Binaries folder with a firmware.json and an
ESP32_16MB build. Enter psonnera/M5Stack_xDripMon (or the full
https://github.com/psonnera/M5Stack_xDripMon) to pull the latest build.

- "No supported M5Stack found on USB" — use a different cable (many are charge-only), and make sure the device is powered on.
- Flashing fails or verify errors — retry; if it persists try another cable or USB port. The app retries writes automatically.