Search found 1580 matches

by M.Maidhof
Wed 17. May 2023, 09:12
Forum: Software
Topic: The driver is not loaded
Replies: 3
Views: 191

Re: The driver is not loaded

Hi,

please tell us which PCAN PC hardware you are using. Please post a photo of the useed hardware showing the serial number of the device.

regards

Michael
by M.Maidhof
Tue 16. May 2023, 09:41
Forum: Linux
Topic: gcc error when try to make peak-linux-driver-8.16.0
Replies: 4
Views: 295

Re: gcc error when try to make peak-linux-driver-8.16.0

Hi,

do you like to use the SocketCAN driver or do you want to use the chardev interface? If you want to use the SocketCAN interface, there is no need to install our peak-linux-driver on that system. The kernel already has the driver for the PCAN-USB available as module.

regards

Michael
by M.Maidhof
Wed 10. May 2023, 14:08
Forum: PCAN-USB FD
Topic: What does "FB" in the "Type" column mean?
Replies: 2
Views: 83

Re: What does "FB" in the "Type" column mean?

Hi,

please see the CAN trace specification for more details: https://www.peak-system.com/produktcd/P ... Format.pdf

FB = CAN FD data frame with BRS bit set (Bit Rate Switch)

regards

Michael
by M.Maidhof
Wed 10. May 2023, 13:30
Forum: PCAN-USB
Topic: Receive queue was read too late
Replies: 3
Views: 145

Re: Receive queue was read too late

Hi,

which driver version is used (cat /proc/pcan)? Which PCANBasic API? Please check that you read the queue until you will get a PCAN_ERROR_QRCVEMPTY back.

regards

Michael
by M.Maidhof
Wed 10. May 2023, 09:41
Forum: Linux
Topic: gcc error when try to make peak-linux-driver-8.16.0
Replies: 4
Views: 295

Re: gcc error when try to make peak-linux-driver-8.16.0

Hello,

which PEAK hardware are you using? Please post a picture of the device. Please also post the output of uname -a

regards

Michael
by M.Maidhof
Tue 9. May 2023, 09:08
Forum: Linux
Topic: PCAN Driver for Linux -- Linux API -- Not able to read incoming messages
Replies: 16
Views: 669

Re: PCAN Driver for Linux -- Linux API -- Not able to read incoming messages

Hi,

but these are two different settings, one with data bitrate (CAN FD), one without (CAN 2.0). So which settings are you using (CAN FD or CAN 2.0)? Next, the specific settings for the data bitrate are still not visible, only the one from the nominal bitrate.

regards

Michael
by M.Maidhof
Mon 8. May 2023, 15:39
Forum: Linux
Topic: PCAN Driver for Linux -- Linux API -- Not able to read incoming messages
Replies: 16
Views: 669

Re: PCAN Driver for Linux -- Linux API -- Not able to read incoming messages

Hi,

please also post the settings of the data bitrate settings which are used in PCAN-View.

regards

Michael
by M.Maidhof
Fri 5. May 2023, 11:33
Forum: Linux
Topic: PCAN Driver for Linux -- Linux API -- Not able to read incoming messages
Replies: 16
Views: 669

Re: PCAN Driver for Linux -- Linux API -- Not able to read incoming messages

Hi,

I think it is related to the used bitrate settings. Please set nominal and data bitrate exactly to the same settings which are working with PCAN-View. Use OFD_BITRATE, OFD_DBITRATE and OFD_BRPTSEGSJW flags to be able to use the same settings.

regards

Michael
by M.Maidhof
Wed 3. May 2023, 11:01
Forum: Linux
Topic: PCAN Driver for Linux -- Linux API -- Not able to read incoming messages
Replies: 16
Views: 669

Re: PCAN Driver for Linux -- Linux API -- Not able to read incoming messages

Hi,

is your CAN bus cable terminated on both ends? Which exact bitrate settings are used in your CAN FD system on the other side?

regards

Michael
by M.Maidhof
Tue 2. May 2023, 10:28
Forum: PCAN-Basic
Topic: Java custom filter messages for 29bits (extended)
Replies: 1
Views: 108

Re: Java custom filter messages for 29bits (extended)

Hi, please see info in the PCANBasic help file, to understand how the filter mechanism is working, and why you will also see unwanted messages when opening a hugh 29bit range. The filter is working with a ACCcode and ACCmask register. If you open a range where all bits have to be set to "don't care"...