enable full ECUA interaction from the PC host by using source tags and switching matrix - #72
Open
BenGardiner wants to merge 8 commits into
Open
BenGardiner wants to merge 8 commits into
BenGardiner wants to merge 8 commits into
Conversation
… fallback definitions
Contributor
🔨 Build & Macro Coverage ReportDefault Builds — Hex File Sizes
Macro Coverage Build Results
Source Code Compile Coverage
Full ENABLE_ Macro Coverage Table
|
* Plan for skipping J1939db dependent tests in CI Co-authored-by: BenGardiner <243321+BenGardiner@users.noreply.github.com> * Dynamically skip J1939db tests in RecordingDescriber if file is missing Co-authored-by: BenGardiner <243321+BenGardiner@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: BenGardiner <243321+BenGardiner@users.noreply.github.com>
BenGardiner
force-pushed
the
ecua-host-interaction
branch
from
September 17, 2026 17:04
143874d to
f076127
Compare
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.
the previous PROCESS_SLCAN_BY_DBC was limited to only DBC stuff. Being able to get to e.g. ECUA UDS stack is an important thing for wider challenges on RAMN.
Getting this right is important of course. I have tested the attached to confirm that the firmware update scripts still work and scapy can still do UDS stuff directly to ECUA using slcan. And also doing J1939 and UDS to ECUA from the host.
The newly implemented ENABLE_ECUA_HOST_INTERACTION:
• Injects incoming host frames directly into ramn_canfd.c:568-607 tagged with RAMN_CAN_ORIGIN_HOST.
• Allows main.c:1675-1729 to dispatch host frames to all internal stacks: DBC (screen still updates), UDS
diagnostics, J1939, KWP, and XCP.
• Supports both slcan and gs_usb.
• Provides bidirectional communication by capturing internal ECU A transmissions and forwarding them to the PC
without echoing host frames back to USB.