Repository navigation
UART half_duplex and boot-mode entry (UartEntry) in the SDK and MCP - #104
Merged
Merged
Conversation
…ry (UartEntry) open_uart / capture_uart take half_duplex (rx alone, tx defaults to it) and entry=UartEntry(reset_ms, tx_low, hold_ms, idle_ms, data): the pod holds TX low across a reset, releases it and sends the first bytes, timed on the pod. Capability uart_hd (gateware v57); entry also needs nrst_pin. Refused before anything is sent on older pods and on the USB console. Refs embeddedci-com/benchpod-firmware#135 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
wardviaene
force-pushed
the
uart-half-duplex
branch
from
November 18, 2026 15:21
244ab3d to
64b08e4
Compare
… (mcp-min-sdk) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 18, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
For embeddedci-com/benchpod-firmware#135: the host side of embeddedci-com/benchpod-firmware#161. The RL78 protocol module can build on this.
SDK (
embeddedci)open_uart/capture_uarttakehalf_duplex=True: a one-wire UART onrxalone (txdefaults to it, and a differenttxis refused).entry=UartEntry(reset_ms, tx_low, hold_ms, idle_ms, data): a boot-mode entry the pod times itself before the session starts.uart_hd(gateware v57).entryalso needsnrst_pin. Older pods raiseUnsupportedFeatureErrorbefore anything is sent, and so does the USB console transport.half_duplex/entryonly when they are set, so older firmware sees the same requests as before.MCP (
embeddedci-mcp)uart_openandcapture_uarttakehalf_duplexandentry(reset_ms,tx_low,hold_ms,idle_ms,data_hex).uart_openreportshalf_duplexin its result.Tests
pytest packages/embeddedci: 967 passed. Newtest_uart_half_duplex.pycovers the pin rules, the capability gates,UartEntryvalidation and the TCP wire format. The API snapshot is refreshed (additive only).pytest packages/embeddedci-mcp: 207 passed. Tool surface refreshed, README rows updated.The READMEs are updated. Merge after the firmware PR; this PR is safe on its own because it refuses on pods without
uart_hd. Not run on hardware yet (see the firmware PR).🤖 Generated with Claude Code