Search found 147 matches

by F.Vergnaud
Thu 6. May 2021, 14:57
Forum: PCAN-UDS
Topic: SERVICE TX ERROR
Replies: 5
Views: 90

Re: SERVICE TX ERROR

In fact there is something wrong with the mapping list you are outputting... Starting from mappings[1] data seems corrupted.
It seems to be a problem with mingw, I'll let you know if I can confirm this.
by F.Vergnaud
Thu 6. May 2021, 10:03
Forum: PCAN-UDS
Topic: 'System.DllNotFoundException' in PcanUdsExample.exe
Replies: 2
Views: 28

Re: 'System.DllNotFoundException' in PcanUdsExample.exe

Hello,

PCAN-UDS requires PCAN-ISO-TP and PCAN-Basic dlls. As it is not listed in your screenshots, this may be the reason why the loading of PCAN-UDS dll fails.
by F.Vergnaud
Wed 5. May 2021, 17:14
Forum: PCAN-UDS
Topic: SERVICE TX ERROR
Replies: 5
Views: 90

Re: SERVICE TX ERROR

Hello ValeV, I think there is something wrong with your UDS_removeMappings (there are too many calls to UDS_GetMappings_2013 and you use a fixed index 0 instead of your loop variable when calling UDS_RemoveMapping_2013). Here is a proposition: uds_status UDS_removeMappings(UDS_t* this) { uds_mapping...
by F.Vergnaud
Wed 21. Apr 2021, 16:22
Forum: PCAN-UDS
Topic: Undefined reference to UDS functions
Replies: 2
Views: 73

Re: Undefined reference to UDS functions

Hello Valev, This is a bit out of scope of our support as you have an issue with the configuration of your IDE/compiler but I would advise to double check your include path, library path and compiler command line. Based on your #include (which are a bit messy), you have the following structure: UDS ...
by F.Vergnaud
Tue 30. Mar 2021, 15:08
Forum: PCAN-PassThru API
Topic: BUG: J2534 API does not set ISO15765_ADDR_TYPE on reception
Replies: 7
Views: 275

Re: BUG: J2534 API does not set ISO15765_ADDR_TYPE on reception

Hello,

We will have an internal release candidate in two weeks, it will include support to PassThru 04.04 and 05.00.
The official release should follow quickly. We will update this thread to let you know.
by F.Vergnaud
Thu 25. Mar 2021, 09:20
Forum: PCAN-ISO TP
Topic: Issues with PEAK-ISO-API v3.1.1.227 with CAN-FD
Replies: 9
Views: 303

Re: Issues with PEAK-ISO-API v3.1.1.227 with CAN-FD

Hello David,

The field in cantp_mapping is can_tx_dlc: the value must be a valid DLC (and not a length), so you should change your value from 64 to 0x0F.
by F.Vergnaud
Wed 24. Mar 2021, 14:36
Forum: PCAN-ISO TP
Topic: Issues with PEAK-ISO-API v3.1.1.227 with CAN-FD
Replies: 9
Views: 303

Re: Issues with PEAK-ISO-API v3.1.1.227 with CAN-FD

Hello David, In your application, can you globally enable debug message by calling function CANTP_SetValue_2016 with PCANTP_PARAMETER_DEBUG before any initialization? Here is a C++ sample: uint8_t buf; // set debug mode buf = PCANTP_VALUE_PARAMETER_ON; sts = CANTP_SetValue_2016(PCANTP_HANDLE_NONEBUS...
by F.Vergnaud
Wed 17. Mar 2021, 10:39
Forum: PCAN-PassThru API
Topic: BUG: J2534 API does not set ISO15765_ADDR_TYPE on reception
Replies: 7
Views: 275

Re: BUG: J2534 API does not set ISO15765_ADDR_TYPE on reception

Hello, I was merely suggesting beta to speed up testing and validate the fix on your side, no worries. Something happens to the PCAN J2534 DLL where even if I clear it and reset everything, I do not get any data back anymore from the J2534 DLL until I power cycle the interface. While in this state, ...
by F.Vergnaud
Tue 16. Mar 2021, 16:46
Forum: PCAN-PassThru API
Topic: BUG: J2534 API does not set ISO15765_ADDR_TYPE on reception
Replies: 7
Views: 275

Re: BUG: J2534 API does not set ISO15765_ADDR_TYPE on reception

Hello, Thank you for your feedback, we have indeed internally reported and already fixed an issue related to a missing flag ISO15765_ADDR_TYPE for Rx messages. It will be included in the next release, you can contact support [at] peak-system.com if you'd like to subscribe to beta testing. We are in ...
by F.Vergnaud
Wed 24. Feb 2021, 13:23
Forum: PCAN-UDS
Topic: Problem with sending Diag session control using CAN FD
Replies: 8
Views: 404

Re: Problem with sending Diag session control using CAN FD

Glad to hear that! For completeness and as knowledge base, here is an example of how one could send a UDS request with a 64 bytes single CAN FD frame (using UUDT): // Initialize channel const String BITRATE = "f_clock_mhz=80, nom_brp=1, nom_tseg1=127, nom_tseg2=32, nom_sjw=32, data_brp=2, data_tseg1...