Hello Guys,
For a research project we want to write a Wireshark protocol interpreter and need to have access to accurate hardware timestamps. I've seen this but am not familiar with the inner workings of Wireshark. Do you have any idea how to get access to the stamp[2] value in Wireshark?
Cheers ...
Search found 26 matches
- Mon 17. Mar 2025, 21:12
- Forum: Linux
- Topic: Hardware Timestamps in Wireshark with SocketCAN
- Replies: 1
- Views: 9664
- Thu 9. Nov 2023, 11:41
- Forum: PCAN-MicroMod
- Topic: PCAN-MicroMod Digital 1 -- EDS->DBC file
- Replies: 5
- Views: 10198
Re: PCAN-MicroMod Digital 1 -- EDS->DBC file
Hello,
In CANopen Magic Professional and Ultimate you can assign EDS and DCF files to node IDs directly so no need to convert them to DBC. You can also generate DCF files to save node's configurations and load them later to restore that configuration. The tool can also load DBC files but this is ...
In CANopen Magic Professional and Ultimate you can assign EDS and DCF files to node IDs directly so no need to convert them to DBC. You can also generate DCF files to save node's configurations and load them later to restore that configuration. The tool can also load DBC files but this is ...
- Fri 19. Mar 2021, 16:54
- Forum: Linux
- Topic: netdev with PCAN-USB FD, wrong error frames
- Replies: 11
- Views: 16356
Re: netdev with PCAN-USB FD, wrong error frames
It seems that other drivers work differently when the ERROR_ACTIVE state is back and that this operation is not the one validated in the peak_usb driver. Can you recompile your 5.4.0-66 kernel? If so, please send an email to linux@peak-system.com and we will send you back a patch to apply to a ...
- Wed 17. Mar 2021, 16:46
- Forum: Linux
- Topic: netdev with PCAN-USB FD, wrong error frames
- Replies: 11
- Views: 16356
Re: netdev with PCAN-USB FD, wrong error frames
Another piece of information:
The Ubuntu with PCAN-USB FD runs kernel 5.4.0-66-generic.
The Raspberry Pi OS is kernel 5.10.11+.
So the Ubuntu is a few versions "behind". Not much but I don't know when the CAN_ERR_CRTL_ACTIVE status was added. Could that be it?
Cheers,
Chris
The Ubuntu with PCAN-USB FD runs kernel 5.4.0-66-generic.
The Raspberry Pi OS is kernel 5.10.11+.
So the Ubuntu is a few versions "behind". Not much but I don't know when the CAN_ERR_CRTL_ACTIVE status was added. Could that be it?
Cheers,
Chris
- Wed 17. Mar 2021, 16:38
- Forum: Linux
- Topic: netdev with PCAN-USB FD, wrong error frames
- Replies: 11
- Views: 16356
Re: netdev with PCAN-USB FD, wrong error frames
Could you please tell us what exactly is this other socket-can CANFD driver you run with the RPi?
Would be interesting to understand why two drivers don't work the same way when they should. We would like to compare them and if it turns out that there is indeed a difference, if necessary, report ...
- Wed 17. Mar 2021, 15:44
- Forum: Linux
- Topic: netdev with PCAN-USB FD, wrong error frames
- Replies: 11
- Views: 16356
Re: netdev with PCAN-USB FD, wrong error frames
AFAIK SocketCAN does not relay "Error-Active" to the application as it does not consider it as an error.
The message that inform the SocketCAN user of a bus state change is an "ERROR" message which also carries Rx and Tx error counters, as this isn't the case with "Error-Active" it is not relayed ...
- Fri 12. Mar 2021, 16:21
- Forum: Linux
- Topic: netdev with PCAN-USB FD, wrong error frames
- Replies: 11
- Views: 16356
Re: netdev with PCAN-USB FD, wrong error frames
Just a clarification: when you reconnect the PCAN-USB FD, your application is still periodically writing, right?
I mean: you disconnect the PCAN-USB FD. Then, the driver detects the disconnection and closes the CAN interface. Therefore, in my opinion, the CAN interface has first to be configured ...
- Fri 12. Mar 2021, 16:19
- Forum: Linux
- Topic: netdev with PCAN-USB FD, wrong error frames
- Replies: 11
- Views: 16356
Re: netdev with PCAN-USB FD, wrong error frames
Hello Marvin,
Thank you for your answer. That is an excellent explanation and I've just tried it. This is what I get when I pull the PCAN-USB FD off the bus, leaving the termination on :
Error (ID, data0-4): 0x00000004 0x00 0x08 0x00 0x00 0x00
Error (ID, data0-4): 0x00000004 0x00 0x20 0x00 0x00 ...
Thank you for your answer. That is an excellent explanation and I've just tried it. This is what I get when I pull the PCAN-USB FD off the bus, leaving the termination on :
Error (ID, data0-4): 0x00000004 0x00 0x08 0x00 0x00 0x00
Error (ID, data0-4): 0x00000004 0x00 0x20 0x00 0x00 ...
- Fri 5. Mar 2021, 15:14
- Forum: Linux
- Topic: netdev with PCAN-USB FD, wrong error frames
- Replies: 11
- Views: 16356
netdev with PCAN-USB FD, wrong error frames
Hi Guys,
I have a Ubuntu Linux (x64) kernel 5.4.0-66-generic with a PCAN-USB FD attached and configured it for CAN FD as follows:
ip link set can0 up type can bitrate 500000 sample-point 0.750 dbitrate 2000000 dsample-point 0.800 fd on
In my application it works well but the issue is how to get ...
I have a Ubuntu Linux (x64) kernel 5.4.0-66-generic with a PCAN-USB FD attached and configured it for CAN FD as follows:
ip link set can0 up type can bitrate 500000 sample-point 0.750 dbitrate 2000000 dsample-point 0.800 fd on
In my application it works well but the issue is how to get ...
- Thu 31. Oct 2019, 09:51
- Forum: Linux
- Topic: Latencies of socketCAN/netdev vs. chardev
- Replies: 1
- Views: 4457
Latencies of socketCAN/netdev vs. chardev
Hello,
There is old information about problems with message lag/latencies when using socketCAN/netdev, for example caused by dynamic memory allocation in the Linux networking stack. Is this still a problem? Do you see people choose the chardev driver over netdev for the purpose of getting better ...
There is old information about problems with message lag/latencies when using socketCAN/netdev, for example caused by dynamic memory allocation in the Linux networking stack. Is this still a problem? Do you see people choose the chardev driver over netdev for the purpose of getting better ...