Skip to Content
UDS Simulator 2.0 Released
Docs0x2E Write Data By Identifier

Service Interaction Protocol

Write Data By ID

0x2E
Protocol Identifier
The WriteDataByIdentifier service allows the client to write data record values to the server (ECU) by specifying specialized Data Identifiers (DIDs).
A Service Identifier (SID) is a single-byte value (0x00–0xFF) in position 0 of every UDS request frame. It specifies which diagnostic operation the client wishes the ECU to execute. The positive response echoes the SID with the high bit set (SID + 0x40).

STORAGE

NON-VOLATILE
Data written via 0x2E typically persists across ECU resets (Stored in EEPROM/Flash).

VALIDATION

STRICT
ECU verifies payload length and session requirements before committing writes.

RISK_LEVEL

CRITICAL
Incorrect configuration writes can brick the ECU or affect vehicle safety.
warning _entry

High Risk: Writing incorrect configuration or calibration data can lead to permanent ECU malfunction (“bricking”).

Overview

ISO 14229-1

“The WriteDataByIdentifier service is used by the client to write a data record value to a server, specified by a data identifier.”

Write Sequence & NVM Persistence
Click to Enlarge

How UDS Write operations move data from the Tester into Permanent ECU Storage.

Default Behavior

By default, most writable DIDs are protected from ad-hoc modification. Information written via service 0x2E is typically stored in Non-Volatile Memory (NVM) and persists across power cycles. Successfully writing to a DID requires the ECU to be in a specific session (usually Extended 0x03) and often requires a Security Access (0x27) unlock.

Interactions & Prerequisites

Required State

Session0x03 (Extended)
SecurityUnlocked Lvl 1+

Verification

Always follow a Write (0x2E) with a Read (0x22) to verify the data was persisted correctly in Non-Volatile Memory (NVM).

Common Writable DIDs

DID
Name
Expected Length
Security Lvl
0xF190VIN17 BytesLevel 1
0xF18CSerial NumberVariableLevel 1
0xFD00CalibrationVariableLevel 2
0xF187Part NumberRead-Only✗ Locked

Protocol Anatomy (Write VIN)

◆ PROTOCOL ANATOMY

View
REQUEST_TX

0x2E WRITE DATA BY ID

RESPONSE_RX

0x2E RESPONSE

TX/RX Examples

Write VIN (Successful Sequence)

tx_packet

Enter Extended

10 03
rx_packet

Success

50 03...
tx_packet

Unlock Sec

27 01... [etc]
tx_packet

Write VIN

2E F1 90 57 42 41...
rx_packet

Success

6E F1 90

UML Sequence Diagrams

Configuration Write & Verification

4 steps
Tester
ECU

Negative Response Codes (NRCs)

Error_Catalog

Negative Response Codes

THREAT_LEVEL3 HIGH2 MEDIUM5 NRCs TOTAL
ISO_14229_ANNEX_ANRC_ENGINE_V2