Search found 357 matches

by S.Grosjean
Mon 26. May 2025, 14:16
Forum: PCAN-miniPCIe
Topic: Errors when using PCI drivers
Replies: 6
Views: 1723

Re: Errors when using PCI drivers

Hello,

Ok, thank you for your answer. v1.3.0 is the official release.

Now let's start from the beginning please:
What kind of "PEAK USB" device are you talking about? Can you give us its part number (IPEH-00xxxx)?
Can you give us the "ip link set" command you use to set the canX channel UP ...
by S.Grosjean
Fri 23. May 2025, 09:31
Forum: PCAN-miniPCIe
Topic: Errors when using PCI drivers
Replies: 6
Views: 1723

Re: Errors when using PCI drivers

Hi,

Can you give us the firmware version that runs into the PCAN-minPCIe please? You should be able to get it with:

Code: Select all

$ sudo dmesg | grep peak
or

Code: Select all

$ sudo dmesg | grep pcan
according to the driver you run.

Regards,
by S.Grosjean
Wed 21. May 2025, 14:07
Forum: PCAN-Ethernet Gateway DR
Topic: Is it possible to log echo frames with PCAN-Ethernet Gateway DR?
Replies: 3
Views: 1172

Re: Is it possible to log echo frames with PCAN-Ethernet Gateway DR?

Hi,

As you said, by using PCAN-Basic, or as written in https://www.peak-system.com/produktcd/P ... on_eng.pdf in page 19 as well as in page 23.

Best regards,
by S.Grosjean
Tue 20. May 2025, 16:53
Forum: PCAN-Ethernet Gateway DR
Topic: Is it possible to log echo frames with PCAN-Ethernet Gateway DR?
Replies: 3
Views: 1172

Re: Is it possible to log echo frames with PCAN-Ethernet Gateway DR?

Hello,

Yes, echoing a *written* frame on CAN is possible but only with the PCAN-Ethernet Gateway FD.

The PCAN-Ethernet Gateway CAN 2.0 version you have can only do something like an internal loopback (the frame is copied into the controller Rx fifo only, but is not written on the wire).

Best ...
by S.Grosjean
Wed 19. Mar 2025, 14:14
Forum: Linux
Topic: Hardware Timestamps in Wireshark with SocketCAN
Replies: 1
Views: 5852

Re: Hardware Timestamps in Wireshark with SocketCAN

Hi,

If you're asking to get the so-called "hardware timestamp" from socket-CAN API, then the socket application has to set the corresponding socket option, something like:

int flags = SOF_TIMESTAMPING_SOFTWARE |
SOF_TIMESTAMPING_RX_SOFTWARE |
SOF_TIMESTAMPING_RAW_HARDWARE;
setsockopt(s, SOL ...
by S.Grosjean
Tue 18. Feb 2025, 11:07
Forum: Linux
Topic: Can't install PCAN-view on Ubuntu 24.04.2
Replies: 15
Views: 69033

Re: Can't install PCAN-view on Ubuntu 24.04.2

Hello,

The site's web page obviously contains an error: it lacks the name of the destination file for storing the public key on the local system:

it should read :

$ wget -q http://www.peak-system.com/debian/peak-system-public-key.asc -O- | sudo tee /etc/apt/trusted.gpg.d/peak-system-public-key ...
by S.Grosjean
Wed 18. Dec 2024, 13:26
Forum: Linux
Topic: SocketCAN hardware timestamps
Replies: 10
Views: 35598

Re: SocketCAN hardware timestamps

Hi,

Nope, nothing as changed in socket-CAN meanwhile. But, as already said, the PCAN driver in netdev mode now gives the same hw timestamps that the mainline drivers do. It's just a question of consistency between PEAK-System drivers.

Regards,
by S.Grosjean
Mon 16. Dec 2024, 11:22
Forum: Linux
Topic: SocketCAN hardware timestamps
Replies: 10
Views: 35598

Re: SocketCAN hardware timestamps

Hi Thomas,

The hardware timestamps provided by the netdev interface of the PCAN driver are actually the raw one which are read from the device, without any further processing next. This has been done in order to return back the same timestamps than those returned by the mainline socket CAN drivers ...
by S.Grosjean
Wed 11. Dec 2024, 12:10
Forum: Linux
Topic: SocketCAN hardware timestamps
Replies: 10
Views: 35598

Re: SocketCAN hardware timestamps

Hi,

As said, this old behavior is no more supported. On the other hand, if you'd like to get it back, and since the driver is open source, then you are able to change this by yourself. Please download (for ex) https://www.peak-system.com/fileadmin/media/linux/files/peak-linux-driver-8.10.2.tar.gz ...
by S.Grosjean
Tue 10. Dec 2024, 16:42
Forum: Linux
Topic: SocketCAN hardware timestamps
Replies: 10
Views: 35598

Re: SocketCAN hardware timestamps

Hello,

The hardware timestamps provided by the netdev interface of the PCAN driver are actually the raw one which are read from the device, without any further processing next. This has been done in order to return back the same timestamps than those returned by the mainline socket CAN drivers ...