Error -301096 Using the ECU Measurement and Calibration Toolkit

Updated Nov 7, 2023

Reported In

Software

  • ECU Measurement and Calibration Toolkit

Driver

  • NI-XNET

Issue Details

When using the ECU Measurement and Calibration (ECUMC) toolkit with an ECU, I receive the following timeout error.
ECU Measurement and Calibration Toolkit: CCP/XCP error: A timeout occurred while waiting for a response from a slave device. 


image.png

No timeout error occurs when communicating with the ECU using third-party software.

Solution

The timeout error may have occurred due to a mismatch between the sample points of the ECU and the NI hardware. NI hardware uses a 40MHz clock rate. The parameters TSEG1, TSEG2, and SJW may need to be adjusted in order to create the same sampling point values. To adjust the parameters on your hardware follow the instructions discussed in the Incorrect/Unexpected Behaviour or Slow CAN Frames When Using NI-XNET in CAN FD & BRS article.