Repository navigation
Releases
Web tools 2026-10-13.3: serial transport and original-backup recovery
Browser writes on an unstable serial link could fail sector verification and leave stale serial bytes that disrupted recovery. This update acknowledges each 60-byte encoded chunk, resynchronizes before recovery and protection restoration, and records attempted sectors and mismatch diagnostics. Browser writes require 1.5 Mbaud or 921600 baud, selected before opening the SWS port; 2 Mbaud remains available for readback and read-only checks.
recover_application.py restores an interrupted 128 KiB application from its original full backup and failed browser report. It verifies the backup SHA-256, target flash UID, matching current snapshots and preserved factory data, uses 64-byte programs at 921600 baud, and requires full-image verification plus original protection before resetting the CPU. Disconnect GP2 from tag RST for this recovery command; serial drivers can toggle reset during port open. See docs/RECOVERY.md.
Validation: 46 browser protocol/state cases, 40 Python cases, generated HTML checks and simulated Chromium tests for both URLs passed. The reported fifth-sector failure sequence is covered by a simulated restoration test. Successful physical browser installation/recovery and physical use of the new recovery command remain unverified; the original physical cause is unresolved.
RP2040 v1.6 source and UF2 are unchanged. Both standalone HTML files contain all browser resources. No backend, factory backups, field-report identifiers or unreviewed hardware designs are included.
Web tools 2026-10-13.2 — single-bin flashing and discovery logs
The original dumper-only URL is restored as a read-only page. The separate read/write/discovery tool adds:
- Single application
.binflashing: validate header/CRC, pad locally and build the per-tag plan from two fresh matching full reads. Recipients need no JSON or additional image files. - Optional saved backup: saving is enabled by default; uncheck it to skip the file dialog/disk backup. Preservation reads, factory boundaries, sector-zero-last writes, blank/full-image verification, protection restoration and memory rollback remain required. Failed unsaved recovery offers an emergency original snapshot download.
- Discovery progress/log readers: D8/D9 status-only Bluetooth polling, receive-only tag UART logging on the RP2040 second port, and CRC-checked persistent D9 journal decoding from a full readback or journal sector. Session export stays local. No start/pause/selection/confirmation commands are sent by these readers.
- D9 journal-aware single-bin planning: recognize its exact embedded descriptor, initialize the reserved sector when needed and preserve existing valid-header journal contents on reflash. Ordinary firmware does not trigger journal initialization.
Existing RP2040 v1.6 is sufficient; its source and UF2 are unchanged. Readback/flashing is over SWS; UART logging needs GP5 to tag TX and the if02 serial port. Choose the UART baud used by the supplied firmware. Instructions.
Readback, guarded-write, single-bin and discovery protocol cases passed, along with Chromium checks on both pages, single-bin saved/unsaved writes, emergency recovery downloads, status-only BLE, UART streaming and journal/session export. All five newly built D9 binaries passed format/CRC/descriptor validation. Physical browser writes and discovery BLE/UART hardware remain untested. Firmware electrical completion does not establish visual display success. Validation.
Both HTML assets are self-contained, with embedded v1.6 UF2 and notices; no backend/companion resources are needed. Source archive and SHA-256 checksums are included. Private tag data, discovery binaries and unreviewed CAD are excluded. Tag recovery always uses its own saved/original bytes; browser rollback uses an earlier standalone HTML.
Web tool 2026-10-13 — guarded application flashing
The standalone browser tool now flashes prepared applications as well as taking full backups. No new RP2040 firmware is required on a programmer already running v1.6. The shipped/embedded v1.6 UF2 is unchanged.
Use desktop Chrome/Edge with HTTPS or localhost. Select the four files from the target application's same-tag prepared plan, connect the programmer/SWS port, and choose Check plan and save backup or explicitly acknowledge application replacement and choose Flash application. Two fresh matching full reads and a saved/reread recovery file must verify before unlock. Instructions.
Writes are restricted to 026255 / EB6013, known protection states and changed application sectors below 0x20000. The tool writes sector zero last, blank-checks/reads sectors, verifies the complete expected flash and restores exact protection before reset. Failure/cancellation attempts original-byte recovery; unverified recovery/protection keeps the CPU halted. No mass erase.
Nine flash-state test cases, 18 readback protocol cases and Chromium UI checks passed, including partial-write/sector-zero recovery, cancellation, saved-file failures, protection failure and factory/page boundaries. Physical browser flashing, Windows hardware writes and complete 437 installation remain untested. Existing v1.6 Python write evidence is separate. Validation.
The HTML includes all scripts, notices and the v1.6 UF2; no application backend or companion assets are needed. Assets contain the single HTML, current source archive and SHA-256 checksums. Private tag captures, test plans and unreviewed CAD files are excluded. Browser rollback uses the earlier read-only v1.6 HTML; tag recovery requires your own same-tag backup.
v1.6 — reconnect fix and guarded application writes
RP2040-Zero v1.6 fixes repeated connections after legacy SWS activation by accepting selection of the existing address width. Python and browser hosts also avoid redundant width changes on v1.5.
The reported Timeout! Flash status 0xff! is caused by the pinned upstream Python flasher's SPI status transaction. Updating the UF2 alone does not fix that CLI. This release adds flash_application.py, using correct two-byte status/protection handling, two fresh matching full backups, application-only writes with sector zero last, blank checks and complete-flash verification. Flashing instructions.
Tested on the Pi with the exact released UF2 and one 026255 / EB6013 tag: three mixed-data original-byte sector rewrites, matching complete 512 KiB flash afterward, restored protection/reset and zero new transport faults. Fast rewrites took 1.176 s and 1.162 s. Repeated width selection, active/invalid width rejection and installer dry-run preflight passed. Host/PIO, guarded-write/recovery, browser protocol/UI, compiled descriptor/UF2, standalone generation and package checksum checks passed. Evidence and limits.
Experimental: full 437 application installation/display behavior, Windows hardware writes, 826x hardware and successful physical browser capture remain untested. The earlier browser 0x035000 mismatch is not claimed resolved.
Assets include the programmer UF2, complete source archive, standalone browser HTML and SHA-256 checksums. The UF2 goes on the RP2040 programmer; tag application firmware is separate. No tag dumps, private test plans or unreviewed CAD files are included. Programmer rollback uses the published v1.5 UF2 via BOOTSEL; tag recovery requires your own same-tag backups.
RP2040 Telink SWS programmer v1.5 (experimental)
Public programmer v1.5 (experimental)
The source and UF2 now combine the newer PIO speed transport and browser USB
interface with the public two-/three-byte SWS header support. Python readback
on the new transport defaults to 2 Mbaud; --baud 1500000 selects the explicit
fallback. Older bridges retain the broad helper's 921600 default.
Includes the browser dumper with two complete matching reads by default,
Windows WinUSB descriptors for interface 4, and the guarded 256-byte-page
flash backend/sector-validation tools. Browser sessions verify three-byte
framing before opening CDC; broader Python reads preserve 825x/826x probing.
Programmer source, the rebuilt UF2, original adapter photos and the wiring
diagram are included in the repository/source archive.
The pinned source build passes without warnings. Reader/PIO, guarded-write,
browser protocol/UI and compiled USB descriptor checks passed. Prior bench
v1.4 tests found six matching 512 KiB reads at 2 Mbaud, about 29.86 seconds per
read, and two original-byte sector rewrites around 1.18 seconds. These timings
were measured on one specimen with the bench build, not the combined v1.5 UF2.
The new public UF2, physical browser capture, 826x path and full-image
installation still need physical validation. See validation.
This UF2 installs on the RP2040 programmer, separately from the unified
Nebular display firmware. Factory firmware dumps are not included.
RP2040 Telink SWS programmer v1.3 (experimental)
Public programmer v1.3 (experimental)
RP2040-Zero firmware, source and wiring for a Telink SWS bridge with a separate
tag UART. Native USB block reads capture up to 4096 bytes per request. This
build enables GP2 tag reset and adds selectable two- and three-byte SWS
address framing.
The readback helper probes legacy 825x/826x-style backends without an exact
chip-ID or flash-manufacturer allowlist, detects conventional JEDEC capacity,
and requires matching samples and repeated captures. It records whether a
capture covers the complete detected flash and checks reset release.
The source build and seven host tests passed. The new reader passed matching
4 KiB reads on a known Nebular 154 using the earlier bench bridge v1.2.
Public v1.3 firmware and the 826x framing path still need physical validation;
other Telink register maps require additional backends. See
validation for the evidence and limits.
This UF2 installs on the RP2040 programmer. It is separate from the unified
Nebular display firmware. No factory firmware dumps are included.