Skip to content

feat(ec718): support binpkg flashing over USB and UART1#2

Open
aix402 wants to merge 2 commits into
wendal:mainfrom
aix402:codex/ec718-binpkg-combined
Open

feat(ec718): support binpkg flashing over USB and UART1#2
aix402 wants to merge 2 commits into
wendal:mainfrom
aix402:codex/ec718-binpkg-combined

Conversation

@aix402

@aix402 aix402 commented May 26, 2026

Copy link
Copy Markdown

Adds EC718 .binpkg flashing support and UART1 download mode.

Highlights:

  • Add flash run --binpkg for EC718 raw binpkg packages.
  • Keep existing USB auto-enter boot behavior as the default path.
  • Add explicit --port-mode auto|usb|uart.
  • Add UART1 detect flow using AT+ECRST=delay,650 + 7E 00 02 7E and ec718m_uart.bin.
  • Add --agent-baud / --agbaud for AgentBoot/download baud override; keep --force-br as hidden compatibility alias.
  • Add --at-baud for UART1 AT reset baud override.
  • Document EC718 USB/UART1 protocol details.

Validated locally on ML307N/EC718PM:

  • cargo +stable-x86_64-pc-windows-gnu fmt -- --check
  • cargo +stable-x86_64-pc-windows-gnu check -p luatos-cli -p luatos-flash -p luatos-mfgui
  • cargo +stable-x86_64-pc-windows-gnu build -p luatos-cli
  • USB auto flashing from runtime COM port to download COM port succeeded.
  • UART1 flashing on COM6 succeeded at --agent-baud 460800.

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


mengwei seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

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.

2 participants