PROTOCOL · APPLICATION LAYER · 1998-2010

KWP2000 protocol

Keyword Protocol 2000 (ISO 14230).

What is KWP2000?

KWP2000 (Keyword Protocol 2000, ISO 14230) was the dominant diagnostic protocol for European ECUs from 1998 to roughly 2010. Runs over K-Line (single-wire bidirectional) or over CAN. Defined a service-ID architecture similar in spirit to UDS but with simpler header/checksum framing.

Key characteristics

KWP2000 service IDs / frame structure

ID / CodeNamePurpose
0x10StartDiagnosticSessionEnter extended/programming session
0x14ClearDiagnosticInformationClear DTCs
0x18ReadDTCByStatusRead stored DTCs
0x21ReadDataByLocalIdentifierRead data by 8-bit ID
0x22ReadDataByCommonIdentifierRead by 16-bit DID
0x27SecurityAccessSeed/key challenge
0x2CDynamicallyDefineDataIdentifierGroup multiple LIDs
0x30InputOutputControlByLocalIdentifierActuator control
0x31StartRoutineByLocalIdentifierRun ECU routine
0x34RequestDownloadBegin flash download
0x36TransferDataSend flash chunk
0x37RequestTransferExitEnd flash transfer
0x3DWriteMemoryByAddressDirect memory write
0x3ETesterPresentKeep-alive

Used on these ECU families

Related protocols

UDSCAN-OBDK-Line