How Comply Iso 26262 Standard
How Comply Iso 26262 Standard
Introduction
In this white paper, you’ll learn how using a coding standard and a static code
analyzer helps you comply with these ISO 26262 requirements for every ASIL.
ISO 26262 is essential as more electronic equipment is The ASIL of the system (at a functional level)
being used in vehicles and it is becoming more complex. determines which methods development teams
For that reason, software failure is not an option as it will need to use.
could compromise the safety of the vehicle.
These requirements are specified in ISO 26262,
Software failure isn’t an option. It could compromise the Part 6, including:
safety of the vehicle. Development teams need to ensure
• The initiation of software development.
there is no situation where failure could occur. However,
exhaustive testing is rarely possible. So, systems must • Software architectural design.
be designed to prevent failure — or ensure controlled • Software unit design and implementation.
behavior in response to failure.
CODING STANDARD REQUIREMENTS
Complying with functional safety standards, such as ISO
The use of a coding standard, such as MISRA, is
26262, is key for safe automotive system design.
recommended for ISO 26262 compliance. Applying a
coding standard with a static code analyzer
ISO 26262 Overview can help you comply with the requirements of
ISO 26262 is an adaptation of IEC 61508, the functional ISO 26262, Part 6.
safety standard for electronic safety-related systems. ISO
26262 focuses on the specific needs of those systems in ISO 26262, PART 6 COMPLIANCE TABLES
vehicles throughout their safety lifecycles. ISO 26262, Part 6 includes tables that define the
methods for achieving compliance with the standard.
Systems that need to comply with ISO 26262 include:
Here, we cover how to comply with five of these tables by
• Driver assistance.
using Helix QAC — a static code analyzer for C/C++.
• Propulsion and vehicle dynamics control.
For example, it’s highly recommended to enforce low code complexity across all ASIL levels. You can use Helix QAC’s web
dashboard to monitor trends in code complexity over time. This makes it easy to ensure your codebase doesn’t get more
complex as it grows.
ASIL
Methods Helix QAC
A B C D
For example, it’s highly recommended to restrict the size of software components for all ASIL levels. Helix QAC measures and
reports several different metrics relating to code size.
ASIL
Methods Helix QAC
A B C D
For example, it’s highly recommended (at all ASIL levels) to have one entry and one exit point in subprograms and functions.
With Helix QAC, you can enforce the following MISRA rules to comply with this design requirement:
MISRA C:2004 Rule 14.4: The goto statement shall not be used.
MISRA C:2004 Rule 14.7: A function shall have a single point of exit at the end of the function.
ASIL
Methods Helix QAC
A B C D
1a. One entry and one exit point in subprograms and functions ++ ++ ++ ++
No dynamic objects or variables, or else online test
1b. + ++ ++ ++
during their creation
1j. No recursions + + ++ ++
For example, in addition to basic static code analysis, you can use Helix QAC to automatically perform sophisticated data flow
analysis. Helix QAC will find potential errors for you, so you can verify software design faster.
ASIL
Methods Helix QAC
A B C D
1a. Walk-through ++ + o o
1b. Pair-programming + + + +
1c. Inspection + ++ ++ ++
For example, Helix QAC provides sophisticated dataflow functionality in addition to checking compliance with coding guidelines.
ASIL
Methods Helix QAC
A B C D
Make ISO 26262 Compliance Easy In addition, Helix QAC has been certified for use in
Safety-Related software development by TÜV-SÜD. This
with Helix QAC
includes ISO 26262 compliance for all ASIL levels (A-D).
Helix QAC checks your code against coding rules,
including MISRA and AUTOSAR. This can help you fulfill By using Helix QAC, you can reduce the time and cost of
compliance requirements for all ASIL levels included in compliance.
ISO 26262. Both tools include compliance modules for
MISRA C/C++ and AUTOSAR C++14.
perforce.com/products/qac/free-static-code-analyzer-trial
About Perforce
Perforce powers innovation at unrivaled scale. Perforce solutions future-proof competitive advantage by driving quality, security,
compliance, collaboration, and speed – across the technology lifecycle. We bring deep domain and vertical expertise to every customer,
so nothing stands in the way of success. Privately held and funded by Clearlake Capital and Francisco Partners, our global footprint spans
more than 80 countries and includes over 75% of the Fortune 100. Perforce is trusted by the world’s leading brands to deliver solutions to
even the toughest challenges. Accelerate technology delivery, with no shortcuts. Get the Power of Perforce.