Error controller problems. PCI module

This forum covers PCAN-Linux and Linux development issues concerning our products
Post Reply
cpaniagua
Posts: 1
Joined: Tue 4. Dec 2018, 17:17

Error controller problems. PCI module

Post by cpaniagua » Wed 5. Dec 2018, 08:33

Hello,

I'm using a PEAK-pci module to send data from my PC to another. I installed the last drivers (8.7) without problems. My PC recognizes the pci module but the problem comes when I try to send data through a socket can. I get the following error:
error.png
error.png (225.77 KiB) Viewed 2360 times
I compiled with NET=NETDEV_SUPPORT.

Could anybody help me?
Thanks in advance!

User avatar
S.Grosjean
Software Development
Software Development
Posts: 357
Joined: Wed 4. Jul 2012, 17:02

Re: Error controller problems. PCI module

Post by S.Grosjean » Wed 5. Dec 2018, 14:05

Hello,

We actually can't guess how the error frames are displayed by your software. Could you please explain what are the fields that are part of the [WARN] lines?

AFAIK these are CAN error frames (0x20000000). But you might understand that we can't guess what are the hexadecimal digits next to the # (id? dlc? data? in which order?)

Please redo "cat /proc/pcan" after the problem has occurred. Having last Status column value could also help us in the diagnostic.

Please do also "ip -s -d link show can0" to know the status of the interface seen by linux-can.

Finally, do also "dmesg | grep pcan" as well as "uname -a" please.

Regards,
— Stéphane

Post Reply