Skip to content
CYGM 36 online Build CYGM

Install the firmware

One installer for both CYGMs. A board, a USB cable that carries data, and Chrome or Edge on a computer. There's nothing to download and nothing to compile.

  1. Which one do you have?

  2. Get the board ready

    Pick your board above and the steps for it appear here.

  3. Install

    Pick your board to begin.

If it can't find the board

  • The cablePlenty of USB cables only carry power, and that's the most common reason this goes wrong. Test yours here.
  • The driverIf no port appears for the original CYGM, install the CH340 driver and try again.
  • The portClose any serial monitor or anything else using the board first.

It starts the board fresh

  • ErasedWi-Fi, your CGM sign-in, alarm numbers and settings. You'll run through setup again.
  • Left aloneA microSD card, so wipe that yourself if it holds logged readings.
  • AfterwardsNew firmware arrives over Wi-Fi and keeps your settings. You shouldn't need the cable again. Beta updates work the same way.

What the device can check

Updates download over an encrypted connection whose certificate the device verifies, and the address it will accept is pinned to this site. A device keeps two application slots and only switches once an update is written in full, so an interrupted update falls back to what it was running. The images themselves are not separately signed, so the device has no signature to check before it installs one. Install from a source you trust, which for now means me.

Manual install: CYGM 1.1.10
pip install esptool
esptool.py --chip esp32 --baud 460800 erase_flash
esptool.py --chip esp32 --baud 460800 write_flash 0x0 cygm-merged.bin
Manual install: CYGM+ 2.0.35
esptool.py --chip esp32s3 erase_flash
esptool.py --chip esp32s3 write_flash 0x0 bootloader.bin 0x8000 partition-table.bin 0x19000 ota-data.bin 0x20000 cygm-plus-app.bin 0x840000 voice-bank.bin

Devices online

Loading

Grouped by city, never by device. A city appears when at least one device there has checked in within the last half hour. Placement is approximate.