How to use the Samples from PCAN UDS API?
Posted: Thu 5. Sep 2024, 10:30
Hello,
I am a very beginner with using Peak USB FD device and using PEAK API's. I have a project that I am currently working on and want to test if my ECU is receiving any message by sending a UDS message from my PC using PCAN-UDS-API.
So I just want to confirm if the steps I am following are correct:
1. Download the PCAN-UDS API from the website and extract all the files.
2. Import the sample folder into Visual Studio Code.
3. Select the appropriate device and baud rate in one of the project (Eg. server_response_ecu_reset.cpp).
4. Run the Program by just pressing on the run button in VSCode.
This should send UDS messages to my CAN via PEAK USB FD device right ? In case, I want to verify, I can connect the output of High and Low to a Logic Analyzer and verify it. Am I missing any step ?
I went through the UDS manual, but there is no mention about samples provided. I am sure my hardware is working fine, because I am able to send and receive the basic CAN messages using the inbuilt drivers of the ECU and read them in PCAN-View.
I am a very beginner with using Peak USB FD device and using PEAK API's. I have a project that I am currently working on and want to test if my ECU is receiving any message by sending a UDS message from my PC using PCAN-UDS-API.
So I just want to confirm if the steps I am following are correct:
1. Download the PCAN-UDS API from the website and extract all the files.
2. Import the sample folder into Visual Studio Code.
3. Select the appropriate device and baud rate in one of the project (Eg. server_response_ecu_reset.cpp).
4. Run the Program by just pressing on the run button in VSCode.
This should send UDS messages to my CAN via PEAK USB FD device right ? In case, I want to verify, I can connect the output of High and Low to a Logic Analyzer and verify it. Am I missing any step ?
I went through the UDS manual, but there is no mention about samples provided. I am sure my hardware is working fine, because I am able to send and receive the basic CAN messages using the inbuilt drivers of the ECU and read them in PCAN-View.