Functional Safety
ZC.MUNIU SAFETYFRAME PRODUCT MANUAL BASED ON RH850/U2CX
Function Summary

The RH850/U2Cx SafetyFrame is designed to assist customers in achieving functional safety requirements based on the RENESAS RH850/U2Cx platform. The SafetyFrame is highly scalable and can be configured and redeveloped according to different customer project requirements, ultimately meeting the functional safety requirements of the customers.

The RH850/U2Cx SafetyFrame is used to implement software safety mechanisms for the RH850/U2Cx series, including fault testing of internal MCU modules and the driving functions of hardware safety mechanisms.



Application Field

The RH850/U2Cx SafetyFrame can be applied to controllers that have functional safety level requirements. For example:

Ø  Battery Management System (BMS)

Ø  Advanced Driver Assistance Systems (ADAS)

Ø Smart Gateway Controller (Gateway)

Ø  Intelligent Braking System (iBooster)

Ø  Vehicle Stability Control (ESC/Onebox)

Ø  Electric Power Steering (EPS)

Ø  Body Control Module (BCM)

Ø  Engine Management System (EMS)

Ø  Chassis Domain Control System Applications

Ø  Regional Controllers

 

By integrating the Safety Frame into RH850/U2Cx-based controls, it is possible to meet the ISO26262 ASIL-D level requirements.



Configuration Environment

Configuration   Environment

Hardware (Chip)

RENESAS RH850/U2Cx

Compilers   Supported

GHS_For_RH850 Compiler v2020.1.5

Evaluation   Hardware

FG2 RH850/U2Cx U2Cx_C and U2Cx_3

Debugger

Lauterbach (Trace32 R.2024.02)

Isystem (IC5700)

Configuration Tools

ZC.Muniu   Configuration Tool V5.1.0

Configuration Environment  

Win10 64bit



Compiler Option

GreenHills
Compiler Options

-Onone

       -OB

       -no_data_delete

       -delete

       -dual_debug

       -ignore_debug_references

       -object_dir=objs

       -init_ram_at_startup

       {optgroup=GhsCommonOptions} -o   RH850_SafetyFrame.elf

       :postexec='gsrec  -B -hex386 ./out/ RH850_SafetyFrame.elf -o   RH850_SafetyFrame.hex'

       -full_debug_info

       -G

       -gnu99

       -cpu=rh850g4kh

       -bsp generic

GreenHills Linker Options

-e _RESET


Development Background

Currently, the electronic and electrical architecture of automobiles is becoming increasingly complex, and the safety requirements for automotive electronics are also rising. To meet the safety requirements of automobiles, functional safety is gaining more attention. When it comes to functional safety, the first thing that comes to mind is the functional safety standard ISO 26262. In particular, ISO 26262-5(2018) Clause 8 introduces two metrics: Single-point fault metric (single-point fault metric) and Latent-fault metric (latent fault metric). Depending on the required ASIL level, the single-point fault metric and latent fault metric must meet the corresponding levels.

For microcontrollers (MCU, referred to as MCU below), within the electronic and electrical system, they are designed and developed as SEooC (safety element out of context). To meet the aforementioned metric requirements, MCUs need to implement corresponding safety mechanisms. These safety mechanisms can be allocated to both hardware and software modules. The Safety Frame safety library for MCUs is the implementation of safety mechanisms allocated to software.

image.png

image.png


Product Features

image.png

AUTOSAR Architecture


Ø  Can be integrated as a complex driver into AUTOSAR .

Ø  Can be integrated into non-AUTOSAR software architectures.

Ø  Support multi-core testing and applications.

Ø  Safety Frame has internal program flow monitoring.

Ø  High security: Supports multi-core self-testing, and can achieve up to ASIL-D requirements when paired with ZC 's TLF35584Lib.

Ø  High scalability: Each module can be configured to meet the application requirements of different customers.

Software Architecture

image.png

Software Architecture

Implemented functional modules:

Module

Sub-module    

Description

Test Library      

Lbist Test

Logic BIST and   Memory configuration
and result detection

Sram Test

Sram data   detection

Flash   Test

Flash data   detection

Port Test

Port module   startup detection

Clock Test

Clock rationality   module detection

Interrupt Test

Interrupt   detection

Register Test

Register   detection

Wdt Test

Watchdog   detection

Voltage Test

Voltage monitoring   detection

Adc Test

Adc module   detection

Driver Library 

Pms   Driver

Power monitoring   configuration driver

Ots Driver

Temperature   monitoring configuration
driver

Ecm   Driver

Ecm module configuration   driver

SwLib

E2E Lib

E2E protection   protocol library

Plausibility Test

Data plausibility verification library

Wdg   Driver

WdgIf

Watchdog driver   interface

SbcDrv

SBC chip driver

IntWdg Drv

Internal watchdog   driver

Wdg Manager

Wdg Manager

Watchdog   management module

Test Manager

Test Manager

Test management   module




Configuration Tools

image.png

During the operation phase, to meet the varying project requirements of customers and enhance the extensibility of SafetyFrame, the RH850/U2Cx SafetyFrame has implemented configurable modules and has developed a configuration tool for SafetyFrame. Customers can complete the configuration of various SafetyFrame modules according to different requirements using the configuration tool, generate configuration code files, and integrate the generated configuration files into the project.

image.png

Ø  PreRun Phase

This phase involves testing the safety mechanisms of the MCU, which is generally conducted before the OS starts up.

Ø  Run Phase

This phase takes place during task execution, while the OS is running, and some of the MCU's safety mechanisms are tested during this phase.

Process Documentation

Development   Process

Document   Description

Requirement   Collection  

Customer's requirement document

Software Requirement
Analysis      

Requirement   analysis specification

Software   requirement traceability
matrix

Customer   issue communication form

Software   Architecture
Design

Software   architecture manual

Software   architecture traceability
matrix

Detailed Software Design and Unit   Design      

Software   module detailed design
manual

Configuration   tool design

Software   detailed design traceability matrix

Safety   Frame project review

Software Unit Testing

QAC   analysis report

Tessy   test report

Software   unit verification strategy

Software Integration and
Integration   Testing

Integration   strategy

Integration   manual (PDF)

Integration   test strategy

Integration   test report

Resource   analysis report

Muniu.Safety   Frame configuration
tool user guide

Muniu.Safety   Frame configuration
tool software configuration managem-ent document

Software   Qualification
Testing

Software   test report

Software   test strategy

Release

Release   documentation



Related Certificate

image.png

ISO26262 ASIL D Certificate


image.png

zc.Muniu Software Copyright Registration Certificate


image.png

zc. Muniu Software Product Registration Certificate





image.png


Download
Product Manual

Click to download the product manual