mirror of
https://github.com/juanjiant-bit/JIANT.git
synced 2026-12-05 12:24:42 +01:00
The firmware checked its payload only after waiting up to 10 s for a console; meanwhile the data port said state=off, which the app takes as "no payload, reprogram this board": it reflashed the board, the board rebooted into the same wait, and with a new device name the once-per-board guard never held. Now the payload is checked first and the port says "boot" until then; the app reprograms only after 4 s of "off" and once per board serial number. Diagnostics: the app reads the RP2040's console (CDC 0) all the time and Diagnosis.java turns it into plain words (keying and packet count, ACK, swapped D+/D-, attached or not, boot mode, chip, errors), tested on four real Transporter logs. New buttons: share the full log, restart the boot signal (rekey). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UVqsRpwNe3f8G3bWubf9TX