Skip to main content
Black FridayBlack Friday: Extra 10% off Pro and Expert
BLACKFRIDAY10
Ends in 7d 22h 56mSee the plans

Diagnostics & Remote Service Safety

Follow the diagnostic path from a garage plug to a backend a continent away, and rebuild inside the vehicle every guard that geography and habit used to supply for free.

Concept guide · ISO 26262 + ISO 14229 + ASAM SOVD · 13 chapters

Free account: a preview of this guide, plus the full Functional Safety Concept guide, 3 templates and 5 exams a month.

Chapters
13
Chapters
Action classes
6
Action classes
Gates in series
5
Gates in series
Access scenarios
3
Access scenarios

Quick answers

Why is a diagnostic interface a safety topic at all?
Because it is a command path, not a data port. A modern diagnostic interface can reset an ECU, suspend its normal communication, stop its fault recording, run routines that move actuators, rewrite calibration and variant coding, and accept new software. For most of automotive history the access path itself enforced the preconditions: the plug lived under the dashboard, using it needed a cable and a person, and the vehicle stood still. Those guards were geometry and habit rather than mechanisms, and Ethernet-based transport, service-oriented APIs and permanent connectivity removed them while the capabilities only grew.
Which diagnostic actions can actually violate a safety goal?
The guide sorts them into six action classes because the hazard mechanism belongs to the class rather than to a service identifier. Reads mislead the decisions built on them and add load on shared compute. Persistent writes change function behaviour silently, with no fault stored, because nothing failed. Actuation routines and signal overrides move hardware now. Mode changes suspend communication, fault recording or the ECU itself. Software transfer replaces the behaviour the safety argument was made about. And fault-memory operations attack the evidence layer. The same classes reappear unchanged behind a service-oriented API, because a modern interface changes the envelope, not the physics.

Included in Expert

Read the full guide with Expert

This page is the outline. The complete Diagnostics & Remote Service Safety guide, 13 chapters, is part of the Expert plan. A free account lets you preview it and includes the complete Functional Safety Concept guide, 3 templates and 5 practice exams a month.

See what Expert includes
iso26262.academy/concepts/functional-safety-concept
The Functional Safety Concept guide in the Academy, as an example of a full guide.
An example of a full guide: the Functional Safety Concept guide in the Academy, with its chapter grid and first lesson.

Benefits for your project

ISO 26262

One mechanism chain, not scattered protocol trivia

Gating, bounded actuation, fault-memory integrity, remote semantics, containment and authorization are built in the order a design needs them, so every chapter hands the next the mechanism it depends on.

The mapping that turns a protocol into a hazard analysis

Six action classes crossed against four operational situations, with the hazard mechanism and the vehicle-side control named per cell, plus the exposure reasoning that connectivity changes in an existing analysis.

An integrity argument for the gate itself

The interlock that prevents a diagnostic hazard is a safety mechanism whose failure enables it, so the guide writes the inherited integrity requirement down, with the decomposition option and the independence it demands.

Learning outcomes

Treat the Tester as Untrusted

Place every safety-relevant decision inside the ECU, on signals the vehicle owns, so no tool crash, third-party clone or delayed connection can talk a hazardous action into execution.

Map Diagnostic Actions to Hazards

Cross action classes against operational situations to find which requests can violate which safety goals, and argue the exposure shift that connectivity introduces into an existing analysis.

Specify Bounded Service Actuation

Write envelope limits, time bounds, abort trajectories and precedence rules per routine, so a service action stays inside the hazard analysis even when the client disappears mid-operation.

Protect Fault Memory as Evidence

Gate clearing and suppression, keep freeze frames until they are read out, and defend the field monitoring loop that tells an organization whether its safety concept assumptions hold.

Argue Coexistence and Authorization

Produce a freedom from interference argument for a quality-managed diagnostic stack on shared compute, and keep the ISO 26262 and ISO/SAE 21434 boundary clean with an assumption ledger instead of hand-offs.

Build the Diagnostic Safety Case

Write the requirement families a diagnostic function always needs, give the interlock its inherited integrity, and close each claim with fault injection, refusal-behaviour and interference evidence.

Chapters in this guide

  1. 01

    Why Diagnostics Became a Safety Topic

    A diagnostic interface can reset an ECU, silence its communication, stop its fault recording, move actuators, rewrite calibration and accept new software. Three concrete stories show the harm landing later, in traffic, long after the tool reported success.

    • A command path, not a data port
    • Three eras, five broken assumptions
    • Where ISO 26262 touches the service path
  2. 02

    The Classical Stack: UDS, DoIP and DTCs

    The protocol mechanics every later argument stands on: the service set sorted by what it can do to the vehicle, positive and negative responses, sessions and the S3 timer read as a dead-man switch, the DTC status byte, and the DoIP and description-data layers underneath.

    • Services grouped into action classes
    • Negative response codes read through a safety lens
    • Sessions, S3 fallback and status-bit traps
  3. 03

    What Changes on HPCs and Software-Defined Vehicles

    Consolidation breaks four load-bearing assumptions of classical diagnostics at once, and service-oriented vehicle diagnostics is the industry answer: a self-describing web API, three named access scenarios, and a gateway with an adapter into the legacy world.

    • Where the UDS worldview cracks
    • Self-description and token-based access
    • One gateway, two protocol worlds
  4. 04

    Which Diagnostic Actions Can Violate Safety

    The systematic map: six action classes with six distinct hazard mechanisms, crossed against four operational situations, then run through Part 3 thinking to show how connectivity quietly rewrites the exposure column of old analyses.

    • Same request, two situations
    • The action-by-situation matrix
    • How remote capability moves exposure
  5. 05

    Session and Vehicle-State Gating

    The highest-leverage mechanism on the page: the precondition check runs inside the ECU on its own view of vehicle state, in three layers with different temporal scope, and every way out of a session lands in one defined, verified configuration.

    • Entry, per-request and continuous gates
    • Revocation when conditions change mid-session
    • Four exit paths, one restored state
  6. 06

    Safe Actuation and Routine Control

    The tester requests and the ECU executes, which is what makes bounding possible at all. Envelope limits enforced next to the output driver, time bounds that survive the tester vanishing, and abort behaviour treated as functional design rather than a stop flag.

    • Envelope, time bound, interruptibility
    • The heartbeat as a dead-man switch
    • Abort trajectories and actuator precedence
  7. 07

    DTC Semantics and Fault-Memory Integrity

    Fault memory is the evidence locker of the safety lifecycle, so writes to it are safety-relevant. Aging ends a fault story with the evidence intact; clearing tears the story out of the book, and suppressing updates leaves the vehicle driving with its recorder dark.

    • Freeze frames and extended data as context
    • Clearing and suppression as gated writes
    • Bookkeeping is not detection
  8. 08

    Local Versus Remote Access

    When the tester leaves the building, presence, connection stability and exclusivity leave with it. Locks become vehicle-side leases, connection-loss behaviour is written down per operation class, and a backend action is a loop over thousands of vehicles.

    • Vehicle-side lock lifetime
    • Connection-loss semantics per operation
    • Read widely, write narrowly, actuate exceptionally
  9. 09

    Containment: Diagnostic Apps Next to Safety Functions

    On a shared computer the diagnostic stack is a neighbour, usually developed as quality-managed software, sitting beside ASIL functions. The coexistence argument is an engineering deliverable, and the interference paths each need a named mechanism with evidence.

    • Timing, memory and information interference
    • Processes, hypervisors and containers compared
    • Snapshot reads and the request-flood budget
  10. 10

    Authorization as a Safety Dependency

    Three generations of proving who is asking, why scopes must be cut along the hazard boundaries, and the reason an unauthorized request reaching a safety-relevant function belongs in the safety analysis no matter how it got there.

    • Shared secrets, certificates, scoped tokens
    • Five gates in series, two owners
    • Fail-secure against fail-safe, designed out
  11. 11

    Maintenance, Repair and Evidence

    The operation-phase view: maintenance instructions derived from the safety concept, the field monitoring loop and the way clearing without reporting blinds it, post-repair verification instead of clear-and-hope, and repairs that succeed mechanically while leaving the vehicle unsafe.

    • The field loop and its blind spot
    • Prove the repair, not just the code
    • Mandatory recalibration after body work
  12. 12

    Engineering the Diagnostic Subsystem to a Safety Standard

    An illustrative requirement set for a remote-capable park brake service function, the argument that the gating interlock inherits the ASIL of the hazard it prevents, traceability from requirement to mechanism to evidence, and verification built on breaking things deliberately.

    • Gating, bounding, release, interference, integrity
    • Decomposition and its independence price
    • Fault injection on the diagnostic path
  13. 13

    Pitfalls, Patterns and a Decision Guide

    Nine recurring anti-patterns paired with the pattern that replaces each, the whole defence drawn on one page, and ten questions to answer before any diagnostic capability is exposed.

    • The anti-pattern gallery
    • Defence in depth on one page
    • A ten-question release checklist

Read all 13 chapters with Expert.

Start with a free account: a preview of this guide, the complete Functional Safety Concept guide and 5 practice exams a month, then upgrade when you need this guide.

Expert plan pricing

Who this guide is for

  • Safety engineers who must decide which diagnostic capabilities may be exposed, and under which conditions
  • Diagnostic and platform developers implementing sessions, routines, IO control and fault memory in an ECU
  • Architects designing service-oriented diagnostics on a vehicle computer next to ASIL functions
  • Remote service and connected-vehicle teams enabling backend access to workshop capabilities
  • Assessors and reviewers reading a technical safety concept that includes a service path

Questions about Diagnostics & Remote Service Safety

Inside the ECU, based on its own view of the vehicle state, so that no diagnostic client can override the decision. A tester can still check preconditions for a better user experience, but the safety argument cannot rely on tester software, which is outside the vehicle and outside your control. The guide shows how to combine gating at entry, per request and continuously while the service runs.
Three assumptions disappear at once. Presence: nobody competent is at the vehicle to see that a person leans into the engine bay or that the car started rolling, so every physical fact a technician verified by looking must come from vehicle sensors through the gates or be declared unavailable. Connection stability: a cellular link drops mid-anything routinely, so client disappearance becomes an expected operating condition with a defined vehicle-side answer per operation class. And exclusivity: concurrent clients are normal, so locks become vehicle-side leases that expire on silence rather than waiting for a client to come back.
Yes, whenever it shares resources with ASIL elements. On a central vehicle computer, the diagnostic stack often shares the processor and operating system or hypervisor with ASIL-rated functions, while being developed as quality-managed software, since developing a full web-style service stack to an ASIL process is rarely reasonable. The criteria for coexistence of elements then give two options: demonstrate freedom from interference with the elements it shares resources with, or develop it to the highest ASIL of the requirements it can violate. There is no third option in which the stack is assumed harmless because it only reads data.
It runs 13 chapters as one arc: why the old implicit guards are gone, the classical service, session and fault-memory mechanics, what consolidation and service-oriented diagnostics change, the action-class to hazard mapping and its situation matrix, three-layer vehicle-state gating with defined session exit, envelope limits and dead-man release for routines, fault memory as safety evidence, local against remote access with connection-loss semantics and vehicle-side locks, containment on shared compute, authorization as a safety dependency with five gates in series, service as part of the safety lifecycle, an illustrative requirement set with traceability and fault-injection verification, and a closing gallery of anti-patterns with a ten-question decision checklist.

Start the Diagnostics & Remote Service Safety guide

The full guide is part of the Expert plan. A free account opens a preview of it, the complete Functional Safety Concept guide, 3 work product templates, 1 guided process, the Markov and RBD simulators and 5 practice exams a month. No credit card required.

Continue with

More related ISO 26262 guides

Browse all 109 guides
  • HardwareHardware MetricsLearn how to calculate SPFM, LFM, and PMHF with correct failure rate data and diagnostic coverage values. Covers ASIL-dependent targets, data sources (IEC 61709, FIDES), common calculation pitfalls, and compliance strategies.Pro plan pricingExpert plan pricing16 chapters
  • System levelSystem Architectural Design and Safety ArchitectureA list of technical safety requirements does not tell you what to build. This guide turns them into elements, boundaries and interfaces, allocates every requirement with a reason, and verifies the result before hardware exists.Expert plan pricing10 chapters
  • System levelThe Hardware-Software Interface (HSI)The HSI is the bilateral contract where ISO 26262 hardware and software meet. Learn to specify registers, allocate diagnostics, budget timing against the FTTI, and run joint reviews so safety mechanisms actually work at the boundary.Expert plan pricing10 chapters