Diagnostic Mode

5-baud setup, test commands, data packet format, and voltage byte table for the Lucas 5AS.

Setup: 5-baud init with address 0x1C (replies 0x55 0x83 0x76).

Test commands

Each device has an on and an off command. The low nibble selects the device, the high nibble the action (3 = on, 2 = off): on = 0x30 | device, off = 0x20 | device.

DeviceOnOffPinActive
CDL Unlock Motor0x310x21J1-11HIGH
3TH Output0x320x22J1-12LOW
CDL Lock Motor0x330x23J1-13HIGH
Chime0x340x24J1-25LOW
Volumetric Sensor Power0x350x25J1-14HIGH
?0x360x26??
Superlock Motors0x370x27J2-01HIGH
Horn Relay0x380x28J1-08LOW
LED0x390x29J1-17LOW
Crank Relay0x3A0x2AJ1-23LOW
MEMS ECU Link0x3B0x2BJ1-09LOW
?0x3C0x2C??
Hazard Flash (L/R)0x3D0x2DJ2-06/07HIGH
Energiser Coil Signal0x3E0x2EJ2-11HIGH
Volumetric Program0x3F0x2FJ2-08LOW

Other commands

CommandValue
Keep alive0xF0 (assumption)
Disconnect0xF6
Start key programming0x5F
End key programming0x6F
Request data packet0x83

Key programming erases all stored keys. Press each fob's lock button ≥8 times until the horn sounds; up to 4 keys. Test the horn first with the actuator tests.

Diagnostic packet (in progress — likely more fields)

Returned in response to 0x83. Indices not listed are unknown or unused.

IndexFieldHowPin
0Packet size
1Bonnetbit 7 (0 / 0x80)J1-18
2Driver's Sill Upbit 7 (0 / 0x80)J1-04
3Driver's Sill Downbit 7 (0 / 0x80)J1-19
4Passenger's Sill Upbit 7 (0 / 0x80)J1-05
6Ignitionbit 7 (0 / 0x80)J1-01
7Key Barrel Switchbit 7 (0 / 0x80)J1-22
9Driver's Door Openbit 7 (0 / 0x80)J1-07
11Boot Openbit 7 (0 / 0x80)J1-21
12Inertia Switchbit 7 (0 / 0x80)J2-09
13Passenger Door Openbit 7 (0 / 0x80)J1-06
14Input bitfield 1packed, see below
15Input bitfield 2packed, see below
16–19Key Counter 1–4
20–22Serial Number Byte 0–2decimal, 3-byte LSB first
24–25EKA Code Byte 0–1BCD, 2 digits per byte
30Voltagenon-linear (see below)
36 onUnit Descriptione.g. P2.005AS-98MY

Indices 14 and 15 pack the input states as individual bits (0 = inactive, 1 = active). These are the same states exposed at bit 7 of indices 1–13.

Index 14 (0x0E)

BitSignalPin
0IgnitionJ1-01
1Key Barrel SwitchJ1-22
2
3Driver's Door OpenJ1-07
4
5Boot OpenJ1-21
6Inertia SwitchJ2-09
7Passenger Door OpenJ1-06

Index 15 (0x0F)

BitSignalPin
0BonnetJ1-18
1Driver's Sill UpJ1-04
2
3Driver's Sill DownJ1-19
4
5Passenger's Sill UpJ1-05
6
7Volumetric Sensor SignalJ1-20

Voltage byte

VoltageBinaryDecimalΔ
10.5 V11011110222
11.0 V111001012297
11.5 V111010102345
12.0 V111011102384
12.5 V111100012413
13.0 V111101002443
13.5 V111101102462
14.0 V111110002482