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.
-
Get the board ready
Pick your board above and the steps for it appear here.
CYGM
- Plug the board into your computer with the USB cable.
- Press and hold BOOT and RESET together. BOOT is the inner one, closest to the centre of the board.
- Let go of RESET. Keep holding BOOT.
- Press Install below and pick the port.
- Keep holding BOOT until the progress reaches about five per cent, then let go.
- Wait about a minute. The board restarts on its own.
CYGM+
- Plug the board into your computer with the USB cable.
- Press Install below and pick the board's port.
- If it offers Erase device, tick it, then Install. It takes a few minutes. The screen goes blank, then the board restarts on its own.
No port in the list? Hold BOOT, tap RESET, let go of BOOT, and try again.
-
Install
Pick your board to begin.Pick your board and tick the box to unlock Install.
Done. The firmware is on the board.It restarts on its own and walks you through Wi-Fi, your location and your CGM. You can unplug the cable once it's up.
That install didn't finish.This browser can't talk to a USB port, so it can't install from here. Chrome or Edge on a computer can. Phones, Safari and Firefox can't yet. The manual install below works from a command line.
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
- cygm-merged.bin 0x0
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
- bootloader.bin 0x0 · 22 KB
- partition-table.bin 0x8000 · 3 KB
- ota-data.bin 0x19000 · 8 KB
- cygm-plus-app.bin 0x20000 · 2310 KB
- voice-bank.bin 0x840000 · 613 KB
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