-
Notifications
You must be signed in to change notification settings - Fork 150
implement-uds - CAN11 CAN29 #21
Comments
Can you explain how these work? I do not understand how the SA and TA end up forming the addresses. |
Do you have the standart ISO_15765-4 ? Page 11,12,13 there is the explainations. With CAN, there is no adresses, just an ID that can represent a function, an adresse or what either you like. There is two types of ID : 11 bits and 29 bits ISOTP network provide three fields :
There is some TA and SA values reserved :
Then, if CAN use 29 bits ID, all messages ID are encoded like this : if CAN use 11 bits ID, all messages ID are encoded like this : Is it clearer now ? |
So, pyvit is not compatible with UDS/ISOTP? |
In order to be compatible with 11bits CAN ids and 29bits CAN ids, UDS an ISOTP Network do not use CAN ids (0x7E0, 0x7DF , ..). for address field.
ISOTP Network and UDS use SA (source address) and TA (target adress) as follow :
And isotp make the correspondance with CAN id as follow,
For CAN11 :
For CAN29 :
Is it possible to add this address abstraction into this API ? Then the user could use TA and SA regardless the CAN 11 / CAN 29 implementation ?
The text was updated successfully, but these errors were encountered: