Search found 8 matches

by MaxenceD
Tue 24. Mar 2020, 14:40
Forum: PCAN-UDS
Topic: Root cause PUDS_ERROR_CAN_ERROR
Replies: 3
Views: 689

Re: Root cause PUDS_ERROR_CAN_ERROR

Hello Fabrice,
indeed, I was checking for the return value as well as UDS response, but not for the RESULT field.
by MaxenceD
Tue 24. Mar 2020, 10:15
Forum: PCAN-UDS
Topic: Root cause PUDS_ERROR_CAN_ERROR
Replies: 3
Views: 689

Root cause PUDS_ERROR_CAN_ERROR

Hello, During UDS communication I sometime get an error TPUDSStatus PUDS_ERROR_CAN_ERROR (0x80000000) (return value of WaitForService). According to the documentation the CAN Basic error code should be ORed with the TPUDSStatus, but all I get is 0x80000000 (no other flags set). Is the root cause for...
by MaxenceD
Fri 20. Mar 2020, 11:45
Forum: PCAN-UDS
Topic: PUDS_PARAM_SEPARATION_TIME
Replies: 1
Views: 633

PUDS_PARAM_SEPARATION_TIME

Hello, The UDS API documentation reads: Description: This value is used to set the SeparationTime (STmin) parameter defined in the ISO‐TP standard: it indicates the minimum time the sender is to wait between the transmissions of two Consecutive Frames. Possible Values: 0x00 (unlimited) to 0x7F (rang...
by MaxenceD
Wed 19. Feb 2020, 09:56
Forum: PCAN-UDS
Topic: DEBUG_CAN seems not to work
Replies: 3
Views: 646

Re: DEBUG_CAN seems not to work

Hello,
Indeed, the file is there. Again, thanks for the quick support !
by MaxenceD
Tue 18. Feb 2020, 17:23
Forum: PCAN-UDS
Topic: DEBUG_CAN seems not to work
Replies: 3
Views: 646

DEBUG_CAN seems not to work

Hello, I'm trying to use the parameter PUDS_DEBUG_CAN to trace CAN messages to the STDOUT, however I don't see anything written there from the UDS API. quint8 ulBuffer = PUDS_DEBUG_CAN; fprintf(stdout,"Setting PUDS_DEBUG_CAN to %d\n",ulBuffer); status = uds->_UDS_SetValue(PUDS_USBBUS1, PUDS_PARAM_DE...
by MaxenceD
Tue 18. Feb 2020, 12:16
Forum: PCAN-Basic
Topic: Listen-only mode when using UDS API
Replies: 1
Views: 2367

Listen-only mode when using UDS API

Hello, I'm using the PCAN UDS successfully. Now I'm trying to additionally add a PCanBasic channel in listen-only mode to watch the actual CAN traffic on the bus. However I am unable to initialize the PCanBasic channel after initializing the channel in the UDS API. I think it should be somehow be po...
by MaxenceD
Fri 14. Feb 2020, 12:12
Forum: PCAN-UDS
Topic: Usage of TesterPresent
Replies: 2
Views: 595

Re: Usage of TesterPresent

Hi F.Vergnaud,
Thanks for the quick answer. I was hoping to squeeze some functionalities out of TesterPresent without having to write them myself, however it seems it's not going to work.
I'll disable it according to other messages in this forum and implement my own solution.
Thanks!
by MaxenceD
Fri 14. Feb 2020, 11:47
Forum: PCAN-UDS
Topic: Usage of TesterPresent
Replies: 2
Views: 595

Usage of TesterPresent

Hi, Two questions concerning the TesterPresent message sent automatically in some sessions: 1. The message sent is "3E 80" i.e. with "suppress positive response message" flag set if I understood the documentation correctly. How to setup the UDA API so that "3E 00" is sent instead? 2. What is the cor...