Search found 8 matches

by Just4242
Wed 20. Sep 2023, 01:42
Forum: PCAN-UDS
Topic: Accessing LIN UDS Device behind Gateway
Replies: 1
Views: 1755

Accessing LIN UDS Device behind Gateway

Dear Sirs,

I am trying to use the Peak UDS driver to talk to a UDS LIN device behind a CAN-LIN bridge and I am confused on how to configure the PC driver. The LIN UDS ISO_15765 packet will have a NAD address as the first byte followed by the PCI in every 8-byte packet which is different than a ...
by Just4242
Mon 22. Mar 2021, 23:04
Forum: PCAN-ISO TP
Topic: Issues with PEAK-ISO-API v3.1.1.227 with CAN-FD
Replies: 9
Views: 6317

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

The device driver version is
PCAN_USB 4.2.1.16433
(KMDF 1.9, x64, Desktop)
Copyright (C) 1995-2020 by
PEAK-System Technik GmbH, Darmstadt

We are not using the PCANBasic API. We are just using the PCAN-ISO TP API interface.
by Just4242
Sun 15. Nov 2020, 18:29
Forum: PCAN-ISO TP
Topic: Follow Up to "Sending Basic Packet with Flow Control"
Replies: 6
Views: 6495

Re: Follow Up to "Sending Basic Packet with Flow Control"

The question I have is when will I get the LOOPBACK type of RX Events? After each Frame? Or just on the completion of the entire transfer? Now that I have the basics working I am trying to clean up my higher level SW architecture which is pretty basic right now.
by Just4242
Fri 13. Nov 2020, 21:50
Forum: PCAN-ISO TP
Topic: Follow Up to "Sending Basic Packet with Flow Control"
Replies: 6
Views: 6495

Re: Follow Up to "Sending Basic Packet with Flow Control"

I think I may have this working now. Since I am new to this I did not understand the details of the spec or SW, did not understand I will always get this confirmation request after sending a command that needs to be cleared before I can read the response from the device I just queried with the ...
by Just4242
Thu 12. Nov 2020, 02:17
Forum: PCAN-ISO TP
Topic: Follow Up to "Sending Basic Packet with Flow Control"
Replies: 6
Views: 6495

Re: Follow Up to "Sending Basic Packet with Flow Control"

After debugging, this also seems to have something to do with the event's always returning true after the first transmission. After that the call "WaitForSingleObject(receive_event, 1000);" always returns true.
by Just4242
Wed 11. Nov 2020, 23:18
Forum: PCAN-ISO TP
Topic: Follow Up to "Sending Basic Packet with Flow Control"
Replies: 6
Views: 6495

Follow Up to "Sending Basic Packet with Flow Control"

I have a follow-up to Sending Basic Packet with Flow Control (https://forum.peak-system.com/viewtopic.php?f=181&t=6230).

I have been trying to actually test out my HW with this and I am running in to an issue that I did not notice before since I was not testing for it.

In my system I have an CAN ...
by Just4242
Tue 10. Nov 2020, 00:39
Forum: PCAN-ISO TP
Topic: Sending Basic Packet with Flow Control
Replies: 4
Views: 4596

Re: Sending Basic Packet with Flow Control

Thank you very much. I was able to get my first messages to go through with these changes.
by Just4242
Wed 4. Nov 2020, 23:01
Forum: PCAN-ISO TP
Topic: Sending Basic Packet with Flow Control
Replies: 4
Views: 4596

Sending Basic Packet with Flow Control

I am trying to modify the example 02_client_ISO15765-2_normal_addressing to send a string of 8 bytes or longer. So I have the MSG to "PEAK1234" and the MSG_SIZE to 8. I also added a call to CANTP_SetValue_2016 to set the timing. On the bus I can see the data below and the first packet looks ok, I ...