Hello,
I would like to use UDS_SvcTesterPresent_2013 to get a count of all connected ECUs to the network and their addresses. My idea was to use functional addressing and read the responses with UDS_WaitForServiceFunctional_2013.
However it seems that no responses are read, but on PCAN-Explorer I ...
Search found 9 matches
- Mon 17. Apr 2023, 14:36
- Forum: PCAN-UDS
- Topic: WaitForServiceFunctional question
- Replies: 1
- Views: 1582
- Thu 23. Mar 2023, 17:24
- Forum: PCAN-ISO TP
- Topic: First byte is lost when it's 0x11?
- Replies: 1
- Views: 2147
First byte is lost when it's 0x11?
I am trying to read a non ISO-TP frame with CANTP_Read_2016.
When the first byte is 0x11 that byte is lost when reading.
A normal frame could look something like "44 0 0 0 11 0 C0 C3" where the first byte represents a status of the connected device which could be anything from 0x00 to 0x44. But if ...
When the first byte is 0x11 that byte is lost when reading.
A normal frame could look something like "44 0 0 0 11 0 C0 C3" where the first byte represents a status of the connected device which could be anything from 0x00 to 0x44. But if ...
- Tue 21. Mar 2023, 09:01
- Forum: PCAN-UDS
- Topic: How to specify transmit CAN-ID?
- Replies: 3
- Views: 2760
Re: How to specify transmit CAN-ID?
Thank you! After setting PUDS_PARAMETER_J1939_PRIORITY it works as intended!
Much easier than working with the mapping
Much easier than working with the mapping

- Mon 20. Mar 2023, 16:50
- Forum: PCAN-UDS
- Topic: How to specify transmit CAN-ID?
- Replies: 3
- Views: 2760
Re: How to specify transmit CAN-ID?
I noticed that with UDS_MsgAlloc_2013 the can_id in the uds_msg is set according to the ID from the config. But when used with UDS_Write_2013 it gets swapped to the the wrong ID from the last map.
- Mon 20. Mar 2023, 15:01
- Forum: PCAN-UDS
- Topic: How to specify transmit CAN-ID?
- Replies: 3
- Views: 2760
How to specify transmit CAN-ID?
I'm trying to send a UDS request with a specific ID, but I am unable to figure out how I should achieve this.
The ECU I am trying to communicate with can have an address from 1 through 9.
So I set up the UDS mapping for these IDs. In the current situation I know the ECU will have address 4, so I ...
The ECU I am trying to communicate with can have an address from 1 through 9.
So I set up the UDS mapping for these IDs. In the current situation I know the ECU will have address 4, so I ...
- Wed 15. Mar 2023, 09:08
- Forum: PCAN-ISO TP
- Topic: PDB file not loaded
- Replies: 4
- Views: 4151
Re: PDB file not loaded
Thanks for the response, the attached project does indeed work, as well as when I copy functions from the example, I shall just ignore the supplied examples. Thanks again.
- Tue 14. Mar 2023, 12:28
- Forum: PCAN-ISO TP
- Topic: PDB file not loaded
- Replies: 4
- Views: 4151
Re: PDB file not loaded
Trying to find the culprit, line 160 in 'client_uds_and_can.cpp'
> status = UDS_GetValue_2013(PCANTP_HANDLE_NONEBUS, PUDS_PARAMETER_API_VERSION, buffer, BUFFER_SIZE);
causes an exception, as well as the other functions below it (UDS_Initialize_2013, CreateThread)
> status = UDS_GetValue_2013(PCANTP_HANDLE_NONEBUS, PUDS_PARAMETER_API_VERSION, buffer, BUFFER_SIZE);
causes an exception, as well as the other functions below it (UDS_Initialize_2013, CreateThread)
- Tue 14. Mar 2023, 11:57
- Forum: PCAN-ISO TP
- Topic: PDB file not loaded
- Replies: 4
- Views: 4151
Re: PDB file not loaded
It seems to actually throw an exception which wants to access PCAN-ISO-TP
Unhandled exception at 0x00007FFC6FBBCD29 in 14_client_uds_and_can.exe: Microsoft C++ exception: std::runtime_error at memory location 0x00000064210FECF0. occurred
Unmodified example from the UDS API.
Unhandled exception at 0x00007FFC6FBBCD29 in 14_client_uds_and_can.exe: Microsoft C++ exception: std::runtime_error at memory location 0x00000064210FECF0. occurred
Unmodified example from the UDS API.
- Tue 14. Mar 2023, 09:51
- Forum: PCAN-ISO TP
- Topic: PDB file not loaded
- Replies: 4
- Views: 4151
PDB file not loaded
Hello,
I am trying to incorporate the PCAN UDS library in my c++ project with Visual Studio 2017 but running against an issue.
I've downloaded the PCAN-UDS API & PCAN-ISO-TP API. The DLL files are in the executable folder and the LIB files are linked in the project settings under "Configuration ...
I am trying to incorporate the PCAN UDS library in my c++ project with Visual Studio 2017 but running against an issue.
I've downloaded the PCAN-UDS API & PCAN-ISO-TP API. The DLL files are in the executable folder and the LIB files are linked in the project settings under "Configuration ...