Search found 10 matches

by vddvss
Wed 9. Feb 2022, 15:06
Forum: PCAN-UDS
Topic: Sending CAN FD frame error using UDSApi.SvcWriteDataByIdentifier_2013
Replies: 2
Views: 2594

Re: Sending CAN FD frame error using UDSApi.SvcWriteDataByIdentifier_2013

Hello Fabrice,

Thank you very much for the fast response!
Your suggestion helped a lot, and it works now as expected! I've had the feeling that I am only missing the solution by a little, however I did not see the full picture.

Thank you for your help,
Best Regards:
Balazs
by vddvss
Wed 9. Feb 2022, 12:21
Forum: PCAN-UDS
Topic: Sending CAN FD frame error using UDSApi.SvcWriteDataByIdentifier_2013
Replies: 2
Views: 2594

Sending CAN FD frame error using UDSApi.SvcWriteDataByIdentifier_2013

Hi,

I am writing a wrapper DLL in C# for UDS services. One of the services which I plan to use is the "Write Data by Identifier" service. I need to use CAN FD protocol, with varying length of data to be written to certain ID-s. If I have no more than 64 data bytes to be sent, then I would like to ...
by vddvss
Tue 18. Jun 2019, 12:15
Forum: PCAN-UDS
Topic: Source Adress / Target Adress
Replies: 16
Views: 52222

Re: Source Adress / Target Adress

Hello Fabrice,

Yes, indeed, you were right, there was a mistake on my side. In fact I do not need to use the WDBI service, I just need to send the message as the data bytes listed.

If my understanding is correct, I could just use "UDS_Write" from UDS level, or "PCANBasic.Write" directly on PCAN ...
by vddvss
Tue 18. Jun 2019, 11:13
Forum: PCAN-UDS
Topic: Source Adress / Target Adress
Replies: 16
Views: 52222

Re: Source Adress / Target Adress

Hello Fabrice,

I have a similar situation, where I need to send a CAN frame with a 29 bit CAN ID of 0x18EF70C9, in an UDS service: Write Data By Identifier. with data content of: (0x54, 0x05, 0xFF, 0xFF, 0xFF, 0xFF, 0x42 0x00)

What I did in C# so far was:

Created a request structure:

TPUDSMsg ...
by vddvss
Thu 13. Jun 2019, 10:29
Forum: PCAN-UDS
Topic: UDSApi.Initialize too much time?
Replies: 19
Views: 161878

Re: UDSApi.Initialize too much time?

Hello Keneth,

I can confirm, that the 32bit version of the RC of the fixed version of the PCAN-UDS DLL has the Write Data By Identifier service bug removed. The 64bit version I am currently unable to test myself.
I am still in the process of confirming if the "Init time delay" problem also ...
by vddvss
Thu 13. Jun 2019, 08:33
Forum: PCAN-UDS
Topic: UDSApi.Initialize too much time?
Replies: 19
Views: 161878

Re: UDSApi.Initialize too much time?

Hello Keneth,

Thank you for looking into and fixing it!
I will definitely write to the support channel about the RC version to try.
What do you think, when can we check for a release version that has this fix in it?

Thank you and Best Regards:
Balazs
by vddvss
Wed 12. Jun 2019, 15:54
Forum: PCAN-UDS
Topic: UDSApi.Initialize too much time?
Replies: 19
Views: 161878

Re: UDSApi.Initialize too much time?

Hello Keneth,

Here are the details:

Downloaded PEAK-System_Driver-Setup.zip on the 3rd of June, 2019. Contained the file: PeakOemDrv.exe with file date of 6th of February, 2019. This installed the PCANBasic.dll in C:\Windows\System32\ with version: 4.3.2.161

I have downloaded on the same day (3rd ...
by vddvss
Wed 12. Jun 2019, 14:48
Forum: PCAN-UDS
Topic: UDSApi.Initialize too much time?
Replies: 19
Views: 161878

Re: UDSApi.Initialize too much time?

Hello Keneth,

Thank you again for the quick reply.

I went and copied the "old" version (Version: 1.2.1.18) of PCAN-UDS.dll next to my wrapper DLL.
I have left my wrapper code unchanged.
Now the wire capture of the 0x2E is correct (with known working DID of 0xF198):
10 09 2E F1 98 00 00 00

I have ...
by vddvss
Wed 12. Jun 2019, 12:33
Forum: PCAN-UDS
Topic: UDSApi.Initialize too much time?
Replies: 19
Views: 161878

Re: UDSApi.Initialize too much time?

Hello Keneth,

Thank you for the quick reply!

I am a little bit afraid to just updating each API to the latest version.

I have developed my wrapper DLL in "waves", meaning I have done some work last year, and since 9 months, nothing. In another project I have started to develop a new branch of my ...
by vddvss
Wed 12. Jun 2019, 10:42
Forum: PCAN-UDS
Topic: UDSApi.Initialize too much time?
Replies: 19
Views: 161878

Re: UDSApi.Initialize too much time?

Hi,

My name is Balazs Bornyasz, I am implementing test systems using PEAK CAN products for products featuring CAN interfaces.
I have almost the exact same problem on my system.

Details:
CAN HW:
PCAN-PCI Express FD (4 Channels) Firmware 3.2.1

Driver: Pcan_pci.sys Version: 4.1.4.16279

APIs ...