Skip to content
Steven edited this page Apr 12, 2026 · 1 revision

Home

Project Summary

This project is a low-cost FlexRay MITM module built around the Raspberry Pi Pico 2. The goal is to capture, analyze, and eventually override ADAS-related control frames on automotive FlexRay networks without relying on expensive specialized hardware.

The current work is centered on BMW platforms, especially the FlexRay link between SAS and BDC, but the overall method is not BMW-specific. In principle, the same approach can be explored on any vehicle where steering or longitudinal control still travels over FlexRay.

Quick Navigation

  • FAQ
  • BMW SP2018
  • Setup
  • Architecture
  • Troubleshooting
  • Roadmap

Who This Wiki Is For

  • People seeing the project for the first time
  • People trying to reproduce the setup or connect to it
  • People who want to understand the design decisions and current limits

Current State

  • FlexRay capture and proxying have been implemented
  • The Pico can emulate a USB Panda for modified Cabana and pandad
  • Parts of the lateral control path have already been validated on BMW platforms
  • Longitudinal control is still under active analysis and varies more by vehicle
  • The project is still research-grade, not plug-and-play

Suggested Reading Order

  1. Start with FAQ for the high-level picture
  2. Read BMW SP2018 if your target is a current BMW implementation path
  3. Read Setup for the hardware and wiring approach
  4. Read Architecture to understand why Pico + FlexRay MITM was chosen
  5. Read Troubleshooting and Roadmap for current limitations and next steps

Project Scope

The current project mainly focuses on:

  • Low-cost FlexRay access
  • Capturing raw frames from links such as SAS and BDC
  • Distinguishing ECU-side and vehicle-side traffic in proxy mode
  • Feeding usable data into openpilot / sunnypilot workflows
  • Gradually validating lateral and longitudinal control feasibility

Start Here

If you want the shortest possible overview, read the FAQ first.

Clone this wiki locally