I am just starting out with your APIs. I am unable to send a connection request using your sample project successfully (PCAN-XCP). My ECU uses 29 bit ID at 250kBaud. The standard connection is 11 bit ID, and I do not see an explicit method of selecting the correct parameters. I see that the FD connection is via 29 bit. However, when I click "Initialize Communication" with FD clicked the error code "The given handle is invalid". This is straight from an unzipped download. I did have to make the dll viewable to the project.
Is there a source for documentation using the XCP API? The zip file only included software projects, no help or documentation really. Thanks!
from where you have downloaded that package? Our PCAN-XCP package comes together with documentation (PXCP_enu.chm file), that explains the way how the API work, the different functions and their parameters and return values, as plane function (C++) as well as managed methods (.NET C#).
For instance, there is explained how to use CAN-IDs with 29-bits
As you see, all the information needed is there. Please check the documentation. If you don't have this, then download again from our download page.
NOTE: PCAN-XCP offers a function per XCP command. If you have XCP protocol specific question like "how do I calibrate an ECU" or "which commands I need to use to do ...", please refer to ASAM XCP official documentation or any other forum, since we do not offer support on this. Thanks for your understanding.
Thank you for your help. I figured out my issue. I had the .chm file stored on a server. Windows blocked the content from me. Once I viewed this from a local file it worked. Having this documentation will make my life much easier.
- Capture.PNG (35.57 KiB) Viewed 667 times