LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Vector XL Driver - Support for XCP

Hi,

 

Does the driver available here : https://forums.ni.com/t5/Example-Code/Vector-XL-Driver-LabVIEW-wrappers/ta-p/3524976/page/3/show-com...

support XCP over CAN FD with the Vector HW ?

 

The idea would be to use VX1161.41A CAN boards inside a VIO9012 63TE housing.

CLA, CTA, LV Champion
View Cyril Gambini's profile on LinkedIn
This post is made under CC BY 4.0 DEED licensing
0 Kudos
Message 1 of 3
(785 Views)

FWIW (18 months later)...

  • the XL Driver Library does support VX1161.41 according to the documentation
  • Hooovahh's Vector XL LV2020 v4 Hooovahh Edit FD and 64 Bit should give you CAN-FD
  • ...support XCP... you might be on your own to implement this bit

NI has the ECU Measurement and Calibration Toolkit for XCP but it only works on NI hardware.

Troy - CLD "If a hammer is the only tool you have, everything starts to look like a nail." ~ Maslow/Kaplan - Law of the instrument
0 Kudos
Message 2 of 3
(60 Views)

I have worked on an open source XCP implementation.  It is fairly straight forward to look at the CAN communication, then make VI wrappers for doing various things.  The problem I ran into was that to do anything useful you generally need to have the A2L file, and a robust parser.  NI's parser is not what I would call robust, and me doing it myself would likely result in an even worst experience.  I could release an XCP communication API that relies on providing all the same information that the A2L would, but it wouldn't be very user friendly. On top of that there is the added complication of unlocking the ECU.  This can be somewhat complicated.  I have some preliminary stuff done but I feel like it is probably pretty specific to my application. 

 

PDFs of the Protocol Layer, and Transport Layer specifications can be found online. Other supporting documents from Eaton, and Vector are helpful too.  UDS was quite simple in comparison.  Just one main core state machine with different ways of calling it.

Message 3 of 3
(39 Views)