Torque

Forums

Forums

Guest  

Show or hide header
Welcome Guest, posting in this forum require registration.




Torque » Torque OBD ECU Scanner » Torque Discussion / Ideas » Wrong assignment of letters to data bytes?

Pages: 1 [2]
Author Topic: Wrong assignment of letters to data bytes?
anko
Member
Posts: 143
Post Re: Wrong assignment of letters to data bytes?
on: May 29, 2016 (GMT)

Thanks for trying that out. It seems an issue indeed. I guess Ian should have a look at this.

Did you have “93 94” somewhere in your response? Because that could explain where the 37.78 comes from and confirm “wrong letter assignment”.

cintakc
Member
Posts: 1661
Post Re: Wrong assignment of letters to data bytes?
on: May 29, 2016 (GMT)

I will try to see

cintakc
Member
Posts: 1661
Post Re: Wrong assignment of letters to data bytes?
on: May 29, 2016 (GMT)

here is the answer in the emulator

31 02 42
61 02 0F A6 0F A5 0F A5 0F A5 0F A6 0F A5 0F A6 0F A5 FF FE FE FE FE OF A5 OF A3 0F A5 0F A3 0F A5 0F A3 0F A5 FF FE FF FE FF FE FF FE 11 22 11 22 11 22 11 22 11 22 11 22 11 22 11 22 11 22 11 22 11 22 11 22 11 22 11 22 11 22 11 22 11 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
     
anko
Member
Posts: 143
Post Re: Wrong assignment of letters to data bytes?
on: May 29, 2016 (GMT)

Nice.

If I understand correctly, you tested for bytes I and J, which are the 5th and 6th data bytes of the 2nd frame.

If I am not mistaken, DR and DS are the 5th and 6th frame of the 18th frame. The 2nd and 18th frame of a response have the same frame number.

This seems to back up my theory that early frames are overwritten with later frames in the same response that have the same frame number.

cintakc
Member
Posts: 1661
Post Re: Wrong assignment of letters to data bytes?
on: May 29, 2016 (GMT)

probably so
You may need to use flow control, which specifies the number of frames
although probably not need no flow control
maybe if flow control is not enabled, the default setting of 16 frames
you need to check out the theory

anko
Member
Posts: 143
Post Re: Wrong assignment of letters to data bytes?
on: May 30, 2016 (GMT)

I think with “AT FC SD” I can specify how many frames are sent by the ecu BETWEEN two flow control messages from the adapter, but not the total number of frames sent for the entire response.

And even if I could restrict the total number of frames, I would still need to get the full response somehow. I think that, if it cannot be solved within TP, the only solution is to handle this particular request in my proxy software in a special way:

Request the PID from the adapter and cut up the response in three smaller responses which are made available to TP as 2103, 2104 and 2105 or something like that.

Obviously, this is not something I would like to do … 😉

cintakc
Member
Posts: 1661
Post Re: Wrong assignment of letters to data bytes?
on: May 30, 2016 (GMT)

good luck

Pages: 1 [2]
WP-Forum by: Fredrik Fahlstad, Version: 2.4
Page loaded in: 0.024 seconds.

  Follow me on twitter