Connect function

A free API for the communication with control units based on the Universal Measurement and Calibration Protocol (XCP) by ASAM for Windows®
Post Reply
amml1994
Posts: 2
Joined: Thu 11. Oct 2018, 21:05

Connect function

Post by amml1994 » Mon 5. Nov 2018, 21:53

Hi there,

I was wondering of there was any possibility of manipulating the connect function message to change the MAX_DTO and Protocol Version. I'm currently sending the message FF 00 00 00 00 00 00 00. I've been looking at the data being sent from a program that successfully connected and it has sent FF 00 00 00 40 00 08 08. What parameters would I have to change in order to mimic the message.

Thanks in advance!

K.Wagner
Software Development
Software Development
Posts: 732
Joined: Wed 22. Sep 2010, 13:36

Re: Connect function

Post by K.Wagner » Tue 6. Nov 2018, 13:24

Hello,

You are comparing a master request and a slave response. The request has two bytes of information while the response has 8. Please refer to the XCP documentation from ASAM for more information.
Best regards,
Keneth

amml1994
Posts: 2
Joined: Thu 11. Oct 2018, 21:05

Re: Connect function

Post by amml1994 » Tue 6. Nov 2018, 22:17

Ok great. It's on the XCP Protocol Part 2. I've been analyzing the signals being sent using PCAN-View and there doesn't seem to be any TX messages. I'm only seeing the RX message attached when I press Connect Slave
Attachments
PCAN-View.png
PCAN-View.png (2.89 KiB) Viewed 1006 times

K.Wagner
Software Development
Software Development
Posts: 732
Joined: Wed 22. Sep 2010, 13:36

Re: Connect function

Post by K.Wagner » Wed 7. Nov 2018, 08:30

Hello,

note that in your case PCAN-View is a "listener node" (it is not sending the requests), so for it all messages are Rx!
Best regards,
Keneth

Post Reply