You are on page 1of 15

Transferdata 0x36 service

Poorani

Description of service(0x36)

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.

Space for Sender Information


Confidential

9/4/15
Author, Continental AG

Transferdata request message :

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.

Space for Sender Information


Confidential

9/4/15
Author, Continental AG

Positive response

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.

Space for Sender Information


Confidential

9/4/15
Author, Continental AG

Negative response

Space for Sender Information


Confidential

9/4/15
Author, Continental AG

Transfer data implementation


Step -1 : Download process

Space for Sender Information


Confidential

9/4/15
Author, Continental AG

Step-2 : Transfer data

Space for Sender Information


Confidential

9/4/15
Author, Continental AG

Step-3 : Transferexit

Space for Sender Information


Confidential

9/4/15
Author, Continental AG

KWP2000 Trace

Space for Sender Information


Confidential

9/4/15
Author, Continental AG

Trace

Space for Sender Information


Confidential

9/4/15
Author, Continental AG

10

Trace

Space for Sender Information


Confidential

9/4/15
Author, Continental AG

11

Blocksequence counter

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).

Space for Sender Information


Confidential

9/4/15
Author, Continental AG

12

UDS Trace

Space for Sender Information


Confidential

9/4/15
Author, Continental AG

13

Negative response

Space for Sender Information


Confidential

9/4/15
Author, Continental AG

14

Negative response

Space for Sender Information


Confidential

9/4/15
Author, Continental AG

15

You might also like