Page 1 of 1

ECU address during SvcReadDataByIdentifier

Posted: Thu 25. Jul 2019, 12:41
by KiranGS
Hello,
In my C# program,
After proper initialization of UDS, and AppMapping - Tester CANID: 0x18DA2AF1, and ECU: 0x18DAF12A
While using SvcReadDataByIdentifier(), I could able to send the request, But I receive NO_MESSAGE response.
Test.png
Test.png (122.72 KiB) Viewed 3859 times
Using PCAN-View, both request and response are OK
PCAN-View Request : 0x18DA2AF1 - 03 22 F1 86
ECU Response : 0x18DAF12A - 04 62 F1 86 01

I could see that my C# Tester sends an additional byte in the beginning of the data. and the response is Negative response.
Tester Request : 0x18DA2AF1 - 01 03 22 F1 86 55 55 55
ECU Response : 0x18DAF12A - 03 7F 03 11
test2.png
test2.png (12.53 KiB) Viewed 3859 times
Please let me know, why SvcReadDataByIdentifier() is causing this additional byte sent.
Waiting for your earliest feedback.

Thanks & Regards,
Kiran

Re: ECU address during SvcReadDataByIdentifier

Posted: Thu 25. Jul 2019, 12:44
by KiranGS
Note : If I change the ECU address to 0x2A, then the additional byte sent from my C# Tester is 2A 22 F1 86, and i get the same negative response 03 7F 03 11

Re: ECU address during SvcReadDataByIdentifier

Posted: Thu 25. Jul 2019, 13:08
by K.Wagner
Hello,

you are using an extended protocol (15765-2 29Bits Extended). Using this protocol, the first byte of the message contains N_TA. Try using normal addressing instead.

Re: ECU address during SvcReadDataByIdentifier

Posted: Thu 25. Jul 2019, 14:09
by KiranGS
Sorry, Now I tried using NORMAL diagnostics, Now it is working.