Professional Documents
Culture Documents
Automotive AG
Software Requirements
Specification Diagnosis
Bosch Engineering
GmbH
Document Name:
Project:
Document Maturity:
Released
Release Date:
17.11.2006
Number of Pages:
35
File Name:
srs_diagnosis_epb_m139_oem.doc
Author:
Revision:
2.3
Siemens VDO
Name:
Department:
st
Heiko Meyer
Vector Informatik
nd
2 Author:
A. Poursohi
SV C BC P1 EB SW
0941-790-3765
Check:
H. Strll
SV C BC P1 EB SW
0941-790-5909
Release:
W. Engelhard
SV C BC P1 EB PM
0941-790-5941
Department:
Phone:
1 Author:
Phone:
Date:
Signature:
Date:
Signature:
J. Grieser
07062-911-6769
Date
Department
Designed by
ali.poursohi@siemens.com
17.11.2006
SV C BC P1 EB SW
Released by
willibald.engelhard@siemens.com
17.11.2006
SV C BC P1 EB PM
Designation
Status
Released
Documentkey
Pages
Siemens Confidential
Siemens VDO Automotive AG
1 of 35
SiemensVDO
Automotive AG
Software Requirements
Specification Diagnosis
Bosch Engineering
GmbH
History
Revision
Date
Author
Company
Reason
0.1
2005-12-05
Ali Poursohi
Siemens VDO
First version.
0.2
2005-12-13
Heiko Meyer
Vector
0.3
2006-01-12
Ali Poursohi
Siemens VDO
0.4
2006-01-26
Harald Strll
Siemens VDO
0.5
2006-01-27
Ali Poursohi
Siemens VDO
0.6
2006-02-03
Ali Poursohi
Siemens VDO
0.7
2006-03-30
Heiko Meyer
Vector
0.8
2006-04-03
Ali Poursohi
Siemens VDO
0.9
2006-05-22
Ali Poursohi
Siemens VDO
1.0
2006-06-19
Ali Poursohi
Siemens VDO
1.1
2006-07-17
Heiko Meyer
Vector
1.2
2006-07-20
Harald Strll
Siemens VDO
1.3
2006-07-26
Harald Strll
Siemens VDO
1.4
2006-08-07
Heiko Meyer
Vector
1.5
2006-08-16
Heiko Meyer
Vector
1.7
2006-09-15
Harald Strll
Siemens VDO
1.8
2006-09-28
Ali Poursohi
Siemens VDO
srs_diagnosis_epb_m139_oem.doc
15 November 2006
SiemensVDO
Automotive AG
Software Requirements
Specification Diagnosis
Bosch Engineering
GmbH
$xx(1)
$xx(1)
$00 Neutral
$01 Pressed
$02 Pressed failure
$03 Neutral failure
$0A Under/Over voltage
EPB state
$00 Undefined position
$01 Applied
$02 Released
$03 Target reached
(by the release to small force
e.g.: 1500N -> 800N)
$04 During apply
$05 During release
$06 During calibration
$07 Stop job (via diagnosis
service)
Brake pedal state
$00 Brake pedal not pressed
$01 Brake pedal not pressed
2006-09-28
Heiko Meyer
Vector Informatik
GmbH
2.0
2006-10-17
Heiko Meyer
Vector Informatik
GmbH
- Cablebedding added
- Detailed description of garage braking,
cablebedding and brake contol IO services
That is requested from Mr. Cavallotti in the
telecon on 10.10.2006
- Inserted the value of the following
parameters for the service
ReadDataByLocalIdentifier EPB internal
data frame 2
$xx(1) ECU operating phase
$04 Main wakeup nominal
$05 Main wakeup degraded
$xx(1)
$xx(1)
Motor position
2006-10-24
Ali Poursohi
Siemens VDO
2.2
2006-11-08
Heiko MEyer
Vector Informatik
GmbH
srs_diagnosis_epb_m139_oem.doc
15 November 2006
SiemensVDO
Automotive AG
Software Requirements
Specification Diagnosis
Bosch Engineering
GmbH
2.3
2006-10-24
Ali Poursohi
srs_diagnosis_epb_m139_oem.doc
15 November 2006
Siemens VDO
SiemensVDO
Automotive AG
Software Requirements
Specification Diagnosis
Bosch Engineering
GmbH
Table of Content
History ........................................................................................................................... 2
References .................................................................................................................... 7
Overview........................................................................................................................ 7
6.1
Services Overview.......................................................................................................... 8
6.2
6.2.1
6.2.2
6.2.3
6.2.4
6.3
Conversions.................................................................................................................. 10
6.4
6.5
6.6
6.7
6.8
6.9
6.10
Data Formats............................................................................................................... 32
7.1
7.1.1
7.1.2
7.1.3
srs_diagnosis_epb_m139_oem.doc
15 November 2006
SiemensVDO
Automotive AG
Software Requirements
Specification Diagnosis
Bosch Engineering
GmbH
EPB
NPB
DTC
RLI
SID
Diagnosis Service ID
ST
Separation Time
SRS
TPDU
USN
USNi
VIN
RCD/RCW
ASCII
BCD
srs_diagnosis_epb_m139_oem.doc
15 November 2006
SiemensVDO
Automotive AG
Software Requirements
Specification Diagnosis
Bosch Engineering
GmbH
References
Title
/1/
Ed.6, 16.06.2003
/2/
Ed.4, 18.04.2003
/4/
/5/
srs_power_management_epb_m139.doc
Ed.1.4, 08.09.2006
/6/
srs_garage_braking_epb_m139.doc
Ed.9, 20.10.2006
Overview
This document describes the customer specific diagnosis interface of the ECU EPB M139
Maserati.
srs_diagnosis_epb_m139_oem.doc
15 November 2006
SiemensVDO
Automotive AG
Protocol Service
6.1
Services Overview
ID
(Hex
Value)
10
20
27
3E
1A
21
3B
18
17
12
14
30
31
32
33
34
36
37
6.2
Software Requirements
Specification Diagnosis
startDiagnosticSession
stopDiagnosticSession
securityAccess
TesterPresent
readECUIdentification
readDataByLocalIdentifier
writeDataByLocalIdentifier
readDiagnosticTroubleCodesByStatus
readStatusOfDiagnosticTroubleCodes
readFreezeFrameData
clearDiagnosticInformation
inputOutputControlByLocalIdentifier
startRoutineByLocalIdentifier
stopRoutineByLocalIdentifier
requestRoutineResultByLocalIdentifier
requestDownload
TransferData
requestTransferExit
Bosch Engineering
GmbH
After sale
diagnostic
session
System
supplier
defined
sessions
$10 $81+$83
$10 $85
$10 $FA-$FE
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
Bus Protocol
srs_diagnosis_epb_m139_oem.doc
15 November 2006
SiemensVDO
Automotive AG
Software Requirements
Specification Diagnosis
Bosch Engineering
GmbH
Value
Description
TPDU.TA
23h
F1h
TPDU.BS
255
Block Size
TPDU.ST
Separation Time
cCN_Timeout
200 ms
cCF_Timeout
200 ms
E_tmo_rx
10 s
E_dly_tx
<=0.1s /
<=5.0s
Fast / slow
delay introduced by ECU after reception of diagnostic request
and transmission of response
Buffer Size
120 bytes
Diagnostic Request
Identifier
7B0h
Diagnostic Response
Identifier
7CDh
5100 ms
Name
Value
Bus
Bustype
High speed
Baud rate
Baudrate
500 kbit/s
Data length
DLC
ID
Bit time
tBit
2 s
Time quanta
tq
125 ns
Sync. Segment
tsync
125 ns
Time segment 1
tSEG1
Time segment 2
tSEG2
625 ns (5 tq)
Sample point
tSEG1 / tBit
68%
SJW
250 ns (2)
Synchronization mode
SYNCH
srs_diagnosis_epb_m139_oem.doc
15 November 2006
SiemensVDO
Automotive AG
Software Requirements
Specification Diagnosis
Bosch Engineering
GmbH
6.3
Conversions
In this chapter the units and conversions factors used in this document are described.
Parameter
Unit
Conversion
Form
Description
Applied force
Target force
[6N]
Motor speed
RPM
[375 RPM]
0.1
[0.1V]
ECU temperature
[C]
6.4
Diagnostic Modes
Diagnostic modes are used to group diagnostic services and limit the access to the service
groups needed for production, testing and manufacturing via the security access feature.
If the tester tool wants access to the protected services it needs to unlock the ECU by
following the security access "unlocking" protocol.
The following diagnostic modes are supported by the EPB M139 ECU.
Session ID
diagnosticMode
Access Level
$81
defaultMode-StandardDiagnosticMode-OBDIIMode
Level 0
$83
endOfLineVehicleManufacturerMode
Level 1
$85
ECUProgrammingMode
Level 2
$FA
ECUSupplierDevelopmentMode
Level 5
$FB
ECUSupplierSeriesMode
Level 4
$FD
ActuatorSupplierSeriesMode
Level 3
$FE
ECUSupplierIOControlMode
Level 6
Note, that on starting of the ECU Programming Mode the EPB performs a reset and jumps
into the Flash Boot Loader immediately. From that point of time on the diagnostic commands
described within this document are no longer relevant. Refer to the FIAT Flash Boot Loader
description for a list of commands supported in the boot loader.
srs_diagnosis_epb_m139_oem.doc
15 November 2006
SiemensVDO
Automotive AG
6.5
Software Requirements
Specification Diagnosis
Bosch Engineering
GmbH
The following flowchart explains the access level scheme applied for the diagnostic servides
assigned to the diagnostic modes.
The access level hierarchy permits services to be accessed according to the current access
level. If the current access level is >= service minimum required access level then the service
is permitted otherwise the negative response code $22 "Conditions Not Correct" will be sent
to the tester. For each service the minimum required access level is specified.
6.6
Security Access
Conv.
Code (HEX)
#1
SecurityAccess#1
MAND
$27
#2
AccessMode
MAND
$03
Conv.
Code (HEX)
#1
MAND
$67
#2
AccessMode
MAND
$03
SEED =
MAND
$xx...$xx
#3 to #6
srs_diagnosis_epb_m139_oem.doc
15 November 2006
$xx /
$xx /
$xx /
$xx
SiemensVDO
Automotive AG
Software Requirements
Specification Diagnosis
Bosch Engineering
GmbH
Conv.
Code (HEX)
#1
Negative response
MAND
$7F
#2
MAND
$27
#3
MAND
$22
Conv.
Code (HEX)
#1
Negative response
MAND
$7F
#2
MAND
$27
#3
MAND
$37
Conv.
Code (HEX)
#1
SecurityAccess#2
MAND
$27
#2
AccessMode
MAND
$04
KEY = f(SEED) =
MAND
$xx...$xx=
Byte No
#3 to #6
$xx /
$xx /
$xx /
$xx
Conv.
Code (HEX)
#1
MAND
$67
#2
AccessMode
MAND
$04
#3
securityAccessStatus = [securityAccessAllowed]
MAND
$34
Conv.
Code (HEX)
#1
Negative response
MAND
$7F
#2
MAND
$27
#3
MAND
$22
srs_diagnosis_epb_m139_oem.doc
15 November 2006
SiemensVDO
Automotive AG
Byte No
Bosch Engineering
GmbH
Conv.
Code (HEX)
#1
Negative response
MAND
$7F
#2
MAND
$27
#3
MAND
$35
Conv.
Code (HEX)
#1
Negative response
MAND
$7F
#2
MAND
$27
#3
MAND
$37
Byte No
6.7
Software Requirements
Specification Diagnosis
The EPB assumes the vehicle ignition to be switched ON, if the internal power management
state machine is in the main wake-up NOMINAL or DEGRADED states. A diagnostic session
can only be opened and remains active if the EPB power manager is in one of these two
states.
The EPB does observe one dedicated CAN signal or one discrete HW line in order to
determine whether ignition is switched ON or OFF but it observes a combination of HW line
(RCD wake-up line) and different CAN signals. The NOMINAL state is entered in case the
RCD wake-up line is high and the EPB receives a valid main wake-up request via
STATUS_B_CAN2 message. Whenever there is an inconsistency detected between CAN
bus signals and RCD wake-up line the EPB enters the DEGRADED state. This is the case
e.g. if the vehicle does not stand still but the EPB receives a no main wake-up request via
STATUS_B_CAN2 message. Please refer to [5] for further details of the power management.
A diagnostic session can only be opened or remains open in the NOMINAL and DEGRADED
power manager states (i.e. if ignition is assumed to be switch ON). If the EPB leaves the
NOMINAL state towards to PARTIAL wake-up state or the DEGRADED state towards
TRANSITORY state, any active diagnostic session will be closed and new sessions cannot
be opened. Since these transition are not performed immediately after the actual vehicle
ignition off, it may take some time before the session is closed. This is because the EPB
needs time to validate or de-validate the involved HW and CAN signals. The exact timing is
given in [5].
If finally the EPB has left the NOMINAL or DEGRADED wake-up states, then the EPB will
not answer to any diagnostic request till ignition is switched on again and the power manager
is back in the NOMINAL or DEGRADED state.
srs_diagnosis_epb_m139_oem.doc
15 November 2006
SiemensVDO
Automotive AG
6.8
Software Requirements
Specification Diagnosis
Bosch Engineering
GmbH
There are several cases in which the EPB performs a reset on reception of a dedicated
diagnostic command or timeout:
Garage Braking via IoControlByLocalId command has been activated before and is
now stopped (refer to /6/ for list of reasons for leaving the garage braking mode)
Note, that the diagnostic tester may run into a timeout if one of the conditions above is true.
The EPB indicates via CAN signal IODiagnosticCmdActive in the EPB message that IO
Control has been granted to EPB diagnostics and that therefore a ECU reset is required on
stop of diagnostics. This signal may be used by the tester or other ECU to prevent timeout
entries.
An EPB reset after activation of one of the three IO control services (brake control,
cablebedding or garage braking) cannot be avoided since this is part of the safety concept of
the EPB. Normally the control of the actuator is granted to the CAN interface, i.e. the ESP
that sends its commands (apply or release brake) to the EPB. Whenever an IO control
service is activated via diagnostic tester, the EPB application does not accept further
commands from the ESP. Now the only instance that can control the actuator is the
diagnostic tester. This is in order to ensure that the ESP does not interfere with the tester
during maintenance action in a garage which can endanger the service stuff working on the
car. A switch back of the control to the ESP is not implemented in the EPB application SW.
Once the EPB application SW has handed over control to another instance, only an EPB
reset can bring back the control to the ESP.
Any external ECU that supervises one of the application messages or signals sent by the
EPB must take into account that the time for a reset of the EPB is about 300 ms. I.e. it is
strongly recommended not to use timeouts shorter than 500 ms. Otherwise it may
happen that an external ECU detects a timeout, enters a timeout error into its fault memory
which finally lead to switching on of a malfunction indicator lamp on the instrument. In order
to prevent such a situation it is also recommended to erase fault memory of all ECUs
after one of the three IO control services (brake control, cablebedding or garage
braking) has been activated via diagnostic tester.
srs_diagnosis_epb_m139_oem.doc
15 November 2006
SiemensVDO
Automotive AG
6.9
Bosch Engineering
GmbH
(only relevant services and sub-functions for OEM are listed hereafter)
Requ.-ID
SID
Diagnostic Service
Request Message
Response Message
Minimum
Security
Access
Level
$10
$81
SID
Mode
$50
$81
pos. Response
Mode
Level 0
$10
$83
SID
Mode
$50
$83
pos. Response
Mode
Level 0
$10
$85
SID
Mode
$50
$85
pos. Response
Mode
Level 0
SID
Note, that normal diagnostic ends on receiving of this command and that the
EPB jumps into the Flash Boot Loader.
$60
pos. Response
Level 0
SID
Level 0
Diagnostic Management
SWR_DI_
OEM_0001
V1.0
$10
SWR_DI_
OEM_0002
V1.0
SWR_DI_
OEM_0003
V1.0
$10
$10
SWR_DI_
OEM_0004
V1.0
$20
SWR_DI_
OEM_0005
V1.0
$3E
startDiagnosticSession
defaultModeStandardDiagnosticModeOBDIIMode
startDiagnosticSession
endOfLineVehicle
ManufacturerMode
startDiagnosticSession
ECUProgrammingMode
stopDiagnosticSession
TesterPresent
srs_diagnosis_epb_m139_oem.doc
15 November 2006
$20
$3E
SiemensVDO
Automotive AG
Requ.-ID
SID
Diagnostic Service
Request Message
Response Message
$14
$FF00
$54
$FF00
Bosch Engineering
GmbH
Minimum
Security
Access
Level
SWR_DI_
OEM_0007
V1.0
$14
$17
ClearDiagnosticInformation
AllGrous
ReadStatusOfDTC
DTC
$17
$XXXX
SID
Group
SID
DTC
pos. Response
Group
Level 0
Note, that clearing of the fault memory may need some time since also
the slave controller is involved in the function. The EPB sends response
pending in case the time for a immediate answer expires.
$57
pos. Response
xx
number of DTC
xxxx
DTC
xx
Error state (SODTC)
xx
EvC1
xx
EvC2
xx
EvC3
xx
EvC4
xx
EvC5
xx
EvC6
xx
Event counter. (FRCNT)
Level 0
srs_diagnosis_epb_m139_oem.doc
15 November 2006
SiemensVDO
Automotive AG
SWR_DI_
OEM_0008
V1.0
$18
ReadDTCByStatus
RequIdentifiedDtcAndState
AllGroups
$18
$00
$FF00
SID
StatusOfDtc
Group
$58
xx
xxxx
xx
xxxx
xx
Bosch Engineering
GmbH
pos. Response
Number of DTCs
Error code (DTC#1)
Error state (SODTC#1)
Error code n (DTC#n)
Error state n (SODTC#n)
Level 0
srs_diagnosis_epb_m139_oem.doc
15 November 2006
SiemensVDO
Automotive AG
Requ.-ID
SID
Diagnostic Service
Request Message
Response Message
Bosch Engineering
GmbH
Minimum
Security
Access
Level
ECU-Identification
SWR_DI_
OEM_0009
V1.0
$1A
ReadECUIdentification
ECU-ID
$1A
$80
SID
ECUIDT
$5A
pos. Response
$80
ECUIDT
$XX(61) Data of Sub service $91 - $99
Level 0
SWR_DI_
OEM_0010
V1.0
$1A
ReadECUIdentification
Drawing number
$1A
$91
SID
ECUDN
$5A
pos. Response
$91
ECUDN
$XX(11) Drawing number(ASCII)
Level 0
SWR_DI_
OEM_0011
V1.0
$1A
ReadECUIdentification
ECU hardware number
$1A
$92
SID
ECUHWN
$5
pos. Response
$92
ECUHWN
$XX(11) (ASCII)
Level 0
SWR_DI_
OEM_0012
V1.0
$1A
ReadECUIdentification
ECU hardware version
$1A
$93
SID
ECUHWV
$5A
$93
$XX(1)
Level 0
SWR_DI_
OEM_0013
V1.0
$1A
ReadECUIdentification
ECU software number
$1A
$94
SID
ECUSWN
$5A
pos. Response
$94
ECUSWN
$XX(11) Software number (ASCII)
Level 0
SWR_DI_
OEM_0014
V1.0
$1A
ReadECUIdentification
ECU software version
$1A
$95
SID
ECUSWV
$5A
$95
$XX(2)
pos. Response
ECHUSWV
Software Version (UNSIGN)
Level 0
SWR_DI_
OEM_0015
V1.0
$1A
ReadECUIdentification
Homologation number
$1A
$96
SID
$5A
$96
$XX(6)
pos. Response
Level 0
srs_diagnosis_epb_m139_oem.doc
15 November 2006
pos. Response
ECUHWV
Hardware Version (UNSIGN)
SiemensVDO
Automotive AG
Requ.-ID
SID
Diagnostic Service
Request Message
Response Message
$1A
$97
$5A
$97
$XX(5)
Bosch Engineering
GmbH
Minimum
Security
Access
Level
ECU-Identification
SWR_DI_
OEM_0016
V1.0
$1A
ReadECUIdentification
ISO Code
SWR_DI_
OEM_0017
V1.0
$1A
ReadECUIdentification
Tester code
$1A
$98
SID
$5A
pos. Response
$98
$XX(10) Tester code (ASCII)
Level 0
SWR_DI_
OEM_0018
V1.0
$1A
ReadECUIdentification
Programming date
$1A
$99
SID
PD
$5A
$99
$XX(4)
Level 0
srs_diagnosis_epb_m139_oem.doc
15 November 2006
SID
pos. Response
Level 0
pos. Response
PD
YYYYMMDD (BCD)
SiemensVDO
Automotive AG
Requ.-ID
SID
Diagnostic Service
Bosch Engineering
GmbH
Request Message
Response Message
Minimum
Security
Access
Level
$61
$82
$XX(3)
$XX(2)
$XX
$61
$83
$xx(4)
pos. Response
RLI
Sincom (ASCII)
Factory (ASCII)
Series
pos. Response
RLI
Serial No. (ASCII)
Level 0
$61
$8F
$xx(1)
$xx(16)
$xx(5)
$xx(1)
$61
$90
$xx(17)
pos. Response
RLI
Supplier (BOSH code)
Component initials (ASCII)
Free field (ASCII)
EMC index
pos. Response
RLI
VIN (ASCII)
Level 0
$61
$A0
$xx(3)
pos. Response
RLI
EPB cycles counter apply
(most ... less significant)
EPB cycles counter apply max
effort (most less significant)
Level 0
$21
ReadDataByLocalIdentifier
SincomAndFactory
$21
$82
SID
RLI
SWR_DI_
OEM_0020
V1.0
$21
ReadDataByLocalIdentifier
ECU serial number
$21
$83
SID
RLI
SWR_DI_
OEM_0021
V1.0
$21
ReadDataByLocalIdentifier
EMC type approval
references
$21
$8F
SID
RLI
SWR_DI_
OEM_0022
V1.0
$21
ReadDataByLocalIdentifier
VIN
$21
$90
SID
RLI
SWR_DI_
OEM_0023
V1.0
$21
ReadDataByLocalIdentifier
EPB cycles counter
$21
$A0
SID
RLI
$xx(3)
srs_diagnosis_epb_m139_oem.doc
15 November 2006
Level 0
Level 0
SiemensVDO
Automotive AG
Requ.-ID
SID
Diagnostic Service
Request Message
Response Message
$21
$A1
$61
$A1
$xx(1)
$xx(1)
Bosch Engineering
GmbH
Minimum
Security
Access
Level
$21
ReadDataByLocalIdentifier
EPB internal data frame 1
SID
RLI
$xx(1)
$xx(1)
$xx(1)
$xx(1)
$xx(1)
$xx(1)
srs_diagnosis_epb_m139_oem.doc
15 November 2006
pos. Response
RLI
Vehicle Speed [km/h]
EPB button state
$00 Neutral
$01 Pressed
$02 Pressed failure
$03 Neutral failure
$0A Under/Over voltage
EPB state
$00 Undefined position
$01 Applied
$02 Released
$03 Target reached
(by the release to small force
e.g.: 1500N -> 800N)
$04 During apply
$05 During release
$06 During calibration
$07 Stop job (via diagnosis service)
Brake pedal state
$00 Brake pedal not pressed
$01 Brake pedal pressed
Battery voltage (KL30) [0.1V]
RCD line voltage (KL15) [0.1V]
ECU temperature [C]
Motor temperature [C]
Level 0
SiemensVDO
Automotive AG
Requ.-ID
SID
Diagnostic Service
Request Message
Response Message
$21
$A2
$61
$A2
$xx(1)
$xx(1)
$xx(1)
$xx(1)
$xx(1)
$xx(1)
$xx(1)
Bosch Engineering
GmbH
Minimum
Security
Access
Level
$21
ReadDataByLocalIdentifier
EPB internal data frame 2
SID
RLI
SWR_DI_
OEM_0026
V1.0
$21
ReadDataByLocalIdentifier
Software version slave C
$21
$B7
SID
RLI
$61
$B7
$xx(3)
pos. Response
RLI
Applied force [6N]
Target force [6N]
Motor circuit voltage [0.1V]
RCD line state [1 high / 0 low]
Motor speed requested by ESP [0...100%]
Motor speed [375 RPM]
ECU operating phase
$04 Main wakeup nominal
$05 Main wakeup degraded
ESP request status
$00 No action
$01 Locking request
$02 Unlocking request
$03 - $07 Invalid request
Motor position
= ($xx * $08 ) $E0 )[1/4 Rotation]
(Min. value= -224 [1/4 Rotation],
Max. value = 1816 [1/4 Rotation])
pos. Response
RLI
SW_VERSION
SWR_DI_
OEM_0027
V1.0
$21
ReadDataByLocalIdentifier
Software version FBL
$21
$BD
SID
RLI
$61
$B7
$xx(2)
pos. Response
RLI
FBL_VERSION
$xx(1)
$xx(1)
srs_diagnosis_epb_m139_oem.doc
15 November 2006
Level 0
Level 0
Level 0
SiemensVDO
Automotive AG
Requ.-ID
SID
Diagnostic Service
Bosch Engineering
GmbH
Request Message
Response Message
Minimum
Security
Access
Level
$3B
SID
$82
RLI
$XX(3) Sincom
$XX(2) Factory
$XX
Series
$3B
SID
$90
RLI
$XX(17) VIN
$XX(4) Password
$3B
SID
$98
RLI= TC
$XX(10) TC
$7B
$82
pos. Response
RLI
Level 1
$7B
$90
pos. Response
RLI
Level 1
$7B
$98
SID
RLI= TC
Level 1
$3B
$99
$XX(4)
$7B
$99
SID
RLI= DATE
Level 1
$3B
WriteDataByLocalIdentifier
SincomAndFactory
SWR_DI_
OEM_0029
V1.0
$3B
WriteDataByLocalIdentifier
VIN
SWR_DI_
OEM_0030
V1.0
$3B
WriteDataByLocalIdentifier
Tester Code
SWR_DI_
OEM_0031
V1.0
$3B
WriteDataByLocalIdentifier
Download / Production
Date
srs_diagnosis_epb_m139_oem.doc
15 November 2006
SID
RLI= DATE
Date(BCD)
SiemensVDO
Automotive AG
Requ.-ID
SID
Diagnostic Service
Request Message
Response Message
$30
$01
$07
$70
$01
$07
Bosch Engineering
GmbH
Minimum
Security
Access
Level
EPB IO CONTROL
SWR_DI_
OEM_0033
V1.0
$30
InputOutputControlByLocalIdentifier
GarageBraking
Start Control
(refer to [6] for
preconditions)
SWR_DI_
OEM_0033
V1.0
$30
InputOutputControlByLocalIdentifier
GarageBraking
Stop Control
(refer to [6] for
preconditions)
srs_diagnosis_epb_m139_oem.doc
15 November 2006
$xx
$xx
SID
IOLI
GarageBraking
PARAPIL1 (Input output control parameter)
Shot term adjustment = Start control
PARAPIL2 (Input output control state)
$00 Release the parking brake
$FF Tightening of the parking brake
PARAPIL3 (Input output control state)
$xx = GarageBrakingForce [6N]
$xx
$70
$01
$00
$xx
SID
IOLI
GarageBraking
STATPIL1 (Input output control parameter)
Shot term adjustment = Start control
STATPIL2 (Input output control status)
$00 Control could not be started
$01 Control in progress
$02 Control ended
$04 Problem
$11 Command processing stopped
$AA Command has been issued
SID
IOLI
GarageBraking
STATPIL1 (Input output control parameter)
Return control to ECU = Stop control
STATPIL2 (Input output control status)
$00 Control could not be started
$01 Control in progress
$02 Control ended
$04 Problem
$11 Command processing stopped
$AA Command has been issued
Level 0
Level 0
SiemensVDO
Automotive AG
Requ.-ID
SID
Diagnostic Service
Request Message
Response Message
$30
$01
$01
$70
$01
$01
Bosch Engineering
GmbH
Minimum
Security
Access
Level
EPB IO CONTROL
SWR_DI_
OEM_0034
V1.0
$30
InputOutputControlByLocalIdentifier
GarageBraking
SID
IOLI
GarageBraking
PARAPIL1 (Input output control parameter)
Report current state = Status request
$xx
Status Request
(refer to [6] for
preconditions)
SWR_DI_
OEM_0035
V1.0
$30
InputOutputControlByLocalIdentifier
BrakeControl
$30
$11
$07
$xx
Start Control
(vehicle must stand
still / no under or
over-voltage error
must be present)
SID
IOLI
BrakeControl
PARAPIL1 (Input output control parameter)
Shot term adjustment = Start control
PARAPIL2 (Input output control state)
$00 Release the parking brake
$01 Setting up for
mounting/ un-mounting
$02 Readjustment
$FF Tightening of the parking brake
$70
$11
$07
$xx
SID
IOLI
GarageBraking
STATPIL1 (Input output control parameter)
Report current state = Status request
STATPIL2 (Input output control status)
$00 Control could not be started
$01 Control in progress
$02 Control ended
$04 Problem
$11 Command processing stopped
$AA Command has been issued
Level 0
SID
IOLI
BrakeControl
STATPIL1 (Input output control parameter)
Shot term adjustment = Start control
STATPIL2 (Input output control status)
$00 Control could not be started
$01 Control in progress
$02 Control ended
$04 Problem
$11 Command processing stopped
$AA Commanhas been issued
Level 0
srs_diagnosis_epb_m139_oem.doc
15 November 2006
SiemensVDO
Automotive AG
Requ.-ID
SID
Diagnostic Service
Request Message
Response Message
$30
$11
$00
$70
$11
$00
Bosch Engineering
GmbH
Minimum
Security
Access
Level
EPB IO CONTROL
SWR_DI_
OEM_0035
V1.0
$30
InputOutputControlByLocalIdentifier
BrakeControl
SID
IOLI
BrakeControl
PARAPIL1 (Input output control parameter)
Return control to ECU = Stop control
$xx
Stop Control
(vehicle must stand
still / no under or
over-voltage error
must be present)
SWR_DI_
OEM_0036
V1.0
$30
InputOutputControlByLocalIdentifier
BrakeControl
$30
$11
$01
SID
IOLI
BrakeControl
PARAPIL1 (Input output control parameter)
Report current state = Status request
$70
$11
$01
$xx
Status Request
(vehicle must stand
still / no under or
over-voltage error
must be present)
srs_diagnosis_epb_m139_oem.doc
15 November 2006
SID
IOLI
BrakeControl
STATPIL1 (Input output control parameter)
Return control to ECU = Stop control
STATPIL2 (Input output control status)
$00 Control could not be started
$01 Control in progress
$02 Control ended
$04 Problem
$11 Command processing stopped
$AA Command has been issued
SID
IOLI
BrakeControl
STATPIL1 (Input output control parameter)
Report current state = Status request
STATPIL2 (Input output control status)
$00 Control could not be started
$01 Control in progress
$02 Control ended
$04 Problem
$11 Command processing stopped
$AA Command has been issued
Level 0
Level 0
SiemensVDO
Automotive AG
Requ.-ID
SID
Diagnostic Service
Request Message
Response Message
$30
$12
$07
$70
$12
$07
Bosch Engineering
GmbH
Minimum
Security
Access
Level
EPB IO CONTROL
SWR_DI_
OEM_0037
V1.0
$30
InputOutputControlByLocalIdentifier
Cablebedding
$xx
Start Control
(vehicle must stand
still / no under or
over-voltage error
must be present)
SWR_DI_
OEM_0037
V1.0
$30
InputOutputControlByLocalIdentifier
Cablebedding
$xx
SID
IOLI
Cablebedding
PARAPIL1 (Input output control parameter)
Shot term adjustment = Start control
PARAPIL2 (Input output control state)
$xx delay time between apply and
release command and vice versa in steps of
20 ms (range 0 ms to 5100 ms)
PARAPIL 3 (Input output control parameter)
$xx number of apply release cycles
(range 1 t0 20 cycles / 0 = 5 cycles)
$xx
$70
$12
$00
$xx
Stop Control
(vehicle must stand
still / no under or
over-voltage error
must be present)
srs_diagnosis_epb_m139_oem.doc
15 November 2006
SID
IOLI
Cablebedding
STATPIL1 (Input output control parameter)
Shot term adjustment = Start control
STATPIL2 (Input output control status)
$00 Control could not be started
$01 Control in progress
$02 Control ended
$04 Problem
$11 Command processing stopped
$AA Command has been issued
Level 0
SID
IOLI
Cablebedding
STATPIL1 (Input output control parameter)
Return control to ECU = Stop control
STATPIL2 (Input output control status)
$00 Control could not be started
$01 Control in progress
$02 Control ended
$04 Problem
$11 Command processing stopped
$AA Command has been issued
Level 0
SiemensVDO
Automotive AG
Requ.-ID
SID
Diagnostic Service
Request Message
Response Message
$30
$12
$01
$70
$12
$01
Bosch Engineering
GmbH
Minimum
Security
Access
Level
EPB IO CONTROL
SWR_DI_
OEM_0038
V1.0
$30
InputOutputControlByLocalIdentifier
Cablebedding
SID
IOLI
Cablebedding
PARAPIL1 (Input output control parameter)
Report current state = Status request
$xx
Status Request
(vehicle must stand
still / no under or
over-voltage error
must be present)
SID
IOLI
Cablebedding
STATPIL1 (Input output control parameter)
Report current state = Status request
STATPIL2 (Input output control status)
$00 Control could not be started
$01 Control in progress
$02 Control ended
$04 Problem
$11 Command processing stopped
$AA Command has been issued
Level 0
Explanation of return value STATPIL2 (brake control, cablebedding and garage braking):
$00
$01
$02
$04
$11
$AA
Apply brake
Setup for mounting
Readjustment
Release brake
apply brake to 150 daN (brake control) and PARAPIL3 daN for garage braking
set EPB in the cable mounting position (brake control only)
re-calibrate EPB by performing single apply release cycle (brake control only)
release EPB to 0 daN
srs_diagnosis_epb_m139_oem.doc
15 November 2006
SiemensVDO
Automotive AG
Bosch Engineering
GmbH
Force
force [6N] to which the EPB is applied on apply garage braking command (for ranges and default values ref. To [6])
Delay Time
time [20ms] between single apply-release and release-apply commands (no restrictions)
Cycles
number of apply to 150 daN and release to 0 daN cycles (0 = default = 5 cycles, max. = 20 cycles)
Common behavior for all three IO control services (brake control, cablebedding and garage braking):
On stop diagnostic session, test present timeout and key off detection the EPB will perform a reset
Only one of the three IO control services can be active at a time. If one service is started, then the activation of the other services will be rejected by return code
0x22 (Conditions not correct)
The services can only be started if the preconditions mentioned in the tables above are fulfilled.
The brake is always release when the service ends independent on the stop reason. This is also not valid for the brake control service, i.e. on stop of brake control
the currently active command is aborted and the actuator stays at the current position.
srs_diagnosis_epb_m139_oem.doc
15 November 2006
SiemensVDO
Automotive AG
Bosch Engineering
GmbH
IO control stop command is sent ($30 $11 $00) (no EPB reset)
IO control stop command is sent ($30 $12 $00) -> EPB is released (no EPB reset)
vehicle speed is exceeds 10 km/h -> EPB is released (no EPB reset)
default diagnostic session is closed -> EPB is released -> EPB is reset
ref. to [6] for list of garage braking exit conditions -> EPB is always released independent of exit reason -> EPB is always reset independent of exit reason
srs_diagnosis_epb_m139_oem.doc
15 November 2006
SiemensVDO
Automotive AG
SID
Diagnostic Service
Request Message
Response Message
$31
$03
$B0
$71
$03
Bosch Engineering
GmbH
Minimum
Security
Access
Level
$31
StartRoutineByLocalIdentifier
ECU Reset
srs_diagnosis_epb_m139_oem.doc
15 November 2006
SID
RLI
LogicalReset
pos. Response
RLI
Level 0
SiemensVDO
Automotive AG
Bosch Engineering
GmbH
srs_diagnosis_epb_m139_oem.doc
15 November 2006
SiemensVDO
Automotive AG
Software Requirements
Specification Diagnosis
Data Formats
7.1
Bosch Engineering
GmbH
Name
Content
#1..2
DTC
2 bytes
#3
Status of DTC
#4
Env1
INPUT_VOLTAGE_KLEMMEN_BUTTON
#5
Env2
FORCE
#6
Env3
MOTOR_SPEED
#7
Env4
ACTUATOR_STATES
#8
Env5
APPL_STATES
#9
Env6
ERROR_CAN_SIGNAL
#10
Event Counter
0..40
SYMPTOMS
INPUT_ VOLTAGE_
KLEMMEN_BUTTON
Bitpos
Environmental Byte
Bytes
0-3
DTC Symptoms
Readiness bit
0/1
0: DTC is
detectable
1: DTC is not
detectable
Stored bit
0/1
0: DTC is not
stored
1: DTC is
already
stored
0/1
0: DTC is
actual not
present
1: DTC is
actual
present
reserved
0/1
reserved
0-3
KL30_Motor_Voltage
1,6 V
KL30_Mot
4-5
Button_state
Numeric value:
Button states
Scaling
Comments
Status of
DTC
0: switch pressed
1: switch pressed and fault
2: switch released
3: switch released and fault
6
Ignition
srs_diagnosis_epb_m139_oem.doc
15 November 2006
0/1
RCD line
FORCE
MOTOR_SPEED
Bosch Engineering
GmbH
Bitpos
Environmental Byte
Software Requirements
Specification Diagnosis
Bytes
SiemensVDO
Automotive AG
Environmental Text
Scaling
Comments
Undervoltage
0/1
0: KL30_E >
8V
1: KL30_E <
7.6 V
0-3
Actual force
96 N
Actual force
4-7
Target force
96 N
Requested
force by ESP
0-2
Assignment:
0: 35 %
1: 50 %
2: 100 %
3: < 10 %
4: > 100 %
5: < 35 %
6: < 50 %
7: < 100 %
ACTUATOR_STATES
APPL_STATES
3-7
Motor Speed
400 rpm
0-12000 rpm
Unknown
0/1
Applied
0/1
Actuator
states
Released
0/1
TargetReached
0/1
DuringApply
0/1
DuringRelease
0/1
DuringCalibration
0/1
Stopped
0/1
0..2
Numeric value:
0: InitWakeUp
Internal wake
up states
1: TransitoryWakeUp
2: PartialWakeUp
3: MainWakeUpNominal
4: MainWakeUpDegraded
5: MainWakeUpIep
6: SwitchOff
7:InvalidWakeUp
3..5
ESP_Request
Numeric value:
0: no request
Request from
ESP
1: apply requested
2: release requested
7: invalid signal
6
ERROR_CAN_SIGNAL
Apply_Permission
1: V < V_Apply_Allowed
V_APPLY_A
LLOWED =
10km/h
reserved
0/1
Reserved bit
Main Wakeup
0/1
1: invalid
srs_diagnosis_epb_m139_oem.doc
15 November 2006
0: V > V Apply_Allowed
Event Counter
Total number of
context bytes
Bosch Engineering
GmbH
Bitpos
Environmental Byte
Software Requirements
Specification Diagnosis
Bytes
SiemensVDO
Automotive AG
Environmental Text
Scaling
Comments
EPB request
0/1
0: valid
Vehicle Speed
0/1
Engine rpm
0/1
0/1
0/1
0/1
0/1
Event Counter
0..40
Value
above max
0001
below min
0010
no signal
0100
invalid signal
1000
srs_diagnosis_epb_m139_oem.doc
15 November 2006