a2nr
f7c088013a
fix(usb-deployer): read from rxBuffer, kill orphaned-read race in get_sync
...
readExact and drainStray now consume the FIFO buffer fed by the pump
instead of calling reader.read() directly. No orphaned reader.read()
promise can swallow optiboot INSYNC/OK replies anymore. This is the
core fix for "get_sync failed after N attempts".
2026-07-19 19:06:44 +07:00
a2nr
121d592ce0
feat(usb-deployer): add read pump + start pump after pair
...
Single pump loop becomes the only reader.read() caller, feeding
rxBuffer. Serial monitor + readExact/drain will consume from the
buffer (next tasks). Build passes.
2026-07-19 19:05:54 +07:00
a2nr
f164134222
fix(usb-deployer): CH340 port reuse fix — skip reopen, single DTR, baud tracking
2026-07-17 14:35:30 +07:00
a2nr
2773bf2a83
feat(usb-deployer): double DTR reset + post-write delay for stubborn clones
2026-07-17 12:47:58 +07:00
a2nr
8adc28b745
refactor(usb-deployer): use named settle constant and fix comment
2026-07-17 10:38:40 +07:00
a2nr
852fccacdf
fix(usb-deployer): rebalance sync retries/backoff for optiboot window
2026-07-17 10:37:57 +07:00
a2nr
84827350af
fix(usb-deployer): drain stray bytes until quiet window
2026-07-17 10:37:08 +07:00
a2nr
3d941191e3
refactor(usb-deployer): name timing constants for sync window tuning
2026-07-17 10:35:23 +07:00
a2nr
4ec5d4cb92
fix(usb-deployer): add detailed diagnostic logging for sync failures
2026-07-17 10:24:39 +07:00
a2nr
7dd8e5d522
fix(usb-deployer): preliminary get_sync robustness improvements
2026-07-17 10:23:39 +07:00
a2nr
369897529d
fix: harden USBHardwareDeployer — drain after timeout, async cleanup, flash error recovery, baud切换
2026-07-17 08:15:21 +07:00
a2nr
f8e92875c9
feat: add USBHardwareDeployer with STK500v1 protocol via Web Serial API
2026-07-17 08:10:12 +07:00