Skip to content

Enable continuous ACK by default for all handshakes#26

Merged
widgetii merged 1 commit intomasterfrom
fix-default-continuous-ack
Apr 3, 2026
Merged

Enable continuous ACK by default for all handshakes#26
widgetii merged 1 commit intomasterfrom
fix-default-continuous-ack

Conversation

@widgetii
Copy link
Copy Markdown
Member

@widgetii widgetii commented Apr 3, 2026

Problem

TUI recovery fails on hi3516ev300 — handshake succeeds but DDR step fails. The fast-boot bootrom window (<100ms) affects manual power cycling too, not just automated. PR #25 only enabled continuous ACK when a power controller was configured.

Fix

Default _continuous_ack = True in HiSiliconStandard.__init__. Sending 0xAA every 50ms while waiting is harmless to running systems and catches the bootrom reliably in all cases (TUI, CLI, automated).

Verified

  • hi3516ev300 recovery via TUI path (no --power-cycle): DDR → SPL → U-Boot → complete
  • 279 tests pass

🤖 Generated with Claude Code

The fast-boot bootrom window (<100ms) affects manual power cycling too,
not just automated. Enable continuous 0xAA sending by default — it's
harmless to running systems and catches the bootrom reliably in all
cases (TUI, CLI, automated).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@widgetii widgetii merged commit e5ded22 into master Apr 3, 2026
13 checks passed
@widgetii widgetii deleted the fix-default-continuous-ack branch April 3, 2026 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant