Files
fmini-1/firmware
Claude 599f37428d Accept the UC25HQ80 flash (0xB36014) as well as the Puya P25Q80 (0x856014)
Some FM-1 units sold recently (mostly AliExpress) carry a UC25HQ80 1 MiB
SPI NOR with JEDEC ID 0xB36014. Same size and plain SPI NOR commands as the
Puya part, but persist_boot only accepted 0x856014, so those units stayed
RAM-only ("flash error").

FL_JEDEC_OK(id) accepts both IDs; persist_boot uses it. The update loader
does not read the JEDEC ID anywhere in this tree (its flash access goes
through fl_read_ram / fl_erase4k_ram / fl_prog_ram), so nothing changed there.

Host tests persistence_test, backup_test and fm6bank_test pass (they stub the
ID to 0). Not tested on a real FM-1.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-08 12:36:12 -03:00
..
2026-10-17 19:04:28 -03:00
2026-10-17 19:04:28 -03:00
2026-10-17 19:04:28 -03:00
2026-10-17 19:04:28 -03:00