Add J1939 to RAMN and 'showcase mode'#45
Merged
CamilleTTT merged 7 commits intoToyotaInfoTech:mainfrom Apr 10, 2026
Merged
Conversation
Contributor
🔨 Build & Macro Coverage ReportDefault Builds — Hex File Sizes
Macro Coverage Build Results
Source Code Compile Coverage
Full ENABLE_ Macro Coverage Table
|
e2a2c2a to
02455ed
Compare
Contributor
Author
Please merge #47 first, then I will rebase and tweak this one to create j1939 and j1939_showcase variants on top of it |
…ripts - Add RAMN_FORCE_AUTOPILOT macro to ramn_config.h (commented out by default) - Add forced autopilot code path in ramn_simulator.c that randomizes command/control values at 1 Hz using TRNG, bypassing sensor overrides - Include ramn_trng.h conditionally in ramn_simulator.h - Add disable_autopilot.py helper script for safe flashing - Update ProgramECU_BCD.sh and .bat to disable autopilot before flashing
02455ed to
a61566f
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 PR is in 4 parts / commits:
Also added pytests that use python ctypes to call into firmware .c files recompiled for the host to verify the firmware serialization, diagnostic routing and diagnostic responses.
J1939 Signal Mapping and Refactoring (Commit c0f0999)
Added ENABLE_J1939_MODE to toggle between standard and J1939 modes. In J1939 mode, all existing vehicle control and status
signals were remapped to standard J1939 PGNs using 29-bit identifiers (Extended ID).
J1939 Diagnostic Support (Commit 8d0117d)
42, Steering: 19, Powertrain: 90, Body: 33).