Skip to content

hervesuper852/SIP_Vector_BSW_RH850_BMW

Repository files navigation

BSW_RH850_BMW

Automotive Basic Software (BSW) modules for the Renesas RH850 microcontroller platform, tailored for BMW automotive requirements.
This repository provides core AUTOSAR services, OS abstraction, diagnostic event management, NVRAM management, FlexRay protocol stack, and utility scripts for integration into larger automotive ECU projects.

Features

Project Structure (partial)

BSW/
  ├── FrIf/      # FlexRay Interface modules and configuration
  ├── NvM/       # NVRAM Manager modules (NvM.c, NvM_Cbk.h, etc.)
  ├── Os/        # OS abstraction and timer/job interfaces
  ├── Dem/       # Diagnostic Event Manager types
  ├── E2E/       # End-to-end communication and AUTOSAR profiles
  ├── Flash/     # Flash build scripts
Applications/
  └── OEM_Extensions/BM/Appl/ # BMW application extensions (m.bat)
  └── OEM_Extensions/BTLD/Appl/GenData/FrIf_Cfg.h # FlexRay PDU configuration
  └── OEM_Extensions/EPS/Appl/GenData/           # FlexRay PDUs/IpduM/PduR configs
Doc/
  └── DeliveryInformation/DiagSystemTest/FlexRay_020.asc # FlexRay diagnostic logs
Generators/
  └── Rte/DTD7.6/             # RTE datatype definitions (DataType.dtd)
DaVinciConfigurator/
  └── Core/                   # Tooling support (e.g., Java runtime)

Note: Only a subset of files/folders is shown.
For the full structure, browse the repo.

FlexRay Protocol

This BSW package includes:

  • FrIf (FlexRay Interface) modules for hardware-independent abstraction and configuration
  • OEM-specific FlexRay configuration files for PDUs and network signals
  • Diagnostic and communication support over FlexRay (UDS, OBD, XCP, etc.)
  • FlexRay protocol traces and logs available in the documentation

Getting Started

Prerequisites

  • Hardware: Renesas RH850 microcontroller
  • Compiler: Compatible with automotive toolchains and AUTOSAR build systems
  • Build Tools: GNU Make, batch script support

Usage

  • Integrate the BSW modules with your automotive ECU application.
  • Use the FlexRay stack and configuration for communication between ECUs using the FlexRay protocol.
  • Use the NVRAM Manager for persistent data storage.
  • Include OS and DEM modules for scheduling and diagnostics.
  • Use E2E modules for communication protection as per AUTOSAR requirements.
  • OEM extensions can be found under Applications/OEM_Extensions/BM/Appl/ and Applications/OEM_Extensions/EPS/Appl/.

License

This project is provided for educational and research purposes or authorized automotive development.
Unless otherwise specified, the code is provided under the MIT License.
See LICENSE for details.

Disclaimer

Some files are provided “as is” and without warranty.
See module headers and delivery documentation for more information.


If you add new documentation, place it in the Doc/ or Generators/ directory and update this README.