Files
fm1-x0x/firmware/hal
Charles Vestal a02727b493 The UC25HQ80's flash part: the storage takes it too, after fm1-base#35 (Laurens, @profikid)
Units sold since autumn 2026 (mostly AliExpress) carry a UC25HQ80 (JEDEC B3 60 14, 1 MiB, the same plain
SPI NOR commands) instead of the stock Puya P25Q80 (85 60 14). The boot only knew the Puya, so on those
units flash_ok stayed false: saves stayed in RAM, backup and restore were refused and the update loader
was never started, so nothing could be installed from the firmware.

firmware/hal/fm1_flash_ok.h: fm1-base's device/fm1_flash_ok.h (fm1-base#35, Laurens, MPL-2.0), the one
macro FM1B_FLASH_JEDEC_OK: the Puya and the UC25HQ80; any other answer is still RAM only, nothing
written. main_fm1.c's boot asks it. tools/fm1_rescue.py takes either part too (both 1 MiB).
tests/host/flash_ok_test.c (fm1-base's tests/flash_ok_test.c): the two parts in, everything else out;
run_tests.sh's flash-ok. LICENSING.md: the two files, Laurens's, MPL-2.0.
2026-11-05 06:18:57 +01:00
..
2026-10-03 21:27:34 +09:00
2026-10-03 21:27:34 +09:00
2026-10-03 21:27:34 +09:00
2026-10-03 21:27:34 +09:00
2026-10-03 16:06:39 +09:00
2026-10-03 16:06:39 +09:00
2026-10-03 21:27:34 +09:00
2026-10-03 21:27:34 +09:00
2026-10-03 16:06:39 +09:00
2026-10-03 21:27:34 +09:00