Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

XCP and UDS on same CAN interface

Hello, I need to runt XCP measaurements in parallel to UDS communication with ECU on the same interface. I'm using ECUMC and Automotive Diagnostics toolkits for this. Both XCP and UDS communication settings are the same, they use same (custom) baud rate. However, I can't make them both run in parallel, as in example below:

PiDi_0-1699023466735.png

The Open Diagnostics VI returns the error -8001 Automotive Diagnostic Command Set: The selected CAN interface is already active using different settings.

 

Does anyone know how to make those two protocols run on the same interface?

0 Kudos
Message 1 of 5
(1,967 Views)

Try using Open Diagnostic on CAN FD.vi instead. 

Reference: How to Use CAN FD With Automotive Diagnostic Command Set and Configure Bit Timings Using Custom Baud...

-------------------------------------------------------
Control Lead | Intelline Inc
0 Kudos
Message 2 of 5
(1,961 Views)

Yes, that's what I'm using, sorry for not being precise enough. I can run only XCP or only UDS just fine. The problem is when I try to run both in parallel.

PiDi_0-1699046070085.png

 

0 Kudos
Message 3 of 5
(1,928 Views)

What if you change the I/O Mode to CAN FD + BRS for both sessions?

-------------------------------------------------------
Control Lead | Intelline Inc
0 Kudos
Message 4 of 5
(1,917 Views)

It's not working at all with BRS, I think ECU does not support it.

0 Kudos
Message 5 of 5
(1,861 Views)