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.
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
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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
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
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
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
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 pricingWho 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
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
- 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.
- 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.
- 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.