1. Vocabulary 2. Management of functional safety 2-5 Safety management during the concept phase and the product development phase 2-6 Overall safety management 3-5 Item definition 4-5 General topics for the product development at the system level 3-6 Hazard analysis and risk assessment 4-6 Technical Safety Concept 4-7 Functional safety concept 12. Motorcycles 12-5 Safety Culture 12-6 Confirmation Measures 12-7 HARA 12-8 12-9 Vehicles integration and testing Safety Validation Safety management during production operation, service and decommissioning 4. Product development at the system level 3. Concept phase 3-7 2-7 4-9 Safety validation 4-8 Item integration and testing 7. Production.operation, service and decommissioning System architectural design 5. Product development at the hardware level 7-5 Production, operation, service and decommissioning 7-6 Production 7-7 Operation, service and decommissioning 6. Product development at the software level 5-5 General topics for the product development at the hardware level 6-5 General topics for the product development at the software level 5-6 Specification of hardware safety requirements 6-6 Specification of SW safety requirements 5-7 Hardware design 6-7 Software architectural design 5-8 Evaluation of the hardware architectural metrics 6-8 Software unit design and implementation 6-9 Software unit testing 5-9 Evaluation of the safety goal violations due to random hardware failures 6-10 Software integration and testing 5-10 Hardware integration and verification 6-11 Testing of the embedded software 8-11 Confidence in the use of software tools Specification and Management of safety requirements 8-12 Qualification of SW Components 8-7 Configuration Management 8-13 Evaluation of HW Components 8-8 Change Management 8-14 Proven in use argument 8-9 Verification 8-15 Out of Scope of ISO 26262 consideration 8-10 Documentation management 8-16 Safety related system not dev. according ISO26262 9-5 Requirements Decomposition with respect to ASIL tailoring 9-6 Criteria for Coexistence of elements 8-5 Interfaces within distributed developments 8-6 8. Supporting Processes 9. ASIL-oriented and safety-oriented analysis 9-7 Analysis of dependent failures 9-8 Safety analysis 10. Guidelines on ISO 26262 3 © 2020 DEKRA 11. Guidelines on application of ISO 26262 to semiconductors Agenda DAY 1 1. Software Development Background 2. General topics for the product development at the software level 3. Specification of SW safety requirements Exercise: Seat Controller Software Requirements ISO 26262 Part 6 6 BREAK 4. Software Architectural Design 6 5. Software Unit Design implementation 6 6. Software unit verification 6 7. Software integration and verification 6 8. Testing of the embedded software and Qualification of SW Tools 9 Overview about SOTIF 10. Cybersecurity LUNCH BREAK Slide 22 © 2020 DEKRA SOTIF IEC/SAE 26434 Product development at the software level ISO 26262 Objectives 6-5 1. Specify or refine the software safety requirements which are derived from the technical safety concept and the system design specification; 2. Define the safety-related functionalities and properties of the software required for the implementation; 3. Refine the requirements of the hardware-software interface - HSI 4. Verify that the software safety requirements and HW/SW interface requirements are consistent with the technical safety concept and the system design specification General topics for the product Development at the SW level 6-6 Specification of software safety requirements 6-7 Software architectural design 6-8 Software unit Design implementation 6-9 Software unit verification Software integration 6-10 and verification Work products 6-11 • Software safety requirements specification • Hardware-software interface specification (refined) • Software verification plan (refined) • Software verification report Slide 23 © 2020 DEKRA 4-7 Testing of the embedded software System and item integration and testing Product development at the software level Specification of software safety requirements Safety related functionality address functions that can be unsafe The software safety requirements shall address each software-based function whose failure could lead to a violation of a technical safety requirement allocated to software. Examples: Functions whose failure could lead to a violation of a safety requirement can be functions: Slide 24 © 2020 DEKRA enable the system to achieve or maintain a safe state; related to the detection, indication and handling of faults of safety-related hardware elements; related to the detection, notification and mitigation of faults in the software itself; related to on-board and off-board tests; that allow modifications of the software during production and service; and related to performance or time-critical operations. Product development at the software level Specification of software safety requirements The specification shall be derived from the technical safety concept and the system design and shall consider: a. specification and management of safety requirements b. specified system and hardware configurations c. hardware-software interface specification d. relevant requirements of the hardware design specification e. timing constraints f. external interfaces; and g. operating mode and transition: modes include shut-off, sleep, initialization, normal operation, degraded and advanced modes for testing or flash programming Slide 25 © 2020 DEKRA Product development at the software level Plan Verification and Verify: Software safety requirements and HIS The verification of the software safety requirements and of the refined specification of the hardware software interface (HSI) shall be planned in accordance with ISO 26262-8:2011, Clause 9. The refined hardware-software interface specification shall be verified jointly by the persons responsible for the system, hardware and software development. The software safety requirements and the refined hardware-software interface requirements shall be verified in accordance with ISO 26262-8:2011, Clauses 6 and 9, to show their: a) compliance and consistency with the technical safety requirements; b) compliance with the system design; and c) consistency with the hardware-software interface. Slide 26 © 2020 DEKRA Product development at the software level ISO 26262 Requirements and Recommendations 6-5 1. The SW Safety Requirements shall address each software-based function whose failure could lead to the violation of a safety goal Q: What are some examples of such functions? functions that enable the safe execution of a nominal function functions that allow modifications to the SW during functions related to production & service performance or time-critical functions related to onoperations board or off-board tests functions related to the detection, indication and mitigation of faults of safety-related hardware elements functions that enable the Self-test or monitoring functions system to achieve or related to the detection, indication and maintain a safe state or mitigation of failures in the OS basic degraded state SW or the application SW itself Slide 27 © 2020 DEKRA General topics for the product Development at the SW level 6-6 Specification of software safety requirements 6-7 Software architectural design 6-8 Software unit Design implementation 6-9 Software unit verification Software integration 6-10 and verification 6-11 4-7 Testing of the embedded software System and item integration and testing Product development at the software level ISO 26262 Requirements and Recommendations (continued): Specification of the software safety requirements derived from the technical safety requirements, the technical safety concept and the system architectural design shall consider: 6-5 6-6 Specification of software safety requirements 6-7 Software architectural design 6-8 Software unit Design implementation 6-9 Software unit verification a. specification & management of safety requirements b. specified system and hardware configurations c. HW-SW interface specification d. relevant requirements of HW design specification e. timing constraints Software integration 6-10 and verification f. external interfaces 6-11 g. each operating mode and each transition between the operating modes of the vehicle, the system, or the hardware, having an impact on the software Slide 28 © 2020 DEKRA General topics for the product Development at the SW level 4-7 Testing of the embedded software System and item integration and testing Product development at the software level ISO 26262 Requirements and Recommendations (continued): If ASIL decomposition is applied to SW requirements, requirements shall comply with ISO 26262-9:2018, Clause 5 (Decomposition) The hardware-software interface specification shall be refined sufficiently to allow for the correct control and usage of the hardware by the software and shall describe each safety-related dependency between hardware and software. If other functions in addition to those functions for which safety requirements are specified are carried out by the embedded software, a specification of these functions and their properties in accordance with the applied quality management system shall be available. 6-5 General topics for the product Development at the SW level 6-6 Specification of software safety requirements 6-7 Software architectural design 6-8 Software unit Design implementation 6-9 Software unit verification The refined hardware-software interface specification shall be verified jointly by the persons responsible for the system, hardware and software development. Software integration 6-10 and verification The software safety requirements and the refined requirements of the hardware-software interface specification shall be verified, to provide evidence for their: 6-11 •suitability for software development; •compliance and consistency with the technical safety requirements; •compliance with the system design; and •consistency with the hardware-software interface Slide 29 © 2020 DEKRA 4-7 Testing of the embedded software System and item integration and testing Product development at the software level ISO 26262 Safety Requirement Specification Framework 6-5 Depending on hardware (HW) architecture and ASIL, the following shall be specified: • SW-Self monitoring, defensive programming, comparison with earlier design modes • HW monitoring (self test, etc.), sensor, actuators • On-line and off-line tests of safety-relevant functions • Interfaces to non safety-relevant functions • If necessary different ASIL for each safety-relevant function General topics for the product Development at the SW level 6-6 Specification of software safety requirements 6-7 Software architectural design 6-8 Software unit Design implementation 6-9 Software unit verification Software integration 6-10 and verification Constraints to be Considered: 6-11 • Response time (also under demand) • Demand conditions • Dialog interfaces to user • Dependency between HW and SW Slide 34 © 2020 DEKRA 4-7 Testing of the embedded software System and item integration and testing Product development at the software level Software Form Rules: ISO 26262 6-5 1. Requirements must be: Detailed Traceable Abstract Not Ambiguous Verifiable Testable 6-6 Specification of software safety requirements 6-7 Software architectural design 6-8 Software unit Design implementation 6-9 Software unit verification Comprehensible Not Mistakable (understandable for the reader) Simplicity Modular Atomic 2. General topics for the product Development at the SW level Requirements must be adequate with respect to: The function it is fulfilling The expected failure behavior Software integration 6-10 and verification The Hardware architecture The ASIL 6-11 3. Requirements must include a source reference, e.g. from input documents 4-7 4. Slide 35 Requirements must be in a hierarchical order © 2020 DEKRA Testing of the embedded software System and item integration and testing Product development at the software level Overview: Software Requirements Specification Verify Requirement Verification Provide the verification approaches and methods planned to qualify the software. Test Execution and Evaluation Managed Requirements Specification Slide 51 © 2020 DEKRA TRACEABILITY Goal Analysis & Validation Report Agenda DAY 1 1. Software Development Background 2. General topics for the product development at the software level 3. Specification of SW safety requirements Exercise: Seat Controller Software Requirements ISO 26262 Part 6 6 BREAK 4. Software Architectural Design 6 5. Software Unit Design implementation 6 6. Software unit verification 6 7. Software integration and verification 6 8. Testing of the embedded software and Qualification of SW Tools 9 Overview about SOTIF 10. Cybersecurity LUNCH BREAK Slide 52 © 2020 DEKRA SOTIF IEC/SAE 26434 Product development at the software level ISO 26262 Objectives 6-5 • to develop a software architectural design that satisfies the software safety requirements and the other software requirements General topics for the product Development at the SW level 6-6 Specification of software safety requirements 6-7 Software architectural design • to support the implementation and verification of the software 6-8 Software unit Design implementation Work products 6-9 Software unit verification • to verify that the software architectural design is suitable to satisfy the software safety requirements with the required ASIL Software integration 6-10 and verification • Software architectural design specification • Safety analysis report resulting from requirement • Dependent failures analysis report resulting from requirement safety analysis report • Software verification report (refined) Slide 53 © 2020 DEKRA 6-11 4-7 Testing of the embedded software System and item integration and testing Product development at the software level ISO 26262 Architectural Design Identify Software Units 6-5 The software architectural design shall be developed down to the level where the software units are identified. Hierarchically allocated The software safety requirements shall be hierarchically allocated to the software components down to software units. As a result, each software component shall be developed in compliance with the highest ASIL of any of the requirements allocated to it. 6-6 Specification of software safety requirements 6-7 Software architectural design 6-8 Software unit Design implementation 6-9 Software unit verification Software integration 6-10 and verification 6-11 Design Aspects 4-7 The software architectural design shall describe Static and Dynamic design aspects. hierarchically allocated of subroutines Slide 55 © 2020 DEKRA General topics for the product Development at the SW level Testing of the embedded software System and item integration and testing Product development at the software level ISO 26262 Avoidance of systematic faults in the software architectural design The description of the software architectural design shall address the following characteristics: simplicity comprehensibility consistency modularity verifiability encapsulaton abstraction 6-5 6-6 Specification of software safety requirements 6-7 Software architectural design 6-8 Software unit Design implementation 6-9 Software unit verification maintainability The software architectural design shall be described with appropriate levels of abstraction by using the notations for software architectural design: General topics for the product Development at the SW level ISO 26262-6: Table 2 – Notations for software architectural design Software integration 6-10 and verification 6-11 4-7 Slide 57 © 2020 DEKRA Testing of the embedded software System and item integration and testing Product development at the software level During development of the software architectural design, the following shall be considered: suitability for configurable software verifiability of the SW architectural design maintainability of the software architectural design feasibility for the design & implementation of the SW units testability of the software architecture during software integration testing To avoid systematic faults resulting from high complexity, the software design shall exhibit the following characteristics by use of the principles ISO 26262 6-5 6-6 Specification of software safety requirements 6-7 Software architectural design 6-8 Software unit Design implementation 6-9 Software unit verification Software integration 6-10 and verification 6-11 comprehensibility consistency 4-7 verifiable modularity Slide 58 © 2020 DEKRA encapsulation simplicity maintainability General topics for the product Development at the SW level Testing of the embedded software System and item integration and testing Product development at the software level Principles for software architectural design ISO 26262 ISO 26262-6: Table 3 – Principles for software architectural design 6-5 General topics for the product Development at the SW level 6-6 Specification of software safety requirements 6-7 Software architectural design 6-8 Software unit Design implementation 6-9 Software unit verification Software integration 6-10 and verification 6-11 4-7 Slide 59 © 2020 DEKRA Testing of the embedded software System and item integration and testing Product development at the software level ISO 26262 Static and Dynamic Aspects 6-5 The software architectural design shall describe both 6-6 Specification of software safety requirements 6-7 Software architectural design 6-8 Software unit Design implementation 6-9 Software unit verification STATIC and General topics for the product Development at the SW level Software integration DYNAMIC 6-10 and verification 6-11 design aspects of the software components!!! 4-7 Slide 61 © 2020 DEKRA Testing of the embedded software System and item integration and testing Product development at the software level ISO 26262 Static and Dynamic Aspects 6-5 Static Design Aspects: 1. 2. 3. 4. 5. the software structure including its hierarchical levels the data types and their characteristics the data types and their characteristics the external interfaces of the software components the external interfaces of the embedded software; the constraints including scope of architecture and external dependencies General topics for the product Development at the SW level 6-6 Specification of software safety requirements 6-7 Software architectural design 6-8 Software unit Design implementation 6-9 Software unit verification Software integration Dynamic Design Aspects: 1. 2. 3. 4. 5. Slide 62 © 2020 DEKRA the functional chain of events and behavior the logical sequence of data processing the control flow and concurrency of processes the data flow through interfaces and global variables the temporal constraints 6-10 and verification 6-11 4-7 Testing of the embedded software System and item integration and testing Product development at the software level ISO 26262 Example 1: Static Design Aspects 6-5 P/P Bus Diagnostic / Device Subsystem MPC860 Processor RAM/ ROM 6-6 Specification of software safety requirements 6-7 Software architectural design 6-8 Software unit Design implementation 6-9 Software unit verification Static Example: SW Architecture Block Diagram P/P Bus Peer To Peer Subsystem Control Subsystem Comms Subsystem RailBus Interface General topics for the product Development at the SW level Rail Bus Software integration 6-10 and verification MC9S12 Processor 6-11 Red Bus Redundancy Subsystem I/O Subsystem HardWare Slide 64 Data Flow Safety Critical S/W Control Safety Related S/W © 2020 DEKRA I/O Bus I/O Bus Local I/O Scanner Local I/O 4-7 Testing of the embedded software System and item integration and testing Product development at the software level ISO 26262 Static Example 2: Communication Stack per AUTOSAR 6-5 General topics for the product Development at the SW level 6-6 Specification of software safety requirements 6-7 Software architectural design 6-8 Software unit Design implementation 6-9 Software unit verification Software integration 6-10 and verification 6-11 4-7 Slide 65 © 2020 DEKRA Testing of the embedded software System and item integration and testing Product development at the software level Example 3: Dynamic Design Aspects Dynamic Example: SW Logic Flow Charts ISO 26262 6-5 General topics for the product Development at the SW level 6-6 Specification of software safety requirements 6-7 Software architectural design 6-8 Software unit Design implementation 6-9 Software unit verification Software integration 6-10 and verification 6-11 4-7 Slide 66 © 2020 DEKRA Testing of the embedded software System and item integration and testing Product development at the software level ISO 26262 Software Architectural Design • • • • the software architectural design is suitable to satisfy the software requirements with the required ASIL; the review or investigation of the software architectural design provides evidence for the suitability of the design to satisfy the software requirements with the required ASIL; compatibility with the target environment; and adherence to design guidelines. ISO 26262-6: Table 4 – Methods for the verification of the software architectural design 6-5 General topics for the product Development at the SW level 6-6 Specification of software safety requirements 6-7 Software architectural design 6-8 Software unit Design implementation 6-9 Software unit verification Software integration 6-10 and verification 6-11 4-7 Slide 68 © 2020 DEKRA Testing of the embedded software System and item integration and testing Product development at the software level ISO 26262 Safety mechanisms for error detection 6-5 Safety-oriented analysis at the software architectural level Range checks of input and output data General topics for the product Development at the SW level 6-6 Specification of software safety requirements 6-7 Software architectural design 6-8 Software unit Design implementation 6-9 Software unit verification Software integration 6-10 and verification Plausibility check Slide 69 © 2020 DEKRA Access violation control mechanism Detection of data errors Diverse redundancy in the design 6-11 Monitoring of program execution 4-7 Testing of the embedded software System and item integration and testing Product development at the software level ISO 26262 Software partitioning Partitioning = Divide into parts If software partitioning is used to implement freedom from interference between software components it shall be ensured that: a) the shared resources are used in such a way that freedom from interference of software partitions is ensured; b) the software partitioning is supported by dedicated hardware features or equivalent means 6-5 General topics for the product Development at the SW level 6-6 Specification of software safety requirements 6-7 Software architectural design 6-8 Software unit Design implementation 6-9 Software unit verification Software integration 6-10 and verification c) the element of the software that implements the software partitioning is developed in compliance with the highest ASIL assigned to any requirement of the software partitions; and 6-11 4-7 d) evidence for the effectiveness of the software partitioning is generated during software integration and verification Slide 70 © 2020 DEKRA Testing of the embedded software System and item integration and testing Product development at the software level ISO 26262 Safety mechanisms 6-5 Depending on the results of the safety-oriented analyses at the software architectural level, safety mechanisms for error detection and error handling shall be applied. Deciding if a Safety Mechanism is required? For providing guidance for deciding if safety mechanisms are required for a failure mode, see Annex E “Application of safety analyses and analyses of dependent failures at the software architectural level.” General topics for the product Development at the SW level 6-6 Specification of software safety requirements 6-7 Software architectural design 6-8 Software unit Design implementation 6-9 Software unit verification Software integration 6-10 and verification Required resources 6-11 An upper estimation of required resources for the embedded software shall be made, including: a) the execution time; b) the storage space; and c) the communication resources. Slide 71 © 2020 DEKRA 4-7 Testing of the embedded software System and item integration and testing Product development at the software level ISO 26262 Safety mechanisms for error handling 6-5 Deactivation in order to achieve and maintain a safe state Static recovery mechanism (e.g. recovery blocks, backward recovery, forward recovery and recovery through repetition) Correcting codes for data Access permission MM implemented in SW or HW concerned with granting or denying access to safety-related shared resources General topics for the product Development at the SW level 6-6 Specification of software safety requirements 6-7 Software architectural design 6-8 Software unit Design implementation 6-9 Software unit verification Software integration Homogenous redundancy in the design, which focuses primarily on controlling the effects of transient faults or random fauls in the HW on which a similar SW es executed Slide 72 © 2020 DEKRA 6-10 and verification Homogenous redundancy design, which focuses primarily on controlling the effects of transient faults or random faults in the hardware on which a similar software is executed (e.g. temporal redundant execution of software); Graceful degradation by prioritizing functions to minimize the adverse effects of potential failures on functional safety 6-11 4-7 Testing of the embedded software System and item integration and testing Product development at the software level ISO 26262 SW Architectural Verification 7.4.14 The software architectural design shall be verified in accordance with ISO 26262-8:2018, Clause 9 and by using the software architectural design verification methods listed in Table to provide evidence that the following objectives are achieved: a) the software architectural design is suitable to satisfy the software requirements with the required ASIL; b) the review or investigation of the software architectural design provides evidence for the suitability of the design to satisfy the software requirements with the required ASIL; c) compatibility with the target environment d) adherence to design guidelines. 6-5 6-6 Specification of software safety requirements 6-7 Software architectural design 6-8 Software unit Design implementation 6-9 Software unit verification Software integration 6-10 and verification 6-11 4-7 Slide 73 © 2020 DEKRA General topics for the product Development at the SW level Testing of the embedded software System and item integration and testing Agenda DAY 1 1. Software Development Background 2. General topics for the product development at the software level 3. Specification of SW safety requirements Exercise: Seat Controller Software Requirements ISO 26262 Part 6 6 BREAK 4. Software Architectural Design 6 5. Software Unit Design implementation 6 6. Software unit verification 6 7. Software integration and verification 6 8. Testing of the embedded software and Qualification of SW Tools 9 Overview about SOTIF 10. Cybersecurity LUNCH BREAK Slide 74 © 2020 DEKRA SOTIF IEC/SAE 26434 Product development at the software level ISO 26262 Objectives 6-5 • Develop a software unit design in accordance with the software architectural design, the design criteria and the allocated software requirements which supports the implementation and verification of the software unit • Implement the software units as specified Work products Software unit design specification resulting from requirements 8.4.2 to.8.4.5 Note: In the case of model-based development, the implementation model and supporting descriptive documentation, using methods listed in Tables 5 and 6, specifies the software units. Software unit implementation resulting from requirement 8.4.5 Slide 75 © 2020 DEKRA General topics for the product Development at the SW level 6-6 Specification of software safety requirements 6-7 Software architectural design 6-8 Software unit Design implementation 6-9 Software unit verification Software integration 6-10 and verification 6-11 4-7 Testing of the embedded software System and item integration and testing Product development at the software level ISO 26262-6: Table 5 – Notations for software unit design ISO 26262 6-5 General topics for the product Development at the SW level 6-6 Specification of software safety requirements 6-7 Software architectural design 6-8 Software unit Design implementation 6-9 Software unit verification Software integration To avoid systematic faults and to ensure that the software unit design achieves the following properties, the software unit design shall be described using the notations listed in Table 5. 6-10 and verification 6-11 consistency Slide 78 © 2020 DEKRA comprehensibility maintainability verifiability 4-7 Testing of the embedded software System and item integration and testing Product development at the software level ISO 26262 The design principles for software unit design and implementation at the source code level as listed in Table 8 (next slide) shall be applied to achieve the following properties: 6-5 General topics for the product Development at the SW level 6-6 Specification of software safety requirements 6-7 Software architectural design 6-8 Software unit Design implementation c) correctness of data flow and control flow between and within the software units 6-9 Software unit verification d) simplicity 6-10 and verification a) correct order of execution of subprograms and functions within the software units, based on the software architectural design b) consistency of the interfaces between the software units Software integration e) readability and comprehensibility 6-11 Testing of the embedded software f) robustness g) suitability for software modification h) verifiability Slide 79 © 2020 DEKRA 4-7 System and item integration and testing Product development at the software level ISO 26262 Design principles for software unit design and implementation 6-5 ISO 26262-6: Table 6 – Design principles for software unit design and implementation General topics for the product Development at the SW level 6-6 Specification of software safety requirements 6-7 Software architectural design 6-8 Software unit Design implementation 6-9 Software unit verification Software integration 6-10 and verification 6-11 4-7 NOTE For the C language, MISRA C covers many of the principles listed in Table 6. Slide 81 © 2020 DEKRA Testing of the embedded software System and item integration and testing Product development at the software level Safety Related The requirements of this sub-clause shall be complied with if the software unit is a safety-related element. Software Unit Software unit design 8.4.2 The software unit design and implementation shall: a) be suitable to satisfy the software requirements allocated to the software unit with the required ASIL; b) be consistent with the software architectural design specification; and c) be consistent with the hardwaresoftware interface specification, if applicable. Suitable Consistent Consistent To satisfy the software requireme nts and ASIL With the software architectur al design specificatio n With Hardwaresoftware interface specificatio n ISO 26262 6-5 6-6 Specification of software safety requirements 6-7 Software architectural design 6-8 Software unit Design implementation 6-9 Software unit verification Software integration 6-10 and verification 6-11 4-7 Slide 82 © 2020 DEKRA General topics for the product Development at the SW level Testing of the embedded software System and item integration and testing Product development at the software level Design principles Design principles for software unit design and implementation at the source code level shall be applied to achieve the following properties: a) correct order of execution of subprograms and functions within the software units, based on the software architectural design b) consistency of the interfaces between the software units c) correctness of data flow and control flow between and within the software units d) simplicity e) readability and comprehensibility f) robustness g) suitability for software modification h) verifiability ISO 26262 6-5 6-6 Specification of software safety requirements 6-7 Software architectural design 6-8 Software unit Design implementation 6-9 Software unit verification Software integration 6-10 and verification 6-11 4-7 Slide 83 © 2020 DEKRA General topics for the product Development at the SW level Testing of the embedded software System and item integration and testing Agenda DAY 1 1. Software Development Background 2. General topics for the product development at the software level 3. Specification of SW safety requirements Exercise: Seat Controller Software Requirements ISO 26262 Part 6 6 BREAK 4. Software Architectural Design 6 5. Software Unit Design implementation 6 6. Software unit verification 6 7. Software integration and verification 6 8. Testing of the embedded software and Qualification of SW Tools 9 Overview about SOTIF 10. Cybersecurity LUNCH BREAK Slide 84 © 2020 DEKRA SOTIF IEC/SAE 26434 Product development at the software level ISO 26262 Software unit verification Objectives a) to provide evidence that the software unit design satisfies the allocated software requirements and is suitable for the implementation; b) to verify that the defined safety measures resulting from safety-oriented analysis in accordance with 7.4.10 and 7.4.11 are properly implemented; c) to provide evidence that the implemented software unit complies with the unit design and fulfils the allocated software requirements with the required ASIL; and d) to provide sufficient evidence that the software unit contains neither undesired functionalities nor undesired properties regarding functional safety. 6-5 General topics for the product Development at the SW level 6-6 Specification of software safety requirements 6-7 Software architectural design 6-8 Software unit Design implementation 6-9 Software unit verification Software integration Work products • Software verification specification resulting from requirements (see 9.4.2 to 9.4.5. of ISO 26262-6:2018 6-10 and verification 6-11 4-7 • Software verification report (refined) resulting from requirement see 9.4.2. of ISO 26262-6 Slide 85 © 2020 DEKRA Testing of the embedded software System and item integration and testing Product development at the software level Verification by applying an appropriate combination of methods ISO 26262 Table 7 — Methods for software unit verification 6-5 6-6 Specification of software safety requirements 6-7 Software architectural design 6-8 Software unit Design implementation 6-9 Software unit verification Provide evidence for: compliance with the requirements regarding the unit design and implementation compliance of the source code with its design specification compliance with the specification of the hardware-software interface confidence in the absence of unintended functionality and properties sufficient resources to support their functionality and properties implementation of the safety measures resulting from the safety-oriented analysis Slide 87 © 2020 DEKRA General topics for the product Development at the SW level Software integration 6-10 and verification 6-11 4-7 Testing of the embedded software System and item integration and testing Product development at the software level Many available tool sets are designed to ensure software units meet appropriate ASIL requirements… Table 8 — Methods for deriving test cases for software unit testing ISO 26262 6-5 General topics for the product Development at the SW level 6-6 Specification of software safety requirements 6-7 Software architectural design 6-8 Software unit Design implementation 6-9 Software unit verification Software integration 6-10 and verification Table 9 — Structural coverage metrics at the software unit level 6-11 4-7 Slide 89 © 2020 DEKRA Testing of the embedded software System and item integration and testing Agenda DAY 1 1. Software Development Background 2. General topics for the product development at the software level 3. Specification of SW safety requirements Exercise: Seat Controller Software Requirements ISO 26262 Part 6 6 BREAK 4. Software Architectural Design 6 5. Software Unit Design implementation 6 6. Software unit verification 6 7. Software integration and verification 6 8. Testing of the embedded software and Qualification of SW Tools 9 Overview about SOTIF 10. Cybersecurity LUNCH BREAK Slide 90 © 2020 DEKRA SOTIF IEC/SAE 26434 Product development at the software level Reference Phase Model for Software Development ISO 26262 4-7 System and item integration and testing System and item verification 4.6 Technical safety concept 6-5 General topics for the product Development at the SW level 6-6 Specification of software safety requirements 6-7 Software architectural design 6-8 Software unit Design implementation 6-9 Software unit verification Unit verification 6-6 Specification of software safety requirements Software testing 6-11 Testing of the embedded software Unit verification 6-7 Software architectural design Software verification 6-10 Software integration and verification Software integration 6-10 and verification 6-11 Testing of the embedded software Unit verification 6-8 Software unit design and implementation 4-7 Unit verification 6-9 Software unit verification ISO 26262-6: Figure 2 Slide 91 © 2020 DEKRA System and item integration and testing Product development at the software level ISO 26262 Objectives 6-5 a) to define the integration steps and integrate the software elements until the embedded software is fully integrated; b) to verify that the defined safety measures resulting from safety analysis at the software architectural level are properly implemented; c) to provide evidence that the integrated software units and software components fulfil their requirements according to the software architectural design; and d) to provide sufficient evidence that the integrated software contains neither undesired functionalities nor undesired properties regarding functional safety. Work products • Software verification specification (refined) resulting from requirements 10.4.2 to 10.4.7. • Embedded software resulting from requirement 10.4.1. • Software verification report (refined) resulting from requirement 10.4.2. Slide 92 © 2020 DEKRA General topics for the product Development at the SW level 6-6 Specification of software safety requirements 6-7 Software architectural design 6-8 Software unit Design implementation 6-9 Software unit verification Software integration 6-10 and verification 6-11 4-7 Testing of the embedded software System and item integration and testing Product development at the software level ISO 26262 Considerations for Software integration and verification: • • • Are test methods adequate to the problem? Are the test data and result documented and clear for everyone? Statistic testing quantifies the failure probability: • Typically requires a very high number of test cases Automated tools typically required to address this requirement • Dynamic analysis: • Check HW-SW integration using a real or virtual prototype • Checks software execution in runtime; e.g. order and path covering tests • Slide 94 Test tools normally necessary due to amount of data, code analysis, regression tests © 2020 DEKRA 6-5 General topics for the product Development at the SW level 6-6 Specification of software safety requirements 6-7 Software architectural design 6-8 Software unit Design implementation 6-9 Software unit verification Software integration 6-10 and verification 6-11 4-7 Testing of the embedded software System and item integration and testing Product development at the software level The software integration shall be verified by an appropriate combination of methods according to Table 10 to provide evidence that the hierarchically integrated software units, the software components and the integrated embedded software achieve: Table 10 — Methods for verification of software integration a) compliance with the software architectural design ISO 26262 6-5 General topics for the product Development at the SW level 6-6 Specification of software safety requirements 6-7 Software architectural design 6-8 Software unit Design implementation 6-9 Software unit verification b) compliance with the hardware-software interface specification c) the specified functionality d) the specified properties Software integration e) sufficient resources to support the functionality 6-10 and verification 6-11 f) Slide 95 © 2020 DEKRA effectiveness of the safety measures resulting from the safety-oriented analysis 4-7 Testing of the embedded software System and item integration and testing Product development at the software level To enable the specification of appropriate test cases for the software integration test methods, test cases shall be derived using the methods as listed in Table 11. Table 11 — Methods for deriving test cases for software integration testing To evaluate the completeness of test cases and to provide evidence that the test objectives for integration testing are adequately achieved, the structural coverage shall be evaluated in accordance with the methods as listed in Table 12. ISO 26262 6-5 General topics for the product Development at the SW level 6-6 Specification of software safety requirements 6-7 Software architectural design 6-8 Software unit Design implementation 6-9 Software unit verification Software integration 6-10 and verification Table 12 — Structural coverage at the software architectural level 6-11 4-7 Slide 96 © 2020 DEKRA Testing of the embedded software System and item integration and testing Agenda DAY 1 1. Software Development Background 2. General topics for the product development at the software level 3. Specification of SW safety requirements Exercise: Seat Controller Software Requirements ISO 26262 Part 6 6 BREAK 4. Software Architectural Design 6 5. Software Unit Design implementation 6 6. Software unit verification 6 7. Software integration and verification 6 8. Testing of the embedded software and Qualification of SW Tools 6 9 Overview about SOTIF 10. Cybersecurity LUNCH BREAK Slide 98 © 2020 DEKRA SOTIF IEC/SAE 26434 Product development at the software level ISO 26262 Objectives 6-5 a) fulfills the safety-related requirements when executed in the target environment a) contains neither undesired functionalities nor undesired properties regarding functional safety Work products General topics for the product Development at the SW level 6-6 Specification of software safety requirements 6-7 Software architectural design 6-8 Software unit Design implementation 6-9 Software unit verification Software integration • Software verification specification (refined) resulting from requirements 11.4.1 to 11.4.3. 6-10 and verification • Software verification report (refined) resulting from requirements 11.4.1 to 11.4.4. 6-11 4-7 Slide 99 © 2020 DEKRA Testing of the embedded software System and item integration and testing Product development at the software level ISO 26262 To verify that the embedded software fulfills the software safety requirements in the target environment, tests shall be conducted in suitable test environments as listed in Table 13 6-5 Table 13 — Test environments for conducting the software testing General topics for the product Development at the SW level 6-6 Specification of software safety requirements 6-7 Software architectural design 6-8 Software unit Design implementation 6-9 Software unit verification The testing of the embedded software shall be performed using methods as listed in Table 14 Software integration 6-10 and verification Table 14 — Methods for tests of the embedded software 6-11 4-7 Slide 101 © 2020 DEKRA Testing of the embedded software System and item integration and testing Product development at the software level To enable the specification of appropriate test cases for the software testing, test cases shall be derived using the methods as listed in Table 15. Table 15 — Methods for deriving test cases for the test of the embedded software ISO 26262 6-5 General topics for the product Development at the SW level 6-6 Specification of software safety requirements 6-7 Software architectural design 6-8 Software unit Design implementation 6-9 Software unit verification Software integration 6-10 and verification 6-11 Testing of the embedded software The results of the testing of the embedded software shall be evaluated with regard to: a) compliance with the expected results b) coverage of the software safety requirements Slide 102 © 2020 DEKRA 4-7 System and item integration and testing Product development at the software level Creating Application Specific Software Configurable Software Configuration Data Software Build Configured Software Annex C, Figure C.1 Slide 103 © 2020 DEKRA Calibration Data ApplicationSpecific Software ISO 26262 Objectives General topics for the product Development at the SW level a) to enable controlled changes in the behavior of the software for different applications 6-5 6-6 Specification of software safety requirements b) to provide evidence that the configuration data and the calibration data fulfil the requirements with the required ASIL 6-7 Software architectural design 6-8 Software unit Design implementation 6-9 Software unit verification c) to provide evidence that the application-specific embedded software and its calibration data are suitable for release for production Software integration 6-10 and verification 6-11 4-7 Testing of the embedded software System and item integration and testing Product development at the software level The configuration data shall be specified to ensure the correct usage of the configurable software during the safety lifecycle This includes: a) the valid values of the configuration data b) the intent and usage of the configuration data c) the range, scaling, units d) the interdependencies between different elements of the configuration data The configuration data and their specification shall be verified to provide evidence that: a) the configuration data complies with the software architectural design specification and with the software unit design specification; b) the use of values within their specified range; and c) the compatibility with the other configuration data. Slide 104 © 2020 DEKRA ISO 26262 6-5 General topics for the product Development at the SW level 6-6 Specification of software safety requirements 6-7 Software architectural design 6-8 Software unit Design implementation 6-9 Software unit verification Software integration 6-10 and verification 6-11 4-7 Testing of the embedded software System and item integration and testing Product development at the software level ISO 26262 Configurable software 6-5 For configurable software a simplified software safety lifecycle in accordance with Figures C.2 or C.3 (next slide) may be applied Note: A combination of the following verification activities can achieve the complete verification of the configured software: a) “verification of the configurable software” General topics for the product Development at the SW level 6-6 Specification of software safety requirements 6-7 Software architectural design 6-8 Software unit Design implementation 6-9 Software unit verification b) “verification of the configuration data” c) “verification of the configured software” Software integration This is achieved by either i) verifying a range of admissible configuration data in a) and showing compliance to this range in b), or ii) by showing compliance to the range of admissible configuration data in b) and performing c) Slide 105 © 2020 DEKRA 6-10 and verification 6-11 4-7 Testing of the embedded software System and item integration and testing Product development at the software level Variants of the reference phase model for software development with configurable software and different configuration data and different calibration data One of two variants of a SW phase model allowable for configurable software Slide 106 © 2020 DEKRA Product development at the software level Variants of the reference phase model for software development with configurable software with the same configuration data and different calibration data Slide 107 © 2020 DEKRA Product development at the software level To detect unintended changes of safety-related calibration data, mechanisms for the detection of unintended changes of data as listed in Table C.1 shall be applied. ISO 26262-6: Annex C, Table C.1 – Mechanisms for the detection of unintended changes of data Work products C.5.1 Configuration data specification resulting from requirements C.4.1 to C.4.4. C.5.2 Calibration data specification resulting from requirement C.4.6 to C.4.8. C.5.3 Configuration data resulting from requirement C.4.2 to C.4.4. C.5.4 Calibration data resulting from requirement C.4.7 to C.4.10. C.5.5 Verification specification (refined) resulting from requirements C.4.2, C.4.4, C.4.5, C.4.7, C.4.8, C.4.10 C.4.11. C.5.6 Verification report (refined) resulting from requirements C.4.2, C.4.4, C.4.5, C.4.7, C.4.8, C.4.10 and C.4.11. C.5.7 Software architectural design specification (refined) resulting from requirement C.4.10. C.5.8 Documentation of the software development environment (refined) resulting from r C.4.1 to C.4.11. Slide 108 © 2020 DEKRA
0
You can add this document to your study collection(s)
Sign in Available only to authorized usersYou can add this document to your saved list
Sign in Available only to authorized users(For complaints, use another form )