Date post: | 13-Dec-2015 |
Category: |
Documents |
Upload: | pooranimohan |
View: | 440 times |
Download: | 18 times |
Transferdata 0x36 servicePoorani
ConfidentialSpace for Sender Information
› The TransferData service is used by the client to transfer data either from the client to the server (download) or from the server to the client (upload).
› The data transfer direction is defined by the preceding RequestDownload or RequestUpload service.
› The Transfer Data service transmits blocks of data and checks so that the blocks are received in the right order.
› If the right block is received, then it is written to correct memory location and a positive response is sent.
Description of service(0x36)
April 18, 20232Author, © Continental AG
ConfidentialSpace for Sender Information
Transferdata request message :
April 18, 20233Author, © Continental AG
•The parameter transferRequestParameter in the transferData request message shall contain parameter(s) which are required by the server to support the transfer of data.
•For a download, the parameter transferRequestParameter could include the data to be transferred.
ConfidentialSpace for Sender Information
Positive response
April 18, 20234Author, © Continental AG
•The parameter transferResponseParameter (TREP_) in the transferData positive response message shall contain parameter(s) which are required by the client to support the transfer of data.
•For a download, the parameter transferResponseParameter is a checksum computed by the server.
ConfidentialSpace for Sender Information
Negative response
April 18, 20235Author, © Continental AG
ConfidentialSpace for Sender Information
Transfer data implementation Step -1 : Download process
April 18, 20236Author, © Continental AG
ConfidentialSpace for Sender Information
Step-2 : Transfer data
April 18, 20237Author, © Continental AG
ConfidentialSpace for Sender Information
Step-3 : Transferexit
April 18, 20238Author, © Continental AG
ConfidentialSpace for Sender Information
KWP2000 Trace
April 18, 20239Author, © Continental AG
ConfidentialSpace for Sender Information
Trace
April 18, 202310Author, © Continental AG
ConfidentialSpace for Sender Information
Trace
April 18, 202311Author, © Continental AG
ConfidentialSpace for Sender Information
› The TransferData service request includes a blockSequenceCounter to allow for an improved error handling in case a TransferData service fails during a sequence of multiple TransferData requests.
› The blockSequenceCounter of the server shall be initialized to one (1) when receiving a RequestDownload (34 hex) or RequestUpload (35 hex) request message.
› This means that the first TransferData (36 hex) request message following the RequestDownload (34 hex) or RequestUpload (35 hex) request messge starts with a blockSequenceCounter of one (1).
Blocksequence counter
April 18, 202312Author, © Continental AG
ConfidentialSpace for Sender Information
UDS Trace
April 18, 202313Author, © Continental AG
ConfidentialSpace for Sender Information
Negative response
April 18, 202314Author, © Continental AG
ConfidentialSpace for Sender Information
Negative response
April 18, 202315Author, © Continental AG